mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 21:59:05 +00:00
Short Lmap Bounds
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user