add block bounds to cable
This commit is contained in:
@@ -10,6 +10,10 @@ public class BlockCable extends BlockBase
|
||||
public BlockCable()
|
||||
{
|
||||
super("cable");
|
||||
|
||||
float pixel = 1F / 16F;
|
||||
|
||||
setBlockBounds(4 * pixel, 4 * pixel, 4 * pixel, 1 - 4 * pixel, 1 - 4 * pixel, 1 - 4 * pixel);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -42,6 +46,12 @@ public class BlockCable extends BlockBase
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isNormalCube()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isVisuallyOpaque()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user