mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-16 05:41:08 +00:00
fix mushrooms on fabric
This commit is contained in:
@@ -11,7 +11,9 @@ public interface Block extends Handle {
|
||||
|
||||
BlockState getState();
|
||||
|
||||
Block getRelative(BlockFace face);
|
||||
default Block getRelative(BlockFace face) {
|
||||
return getRelative(face, 1);
|
||||
}
|
||||
|
||||
Block getRelative(BlockFace face, int len);
|
||||
|
||||
@@ -19,7 +21,9 @@ public interface Block extends Handle {
|
||||
|
||||
Location getLocation();
|
||||
|
||||
BlockType getType();
|
||||
default BlockType getType() {
|
||||
return getBlockData().getBlockType();
|
||||
}
|
||||
|
||||
int getX();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user