Added Block.getRelative(BlockFace).

This commit is contained in:
sk89q
2011-01-15 19:33:39 -08:00
parent 68b8c805a6
commit 5650443aad

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
*