get Block
Gets the block at the given coordinates.
This method will return the following in specific cases:
If the given y coordinate is greater than the maximum height of this world, this will return the default state of Blocks.VOID_AIR.
If there is no chunk loaded at the given coordinates (getChunk was null), this will return the default state of Blocks.AIR.
Else it will return the block at the given coordinates.
Return
see above
Parameters
x
the X coordinate
y
the Y coordinate
z
the Z coordinate
Gets the block at the given position.
This method has semantics identical to that of getBlock with individual components (X, Y, and Z values).
Return
see above
Parameters
position
the position