Block next to
The block some steps away from a location on one side: above, below or along a compass direction.
A Minecraft element (a value) in World & blocks. Needs the Basic plan or higher to go live; building and testing are free.
Example
When a player moves to another block → Block next to Player location, down 1 → If it is air.
Also called
block above, block below, neighbor, adjacent, relative block
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What you give it
- From
- Blocks away
What it gives back
- Type
- Block
- Location
- Is air