Search in sources :

Example 1 with GuiOreDictItemSink

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

the class OreDictItemSinkModuleSlot method getClientGui.

@Override
public Object getClientGui(EntityPlayer player) {
    ModuleOreDictItemSink module = this.getLogisticsModule(player.getEntityWorld(), ModuleOreDictItemSink.class);
    if (module == null) {
        return null;
    }
    module.readFromNBT(getNbt());
    return new GuiOreDictItemSink(player.inventory, module);
}
Also used : GuiOreDictItemSink(logisticspipes.gui.modules.GuiOreDictItemSink) ModuleOreDictItemSink(logisticspipes.modules.ModuleOreDictItemSink)

Aggregations

GuiOreDictItemSink (logisticspipes.gui.modules.GuiOreDictItemSink)1 ModuleOreDictItemSink (logisticspipes.modules.ModuleOreDictItemSink)1