Try and fix cable inv rendering

This commit is contained in:
modmuss50 2017-06-12 11:17:57 +01:00
parent 624d8fb93a
commit e0f63fd0c5
No known key found for this signature in database
GPG key ID: 203A5ED4D3E48BEA
3 changed files with 62 additions and 1 deletions

View file

@ -215,7 +215,7 @@ public class ModBlocks {
GameRegistry.registerTileEntity(TileCable.class, "TileCableTR");
Core.proxy.registerCustomBlockStateLocation(CABLE, "cable");
for (EnumCableType cableType : EnumCableType.values()) {
Core.proxy.registerSubBlockInventoryLocation(CABLE, cableType.ordinal(), "techreborn:cable", "inventory");//"type=" + cableType.getName().toLowerCase());
Core.proxy.registerSubBlockInventoryLocation(CABLE, cableType.ordinal(), "techreborn:cable", "type=inv_" + cableType.getName().toLowerCase());
}
MACHINE_CASINGS = new BlockMachineCasing(Material.ROCK);