getHighestBlockAt

public abstract Block getHighestBlockAt(int x, int z)

Gets the highest non-empty block at the given coordinates

Return

Highest non-empty block

Parameters

x

X-coordinate of the block

z

Z-coordinate of the block


public abstract Block getHighestBlockAt(Location location)

Gets the highest non-empty block at the given coordinates

Return

Highest non-empty block

Parameters

location

Coordinates to get the highest block