World in @minecraft/server.
51 pages in @minecraft/server.
Classes
Section titled “Classes”
DimensionClassThe world's one dimension: Basalt has only the overworld.
StructureClassA structure: Manager ClassThe world's structures.
TickingAreaManager ClassTicking areas (force-loaded chunks).
WorldClass
.mcstructure files under the server's structures/, the world's, or ones made in memory.
StructureInterfaces
Section titled “Interfaces”
ChunkInfo InterfaceA chunk's state, by chunk coordinates.
DimensionLocation InterfaceA place in a dimension.
MoonPhase Enum
StructureMirrorAxis EnumHow a structure is mirrored as it's placed.
StructureRotation EnumHow a structure is turned as it's placed, clockwise seen from above.
StructureSaveMode EnumWhere Type EnumThe weather, as
StructureManager.createFromWorld keeps a structure.
WeatherDimension.getWeather gives it.
Options
Section titled “Options”
ExplosionOptions InterfaceOptions for CreateOptions InterfaceOptions for PlaceOptions InterfaceOptions for
Dimension.createExplosion.
StructureStructureManager.createFromWorld.
StructureStructureManager.place.
Typed only
Section titled “Typed only”Declared so plugins written against the full Mojang API type-check. Most are not backed by Basalt yet.
BiomeFilter Interface
BiomeSearchOptions Interface
BiomeType Class
BiomeTypes Class
CloneMode Enum
CustomTexture Interface
DifficultyEnum
DimensionRegistry Class
DimensionType Class
DimensionTypes Class
FogSettings Class
GameRule Enum
GameRules Class
JigsawPlaceOptions Interface
JigsawStructurePlaceOptions Interface
PrimitiveShape Class
PrimitiveShapeQueryOptions Interface
PrimitiveShapesManager Class
SoundDefinition Class
SoundDefinitionDurationInfo Interface
SoundDefinitionFilter Interface
SoundDefinitionMusicInfo Interface
SoundDefinitionRegistry Class
SoundDurationInfo Class
SoundInstance Class
StructureAnimationMode Enum
TextPrimitive Class
TickingArea Interface
TickingAreaOptions Interface
TimeMarker Class
TimeMarkerOptions Interface
TimeOfDay Enum
WorldClock Class
WorldClockRegistrationOptions Interface
WorldClockRegistry Class
WorldSoundOptions Interface