GETID(<x>,<y>,<z>,[&idvar],[#datavar])
- Category
- Calculations
- Added in
- v0.8.6
- Permission
mod.macros.script.inventory.getid
Gets the ID and optionally the data value of the block at the specified coordinates in the world.
Returns the name of the block.
Example
GETID(0,32,0,&variant1)
&variant2 = GETID(0,32,0,,#data)