Short Lmap Bounds

This commit is contained in:
Kam committed 2025-02-15 17:26:59 -05:00
1 parent 114d9d0941
commit 1ca70be090
2 files changed
+12 -3

No files matched your search

@@ -33,6 +33,7 @@ public class BlockShortLamp extends BlockContainer {
public BlockShortLamp() {
super(Material.wood);
setLightLevel(1);
setBlockBounds(0.25f, 0, 0.25f, 0.75f, 1, 0.75f);
}
@Override
@@ -85,8 +86,7 @@ public class BlockShortLamp extends BlockContainer {
@Override
public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z) {
// Always one block tall.
setBlockBounds(0, 0, 0, 1, 1, 1);
setBlockBounds(0.25f, 0, 0.25f, 0.75f, 1, 0.75f);
}
@Override