Upgrade slots for more machines

This commit is contained in:
Gig 2015-05-17 19:45:12 +01:00
parent ca98541d70
commit ce4312a578
5 changed files with 12 additions and 3 deletions

View file

@ -33,6 +33,11 @@ public class ContainerLathe extends TechRebornContainer {
this.addSlotToContainer(new SlotOutput(tilelathe.inventory, 1, 116, 35));
// power
this.addSlotToContainer(new Slot(tilelathe.inventory, 2, 56, 53));
// upgrades
this.addSlotToContainer(new Slot(tilelathe.inventory, 3, 152, 8));
this.addSlotToContainer(new Slot(tilelathe.inventory, 4, 152, 26));
this.addSlotToContainer(new Slot(tilelathe.inventory, 5, 152, 44));
this.addSlotToContainer(new Slot(tilelathe.inventory, 6, 152, 62));
int i;

View file

@ -34,6 +34,11 @@ public class ContainerPlateCuttingMachine extends TechRebornContainer {
this.addSlotToContainer(new SlotOutput(tileplatecuttingmachine.inventory, 1, 116, 35));
// power
this.addSlotToContainer(new Slot(tileplatecuttingmachine.inventory, 2, 56, 53));
// upgrades
this.addSlotToContainer(new Slot(tileplatecuttingmachine.inventory, 3, 152, 8));
this.addSlotToContainer(new Slot(tileplatecuttingmachine.inventory, 4, 152, 26));
this.addSlotToContainer(new Slot(tileplatecuttingmachine.inventory, 5, 152, 44));
this.addSlotToContainer(new Slot(tileplatecuttingmachine.inventory, 6, 152, 62));
int i;

View file

@ -233,7 +233,6 @@ public class ModRecipes {
// :( I cant do this
// List<ItemStack> anyhammer = Arrays.asList(hammerIron, hammerDiamond);
GameRegistry.addShapelessRecipe(new ItemStack(ModItems.plate, 1, 13), hammerIron, new ItemStack(Items.iron_ingot));
}

View file

@ -17,7 +17,7 @@ public class TileLathe extends TileMachineBase implements IWrenchable, IEnergyTi
public int tickTime;
public BasicSink energy;
public Inventory inventory = new Inventory(3, "TileLathe", 64);
public Inventory inventory = new Inventory(7, "TileLathe", 64);
public RecipeCrafter crafter;
public TileLathe()

View file

@ -17,7 +17,7 @@ public class TilePlateCuttingMachine extends TileMachineBase implements IWrencha
public int tickTime;
public BasicSink energy;
public Inventory inventory = new Inventory(3, "TilePlateCuttingMachine", 64);
public Inventory inventory = new Inventory(7, "TilePlateCuttingMachine", 64);
public RecipeCrafter crafter;
public TilePlateCuttingMachine()