public ContainerFactory(InventoryPlayer inventory, TileEntityFactory tentity)
{
tileEntity = tentity;
addSlotToContainer(new SlotMachineUpgrade(tentity, 0, 180, 11));
addSlotToContainer(new SlotDischarge(tentity, 1, 7, 13));
addSlotToContainer(new Slot(tentity, 2, 180, 75));
addSlotToContainer(new Slot(tentity, 3, 180, 112));
addSlotToContainer(new Slot(tentity, 4, 7, 57));
if(tileEntity.tier == FactoryTier.BASIC)