package com.jack12324.eop.machine.activationChamber;

import com.jack12324.eop.machine.MachineContainer;
import com.jack12324.eop.machine.slot.SlotItemHandlerEOP;
import com.jack12324.eop.machine.slot.SlotOutput;
import com.jack12324.eop.machine.slot.SlotSpecific;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;

public class ContainerActivationChamber extends MachineContainer {

	private int[] cachedFields;
	private TileEntityActivationChamber activationChamber;

	public ContainerActivationChamber(InventoryPlayer playerInv, final TileEntityActivationChamber activationChamber) {
		this.activationChamber = activationChamber;

		addSlotToContainer(new SlotItemHandlerEOP(activationChamber.slots, 0, 26, 30) {
			@Override
			public void onSlotChanged() {
				activationChamber.markDirty();
			}
		});
		addSlotToContainer(new SlotSpecific(activationChamber.slots, 2, 80, 48, activationChamber.fuel) {
			@Override
			public void onSlotChanged() {
				activationChamber.markDirty();
			}
		});
		addSlotToContainer(new SlotOutput(activationChamber.slots, 1, 134, 30) {
			@Override
			public void onSlotChanged() {
				activationChamber.markDirty();
			}
		});

		this.addUpgradeSlots(activationChamber);
		this.addInventorySlots(playerInv);
	}

	@Override
	public boolean canInteractWith(EntityPlayer playerIn) {
		return activationChamber.isUsableByPlayer(playerIn);
	}

}

@@ -1215,16 +1215,18 @@
 %09%7D);%0A%0A%09%09
+//
 this.add

upgrade quick fix