Positions
A position represents the coordinates of a single block in the world.
| Node | Output |
|---|---|
| Player position | The block coordinates at the player’s feet. |
| Offset position | A position shifted along the X, Y, and Z axes (Y is up). |
| Looked-at block | Block: the block the player is looking at, up to Distance blocks away. In front: the empty space adjacent to the targeted face. |
If the player is looking at open air, Looked-at block returns the point Distance blocks ahead.
You can also wire a Player or Entity output directly into any Position input to use the block coordinates at their feet, just like Player position.
Teleport and Spawn mob
If the target position is obstructed, the entity is placed one block lower or higher if there is room. If neither spot is clear, Teleport leaves the entity where it is.
When building a teleport staff, wire Looked-at block’s In front output rather than Block so the player lands beside the surface they aimed at instead of inside the block.
Set spawn point
Sets where the player respawns after dying in that dimension, without needing a bed. To set a player’s spawn point where they first enter the world, use When player joins with First join enabled and wire its Player output into Set spawn point’s Position input.
Break block
Area can break a single block, a 3x3 or 5x5 square oriented to the breaker’s view, or Connected blocks (the target block plus every matching block touching it, including diagonals, up to Up to blocks). Use Connected to build tree fellers and vein miners.
Unbreakable blocks like bedrock are skipped. When broken on behalf of a player, blocks only drop items if the player’s held tool can harvest them.
To build a 3x3 mining hammer, start from When block is broken filtered to #minecraft:mineable/pickaxe, check Is holding for the hammer, and run Break block with Area set to 3x3. The center block is broken by the event itself.
Fill area
Fill area fills a box with Block. Width runs along x and Length along z, centered on the position, and Height rises from it, up to 32 blocks each. To build a floor under a player, wire Offset position with a dy of -1 into Position.
Fill sets what goes inside the box’s outer layer: Solid fills it all, Hollow puts air inside (as /fill hollow does), and Outline leaves the inside as it is. Only replace air keeps the blocks already there. Set Block to air to clear the box.
Open or close
Opens, closes, or toggles a door, trapdoor, or fence gate at the target position (including both halves of a full door). Other blocks are unaffected.
Because When block is right-clicked cancels the default block interaction, any door listed in that event won’t open by hand. To build a locked door that requires a key, list the door in When block is right-clicked, check Is holding for the key item, and run Open or close set to Toggle.
Redstone power
Returns the redstone signal strength reaching the position, from 0 (unpowered) to 15 (next to a redstone block, active lever, or full-strength dust). Check > 0 to act when a block is powered. On Bedrock Edition, this checks the block itself and its six neighbors.
Light level
Returns the light level at the position, from 0 in total darkness to 15 under open sky. A torch emits 14, dropping by 1 for each block of distance. Set From to Sky and blocks to read whichever source is brighter, or Sky to ignore torches and other artificial light. Because sky light remains 15 outdoors at night, pair it with World is day when you need true daylight.
Biome is
Returns true when the position is inside one of the listed Biomes. Specify either a single biome tag (such as #minecraft:is_forest) or a comma-separated list of biome IDs (such as desert, badlands). On Bedrock Edition, biome tags match the corresponding biome category, so #minecraft:is_forest matches any forest.
Distance
Returns the straight-line distance in blocks between From and To, measured from block corner to block corner. When left unwired, From defaults to the event’s position. Compare the result to trigger effects within a radius, such as a beacon that heals players within 10 blocks.
Block is
Returns true if the block at the position (or any block within Within blocks of it) matches one of the listed Blocks. Setting Within to 0 checks only the block at that position; keep search radii small for good performance.
To make a block that buffs nearby players, use Every N ticks for blocks with For each nearby players, or check Block is around the player’s position.