BlockPos
This page goes over about the BlockPos object.
getPosition(): Vector3
getPosition(): Vector3
Returns the position of the blockpos.
getHardness(): Number
getHardness(): Number
Returns the hardness of the block at the blockpos, you can get the amount of ticks it will take to break the block by doing 1 / hardness.
getHardness(int slot): Number
getHardness(int slot): Number
Returns the hardness using the item in the slot id, read getHardness method description for more information.
getBlock(): Block
getBlock(): Block
Returns the block at the position.
Last updated