make grid render in inventory
This commit is contained in:
@@ -98,9 +98,8 @@ public class ClientProxy extends CommonProxy
|
|||||||
|
|
||||||
mesher.register(StorageCraftItems.WIRELESS_GRID_PLATE, 0, new ModelResourceLocation("storagecraft:wireless_grid_plate", "inventory"));
|
mesher.register(StorageCraftItems.WIRELESS_GRID_PLATE, 0, new ModelResourceLocation("storagecraft:wireless_grid_plate", "inventory"));
|
||||||
|
|
||||||
ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(StorageCraftBlocks.GRID), 0, new ModelResourceLocation("storagecraft:grid", "inventory"));
|
|
||||||
// Blocks
|
// Blocks
|
||||||
//mesher.register(Item.getItemFromBlock(StorageCraftBlocks.GRID), 0, new ModelResourceLocation("storagecraft:grid", "inventory"));
|
mesher.register(Item.getItemFromBlock(StorageCraftBlocks.GRID), 0, new ModelResourceLocation("storagecraft:grid", "inventory"));
|
||||||
//mesher.register(Item.getItemFromBlock(StorageCraftBlocks.GRID), 1, new ModelResourceLocation("storagecraft:grid", "inventory"));
|
mesher.register(Item.getItemFromBlock(StorageCraftBlocks.GRID), 1, new ModelResourceLocation("storagecraft:grid", "inventory"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ public class CommonProxy
|
|||||||
GameRegistry.registerItem(StorageCraftItems.STORAGE_CELL, "storageCell");
|
GameRegistry.registerItem(StorageCraftItems.STORAGE_CELL, "storageCell");
|
||||||
GameRegistry.registerItem(StorageCraftItems.WIRELESS_GRID, "wirelessGrid");
|
GameRegistry.registerItem(StorageCraftItems.WIRELESS_GRID, "wirelessGrid");
|
||||||
GameRegistry.registerItem(StorageCraftItems.WIRELESS_GRID_PLATE, "wirelessGridPlate");
|
GameRegistry.registerItem(StorageCraftItems.WIRELESS_GRID_PLATE, "wirelessGridPlate");
|
||||||
GameRegistry.registerItem(StorageCraftItems.QUARTZ_ENRICHED_IRON, "storigiumIngot");
|
GameRegistry.registerItem(StorageCraftItems.QUARTZ_ENRICHED_IRON, "quartzEnrichedIron");
|
||||||
GameRegistry.registerItem(StorageCraftItems.CORE, "core");
|
GameRegistry.registerItem(StorageCraftItems.CORE, "core");
|
||||||
GameRegistry.registerItem(StorageCraftItems.SILICON, "silicon");
|
GameRegistry.registerItem(StorageCraftItems.SILICON, "silicon");
|
||||||
GameRegistry.registerItem(StorageCraftItems.PROCESSOR, "processor");
|
GameRegistry.registerItem(StorageCraftItems.PROCESSOR, "processor");
|
||||||
|
|||||||
@@ -9,6 +9,20 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"variants": {
|
"variants": {
|
||||||
|
"inventory": [
|
||||||
|
{
|
||||||
|
"textures": {
|
||||||
|
"front": "storagecraft:blocks/grid_disconnected"
|
||||||
|
},
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"textures": {
|
||||||
|
"front": "storagecraft:blocks/grid_disconnected"
|
||||||
|
},
|
||||||
|
"y": 0
|
||||||
|
}
|
||||||
|
],
|
||||||
"type": {
|
"type": {
|
||||||
"normal": {
|
"normal": {
|
||||||
},
|
},
|
||||||
@@ -47,15 +61,5 @@
|
|||||||
"x": 90
|
"x": 90
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"inventory": [
|
|
||||||
{
|
|
||||||
"textures": {
|
|
||||||
"side": "storagecraft:blocks/side",
|
|
||||||
"top": "storagecraft:blocks/side",
|
|
||||||
"front": "storagecraft:blocks/grid_disconnected"
|
|
||||||
},
|
|
||||||
"y": 270
|
|
||||||
}
|
}
|
||||||
]
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user