World X coordinate
World Y coordinate
World Z coordinate
Block type ID (0 = air)
Place or replace a block at a world position.
World X coordinate
World Y coordinate
World Z coordinate
Block type ID to place (0 = air, effectively removes the block)
Set a block and its metadata at a world position.
World X coordinate
World Y coordinate
World Z coordinate
Block type ID
Metadata value (block-specific, e.g. crop growth stage)
Get the metadata value for the block at a world position.
World X coordinate
World Y coordinate
World Z coordinate
Metadata value
Get the light level at a world position (0 = pitch black, 15 = full sunlight).
World X coordinate
World Y coordinate
World Z coordinate
Light level (0-15)
Get the biome name at a horizontal position.
World X coordinate
World Z coordinate
Biome name string
Check whether a block type is passable (entities can walk through it).
Block type ID
True if the block is passable
Check whether a block type is transparent (light passes through it).
Block type ID
True if the block is transparent
Get the light emission value of a block type.
Block type ID
Light emission level (0 = none, higher = brighter)
Fill a rectangular region with a single block type.
Start X coordinate
Start Y coordinate
Start Z coordinate
End X coordinate (inclusive)
End Y coordinate (inclusive)
End Z coordinate (inclusive)
Block type ID to fill with
Get the current render distance in chunks.
Render distance
Set the render distance in chunks (4-12 recommended).
Render distance in chunks
Get the world height in blocks.
World height
Get the block type at a world position.