2013-12-27 23:59:59 +01:00
|
|
|
package appeng.container.implementations;
|
|
|
|
|
|
|
|
import net.minecraft.entity.player.InventoryPlayer;
|
|
|
|
import appeng.container.AEBaseContainer;
|
|
|
|
import appeng.container.slot.SlotRestrictedInput;
|
|
|
|
import appeng.container.slot.SlotRestrictedInput.PlaceableItemType;
|
|
|
|
import appeng.tile.storage.TileChest;
|
|
|
|
|
|
|
|
public class ContainerChest extends AEBaseContainer
|
|
|
|
{
|
|
|
|
|
|
|
|
TileChest myte;
|
|
|
|
|
|
|
|
public ContainerChest(InventoryPlayer ip, TileChest te) {
|
2014-01-02 06:51:41 +01:00
|
|
|
super( ip, te, null );
|
2013-12-27 23:59:59 +01:00
|
|
|
myte = te;
|
|
|
|
|
2014-07-13 03:03:17 +02:00
|
|
|
addSlotToContainer( new SlotRestrictedInput( PlaceableItemType.STORAGE_CELLS, myte, 1, 80, 37, invPlayer ) );
|
2013-12-27 23:59:59 +01:00
|
|
|
|
|
|
|
bindPlayerInventory( ip, 0, 166 - /* height of playerinventory */82 );
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|