use of logisticspipes.logic.LogicController in project LogisticsPipes by RS485.
the class LogicControllerGuiProvider method getContainer.
@Override
public Container getContainer(EntityPlayer player) {
TileEntity pipe = this.getTile(player.getEntityWorld(), TileEntity.class);
if (pipe instanceof ILogicControllerTile) {
LogicController controller = ((ILogicControllerTile) pipe).getLogicController();
DummyContainer dummy = new DummyContainer(player.inventory, null);
dummy.addNormalSlotsForPlayerInventory(50, 190);
return dummy;
}
return null;
}
Aggregations