public class GuiCardManager extends LogisticsBaseGuiScreen {
public GuiCardManager(EntityPlayer player) {
super(180, 180, 0, 0);
final CardManagmentInventory Cinv = new CardManagmentInventory();
DummyContainer dummy = new DummyContainer(player, Cinv, new IGuiOpenControler() {
@Override public void guiOpenedByPlayer(EntityPlayer player) {}
@Override
public void guiClosedByPlayer(EntityPlayer player) {
Cinv.close(player, (int)player.posX, (int)player.posY, (int)player.posZ);
}
});
dummy.addRestrictedSlot(0, Cinv, 21, 21, LogisticsPipes.ModuleItem);
dummy.addRestrictedSlot(1, Cinv, 61, 21, LogisticsPipes.ModuleItem);
dummy.addRestrictedSlot(2, Cinv, 41, 58, new ISlotCheck() {