Fixes #217
This commit is contained in:
parent
c0ebf03f72
commit
25777b3f96
3 changed files with 67 additions and 3 deletions
|
@ -96,6 +96,11 @@ public class ModItems {
|
|||
GameRegistry.registerItem(parts, "part");
|
||||
cells = new ItemCells();
|
||||
GameRegistry.registerItem(cells, "cell");
|
||||
for (int i = 0; i < ItemCells.types.length; i++) {
|
||||
if(FluidRegistry.getFluid("fluid" + ItemCells.types[i].toLowerCase()) != null){
|
||||
FluidContainerRegistry.registerFluidContainer(FluidRegistry.getFluid("fluid" + ItemCells.types[i].toLowerCase()), ItemCells.getCellByName(ItemCells.types[i]));
|
||||
}
|
||||
}
|
||||
rockCutter = PoweredItem.createItem(ItemRockCutter.class);
|
||||
GameRegistry.registerItem(rockCutter, "rockCutter");
|
||||
lithiumBatpack = PoweredItem.createItem(ItemLithiumBatpack.class);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue