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

24 lines
674 B
Java
Raw Normal View History

2014-02-04 05:27:49 +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.networking.TileWireless;
public class ContainerWireless extends AEBaseContainer
{
TileWireless myte;
public ContainerWireless(InventoryPlayer ip, TileWireless te) {
super( ip, te, null );
myte = te;
addSlotToContainer( new SlotRestrictedInput( PlaceableItemType.RANGE_BOOSTER, myte, 0, 80, 37, invPlayer ) );
2014-02-04 05:27:49 +01:00
bindPlayerInventory( ip, 0, 166 - /* height of playerinventory */82 );
}
}