2013-04-06 22:22:33 -07:00

31 lines
821 B
Java

package mods.tinker.tconstruct.container;
import java.util.ArrayList;
import java.util.List;
import mods.tinker.tconstruct.logic.SmelteryLogic;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.Slot;
public class ActiveContainer extends Container
{
public List<ActiveSlot> activeInventorySlots = new ArrayList<ActiveSlot>();
@Override
public boolean canInteractWith (EntityPlayer entityplayer)
{
return false;
}
protected ActiveSlot addDualSlotToContainer (ActiveSlot slot)
{
slot.activeSlotNumber = this.activeInventorySlots.size();
this.activeInventorySlots.add(slot);
this.addSlotToContainer(slot);
return slot;
}
}