getBlockAt

public abstract Block getBlockAt(int x, int y, int z)

Gets the Block at the given coordinates

Return

Block at the given coordinates

Parameters

x

X-coordinate of the block

y

Y-coordinate of the block

z

Z-coordinate of the block

See also

getBlockTypeIdAt(int, int, int)

Returns the current type ID of the block


public abstract Block getBlockAt(Location location)

Gets the Block at the given Location

Return

Block at the given location

Parameters

location

Location of the block

See also

getBlockTypeIdAt(org.bukkit.Location)

Returns the current type ID of the block