Removed a load of un needed junk from other versions of Gtech

This commit is contained in:
gigabit101 2015-10-09 21:55:54 +01:00
parent 5a230b20a2
commit a8ea0f55e7
141 changed files with 139 additions and 2326 deletions

View file

@ -1,55 +0,0 @@
package techreborn.client.container;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.Slot;
import techreborn.client.SlotOutput;
import techreborn.tiles.TileAssemblingMachine;
public class ContainerAssemblingMachine extends ContainerCrafting {
EntityPlayer player;
TileAssemblingMachine tile;
@Override
public boolean canInteractWith(EntityPlayer player) {
return true;
}
public int tickTime;
public ContainerAssemblingMachine(TileAssemblingMachine tileAssemblingMachine,
EntityPlayer player) {
super(tileAssemblingMachine.crafter);
tile = tileAssemblingMachine;
this.player = player;
// input
this.addSlotToContainer(new Slot(tileAssemblingMachine.inventory, 0, 47, 17));
this.addSlotToContainer(new Slot(tileAssemblingMachine.inventory, 1, 65, 17));
// outputs
this.addSlotToContainer(new SlotOutput(tileAssemblingMachine.inventory, 2, 116, 35));
// power
this.addSlotToContainer(new Slot(tileAssemblingMachine.inventory, 3, 56, 53));
// upgrades
this.addSlotToContainer(new Slot(tileAssemblingMachine.inventory, 4, 152, 8));
this.addSlotToContainer(new Slot(tileAssemblingMachine.inventory, 5, 152, 26));
this.addSlotToContainer(new Slot(tileAssemblingMachine.inventory, 6, 152, 44));
this.addSlotToContainer(new Slot(tileAssemblingMachine.inventory, 7, 152, 62));
int i;
for (i = 0; i < 3; ++i) {
for (int j = 0; j < 9; ++j) {
this.addSlotToContainer(new Slot(player.inventory, j + i * 9
+ 9, 8 + j * 18, 84 + i * 18));
}
}
for (i = 0; i < 9; ++i) {
this.addSlotToContainer(new Slot(player.inventory, i, 8 + i * 18,
142));
}
}
}

View file

@ -1,54 +0,0 @@
package techreborn.client.container;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.Slot;
import techreborn.client.SlotOutput;
import techreborn.tiles.TileLathe;
public class ContainerLathe extends ContainerCrafting {
EntityPlayer player;
TileLathe tile;
@Override
public boolean canInteractWith(EntityPlayer player) {
return true;
}
public int tickTime;
public ContainerLathe(TileLathe tilelathe,
EntityPlayer player) {
super(tilelathe.crafter);
tile = tilelathe;
this.player = player;
// input
this.addSlotToContainer(new Slot(tilelathe.inventory, 0, 56, 17));
// outputs
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;
for (i = 0; i < 3; ++i) {
for (int j = 0; j < 9; ++j) {
this.addSlotToContainer(new Slot(player.inventory, j + i * 9
+ 9, 8 + j * 18, 84 + i * 18));
}
}
for (i = 0; i < 9; ++i) {
this.addSlotToContainer(new Slot(player.inventory, i, 8 + i * 18,
142));
}
}
}

View file

@ -1,54 +0,0 @@
package techreborn.client.container;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.Slot;
import techreborn.client.SlotOutput;
import techreborn.tiles.TilePlateCuttingMachine;
public class ContainerPlateCuttingMachine extends ContainerCrafting {
EntityPlayer player;
TilePlateCuttingMachine platecuttingmachine;
@Override
public boolean canInteractWith(EntityPlayer player) {
return true;
}
public int tickTime;
public ContainerPlateCuttingMachine(TilePlateCuttingMachine tileplatecuttingmachine,
EntityPlayer player) {
super(tileplatecuttingmachine.crafter);
platecuttingmachine = tileplatecuttingmachine;
this.player = player;
// input
this.addSlotToContainer(new Slot(tileplatecuttingmachine.inventory, 0, 56, 17));
// outputs
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;
for (i = 0; i < 3; ++i) {
for (int j = 0; j < 9; ++j) {
this.addSlotToContainer(new Slot(player.inventory, j + i * 9
+ 9, 8 + j * 18, 84 + i * 18));
}
}
for (i = 0; i < 9; ++i) {
this.addSlotToContainer(new Slot(player.inventory, i, 8 + i * 18,
142));
}
}
}