1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-01-30 11:30:36 +01:00

Added Block.getRelative(BlockFace).

By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
Bukkit/Spigot 2011-01-15 19:33:39 -08:00
parent fdc7e20d71
commit a92c284ca1

View file

@ -57,6 +57,14 @@ public interface Block {
*/
Block getRelative(int modX, int modY, int modZ);
/**
* Gets the block at the given offsets
*
* @param face face
* @return Block at the given offsets
*/
Block getRelative(BlockFace face);
/**
* Gets the type of this block
*