Upgrade slots for more machines
This commit is contained in:
parent
ca98541d70
commit
ce4312a578
5 changed files with 12 additions and 3 deletions
|
@ -33,6 +33,11 @@ public class ContainerLathe extends TechRebornContainer {
|
||||||
this.addSlotToContainer(new SlotOutput(tilelathe.inventory, 1, 116, 35));
|
this.addSlotToContainer(new SlotOutput(tilelathe.inventory, 1, 116, 35));
|
||||||
// power
|
// power
|
||||||
this.addSlotToContainer(new Slot(tilelathe.inventory, 2, 56, 53));
|
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;
|
int i;
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,11 @@ public class ContainerPlateCuttingMachine extends TechRebornContainer {
|
||||||
this.addSlotToContainer(new SlotOutput(tileplatecuttingmachine.inventory, 1, 116, 35));
|
this.addSlotToContainer(new SlotOutput(tileplatecuttingmachine.inventory, 1, 116, 35));
|
||||||
// power
|
// power
|
||||||
this.addSlotToContainer(new Slot(tileplatecuttingmachine.inventory, 2, 56, 53));
|
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;
|
int i;
|
||||||
|
|
||||||
|
|
|
@ -233,7 +233,6 @@ public class ModRecipes {
|
||||||
// :( I cant do this
|
// :( I cant do this
|
||||||
// List<ItemStack> anyhammer = Arrays.asList(hammerIron, hammerDiamond);
|
// List<ItemStack> anyhammer = Arrays.asList(hammerIron, hammerDiamond);
|
||||||
|
|
||||||
|
|
||||||
GameRegistry.addShapelessRecipe(new ItemStack(ModItems.plate, 1, 13), hammerIron, new ItemStack(Items.iron_ingot));
|
GameRegistry.addShapelessRecipe(new ItemStack(ModItems.plate, 1, 13), hammerIron, new ItemStack(Items.iron_ingot));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,7 +17,7 @@ public class TileLathe extends TileMachineBase implements IWrenchable, IEnergyTi
|
||||||
|
|
||||||
public int tickTime;
|
public int tickTime;
|
||||||
public BasicSink energy;
|
public BasicSink energy;
|
||||||
public Inventory inventory = new Inventory(3, "TileLathe", 64);
|
public Inventory inventory = new Inventory(7, "TileLathe", 64);
|
||||||
public RecipeCrafter crafter;
|
public RecipeCrafter crafter;
|
||||||
|
|
||||||
public TileLathe()
|
public TileLathe()
|
||||||
|
|
|
@ -17,7 +17,7 @@ public class TilePlateCuttingMachine extends TileMachineBase implements IWrencha
|
||||||
|
|
||||||
public int tickTime;
|
public int tickTime;
|
||||||
public BasicSink energy;
|
public BasicSink energy;
|
||||||
public Inventory inventory = new Inventory(3, "TilePlateCuttingMachine", 64);
|
public Inventory inventory = new Inventory(7, "TilePlateCuttingMachine", 64);
|
||||||
public RecipeCrafter crafter;
|
public RecipeCrafter crafter;
|
||||||
|
|
||||||
public TilePlateCuttingMachine()
|
public TilePlateCuttingMachine()
|
||||||
|
|
Loading…
Add table
Reference in a new issue