Overview of the @minecraft/server module
mainThe @minecraft/server module provides the core API for manipulating a Minecraft world. It contains types and methods for interacting with fundamental world elements, including:
- Entities: Managing and interacting with living or non-living objects in the world.
- Blocks: Manipulating the physical composition of the world.
- Dimensions: Accessing and managing different world spaces (e.g., Overworld, Nether, End).
- World State: Accessing various properties and states of the active Minecraft world.
For complete API references and detailed documentation, refer to the official Microsoft Learn documentation.