mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
Added Block.getRelative(BlockFace).
This commit is contained in:
parent
757fc26e4a
commit
101fffc82f
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue