Search in sources :

Example 1 with GuiItemSink

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

the class ItemSinkSlot method getClientGui.

@Override
public Object getClientGui(EntityPlayer player) {
    ModuleItemSink module = this.getLogisticsModule(player.getEntityWorld(), ModuleItemSink.class);
    if (module == null) {
        return null;
    }
    module.setDefaultRoute(isDefaultRoute);
    module.setIgnoreData(ignoreData);
    module.setIgnoreNBT(ignoreNBT);
    return new GuiItemSink(player.inventory, module, hasFuzzyUpgrade);
}
Also used : ModuleItemSink(logisticspipes.modules.ModuleItemSink) GuiItemSink(logisticspipes.gui.modules.GuiItemSink)

Aggregations

GuiItemSink (logisticspipes.gui.modules.GuiItemSink)1 ModuleItemSink (logisticspipes.modules.ModuleItemSink)1