Smeltery Fixes

This commit is contained in:
mDiyo committed 2013-04-06 22:22:33 -07:00
1 parent a2ae40c930
commit 41a0e80078
21 files changed
+1225 -272

No files matched your search

@@ -0,0 +1,30 @@
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;
}
}