More cable fixes.
This commit is contained in:
@@ -60,6 +60,12 @@ public class BlockCable extends BlockBase
|
|||||||
return new AxisAlignedBB(4 * pixel, 4 * pixel, 4 * pixel, 1 - 4 * pixel, 1 - 4 * pixel, 1 - 4 * pixel);
|
return new AxisAlignedBB(4 * pixel, 4 * pixel, 4 * pixel, 1 - 4 * pixel, 1 - 4 * pixel, 1 - 4 * pixel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public AxisAlignedBB getCollisionBoundingBox(IBlockState state, World world, BlockPos pos)
|
||||||
|
{
|
||||||
|
return getBoundingBox(state, world, pos);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean hasTileEntity(IBlockState state)
|
public boolean hasTileEntity(IBlockState state)
|
||||||
{
|
{
|
||||||
@@ -71,4 +77,10 @@ public class BlockCable extends BlockBase
|
|||||||
{
|
{
|
||||||
return new TileCable();
|
return new TileCable();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isOpaqueCube(IBlockState state)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,15 +2,17 @@
|
|||||||
"forge_marker": 1,
|
"forge_marker": 1,
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"all": "storagecraft:blocks/cable"
|
"all": "storagecraft:blocks/cable",
|
||||||
|
"particle": "storagecraft:blocks/cable"
|
||||||
},
|
},
|
||||||
"model": "storagecraft:cable_core",
|
"model": "storagecraft:cable_core",
|
||||||
"uvlock": true
|
"uvlock": true
|
||||||
},
|
},
|
||||||
"variants": {
|
"variants": {
|
||||||
"inventory": {
|
"inventory": [{
|
||||||
"model": "storagecraft:cable_inventory"
|
"model": "storagecraft:cable",
|
||||||
},
|
"transform": "forge:default-block"
|
||||||
|
}],
|
||||||
"north": {
|
"north": {
|
||||||
"true": {
|
"true": {
|
||||||
"submodel": "storagecraft:cable_north"
|
"submodel": "storagecraft:cable_north"
|
||||||
|
|||||||
Reference in New Issue
Block a user