Change gastank to non full cube.

Resolves: #4232
This commit is contained in:
Tom Elfring committed 2017-03-31 20:11:03 +02:00
1 parent 2b02042f4c
commit 00a107c599
1 file changed
+16 -1
@@ -42,7 +42,7 @@ import buildcraft.api.tools.IToolWrench;
public class BlockGasTank extends BlockContainer
{
private static final AxisAlignedBB TANK_BOUNDS = new AxisAlignedBB(0.2F, 0.0F, 0.2F, 0.8F, 1.0F, 0.8F);
private static final AxisAlignedBB TANK_BOUNDS = new AxisAlignedBB(0.1875F, 0.0F, 0.1875F, 0.8125F, 1.0F, 0.8125F);
public BlockGasTank()
{
@@ -367,4 +367,19 @@ public class BlockGasTank extends BlockContainer
return false;
}
@Override
public boolean isFullBlock(IBlockState state) {
return false;
}
@Override
public boolean isFullCube(IBlockState state) {
return false;
}
@Override
public boolean isBlockSolid(IBlockAccess worldIn, BlockPos pos, EnumFacing side) {
return false;
}
}