Search in sources :

Example 1 with ModuleFluidSupplier

use of logisticspipes.modules.ModuleFluidSupplier in project LogisticsPipes by RS485.

the class FluidSupplierSlot method getContainer.

@Override
public DummyContainer getContainer(EntityPlayer player) {
    ModuleFluidSupplier module = this.getLogisticsModule(player.getEntityWorld(), ModuleFluidSupplier.class);
    DummyContainer dummy = new DummyContainer(player.inventory, module.getFilterInventory());
    dummy.addNormalSlotsForPlayerInventory(8, 60);
    // Pipe slots
    for (int pipeSlot = 0; pipeSlot < 9; pipeSlot++) {
        dummy.addDummySlot(pipeSlot, 8 + pipeSlot * 18, 18);
    }
    return dummy;
}
Also used : DummyContainer(logisticspipes.utils.gui.DummyContainer) ModuleFluidSupplier(logisticspipes.modules.ModuleFluidSupplier)

Aggregations

ModuleFluidSupplier (logisticspipes.modules.ModuleFluidSupplier)1 DummyContainer (logisticspipes.utils.gui.DummyContainer)1