mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -07:00
@@ -57,6 +57,14 @@ public interface Block {
|
|||||||
*/
|
*/
|
||||||
Block getRelative(int modX, int modY, int modZ);
|
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
|
* Gets the type of this block
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user