Search in sources :

Example 1 with GuiAdvancedExtractor

use of logisticspipes.gui.modules.GuiAdvancedExtractor in project LogisticsPipes by RS485.

the class AdvancedExtractorModuleSlot method getClientGui.

@Override
public Object getClientGui(EntityPlayer player) {
    AsyncAdvancedExtractor module = this.getLogisticsModule(player.getEntityWorld(), AsyncAdvancedExtractor.class);
    if (module == null) {
        return null;
    }
    module.getItemsIncluded().setValue(areItemsIncluded);
    return new GuiAdvancedExtractor(player.inventory, module);
}
Also used : AsyncAdvancedExtractor(network.rs485.logisticspipes.module.AsyncAdvancedExtractor) GuiAdvancedExtractor(logisticspipes.gui.modules.GuiAdvancedExtractor)

Aggregations

GuiAdvancedExtractor (logisticspipes.gui.modules.GuiAdvancedExtractor)1 AsyncAdvancedExtractor (network.rs485.logisticspipes.module.AsyncAdvancedExtractor)1