Search in sources :

Example 1 with LogisticsPowerJunctionTileEntity

use of logisticspipes.blocks.powertile.LogisticsPowerJunctionTileEntity in project LogisticsPipes by RS485.

the class PowerJunctionGui method getContainer.

@Override
public DummyContainer getContainer(EntityPlayer player) {
    LogisticsPowerJunctionTileEntity tile = this.getTile(player.getEntityWorld(), LogisticsPowerJunctionTileEntity.class);
    if (tile == null) {
        return null;
    }
    DummyContainer dummy = new DummyContainer(player, null, tile);
    dummy.addNormalSlotsForPlayerInventory(8, 80);
    return dummy;
}
Also used : DummyContainer(logisticspipes.utils.gui.DummyContainer) LogisticsPowerJunctionTileEntity(logisticspipes.blocks.powertile.LogisticsPowerJunctionTileEntity)

Aggregations

LogisticsPowerJunctionTileEntity (logisticspipes.blocks.powertile.LogisticsPowerJunctionTileEntity)1 DummyContainer (logisticspipes.utils.gui.DummyContainer)1