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;
}
Aggregations