Applied-Energistics-2-tiler.../container/implementations/ContainerQNB.java

24 lines
715 B
Java
Raw Normal View History

2014-01-20 17:41:37 +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.qnb.TileQuantumBridge;
public class ContainerQNB extends AEBaseContainer
{
TileQuantumBridge myte;
public ContainerQNB(InventoryPlayer ip, TileQuantumBridge te) {
super( ip, te, null );
myte = te;
addSlotToContainer( (new SlotRestrictedInput( PlaceableItemType.QE_SINGULARTIY, te, 0, 80, 37, invPlayer )).setStackLimit( 1 ) );
2014-01-20 17:41:37 +01:00
bindPlayerInventory( ip, 0, 166 - /* height of playerinventory */82 );
}
}