Search in sources :

Example 1 with GuiExtractor

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

the class ExtractorModuleSlot method getClientGui.

@Override
public Object getClientGui(EntityPlayer player) {
    LogisticsSneakyDirectionModule module = this.getLogisticsModule(player.getEntityWorld(), LogisticsSneakyDirectionModule.class);
    if (module == null) {
        return null;
    }
    module.setSneakyDirection(sneakyOrientation);
    return new GuiExtractor(player.inventory, module);
}
Also used : GuiExtractor(logisticspipes.gui.modules.GuiExtractor) LogisticsSneakyDirectionModule(logisticspipes.modules.abstractmodules.LogisticsSneakyDirectionModule)

Aggregations

GuiExtractor (logisticspipes.gui.modules.GuiExtractor)1 LogisticsSneakyDirectionModule (logisticspipes.modules.abstractmodules.LogisticsSneakyDirectionModule)1