Search in sources :

Example 1 with GuiThaumicAspectSink

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

the class ThaumicAspectSinkModuleSlot method getClientGui.

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

Aggregations

GuiThaumicAspectSink (logisticspipes.gui.modules.GuiThaumicAspectSink)1 ModuleThaumicAspectSink (logisticspipes.modules.ModuleThaumicAspectSink)1