getBlockAt

fun getBlockAt(x: Number, y: Number, z: Number): Block

Gets the Block at a location in the world.

Return

the Block at the location

Parameters

x

the x position

y

the y position

z

the z position


fun getBlockAt(pos: BlockPos): Block

Gets the Block at a location in the world.

Return

the Block at the location

Parameters

pos

The block position