getHighestBlockYAt

public abstract int getHighestBlockYAt(int x, int z)

Gets the highest non-air coordinate at the given coordinates

Return

Y-coordinate of the highest non-air block

Parameters

x

X-coordinate of the blocks

z

Z-coordinate of the blocks


public abstract int getHighestBlockYAt(Location location)

Gets the highest non-air coordinate at the given Location

Return

Y-coordinate of the highest non-air block

Parameters

location

Location of the blocks