use of logisticspipes.gui.modules.GuiStringBasedItemSink in project LogisticsPipes by RS485.
the class StringBasedItemSinkModuleGuiSlot method getClientGui.
@Override
public Object getClientGui(EntityPlayer player) {
IStringBasedModule module = this.getLogisticsModule(player.getEntityWorld(), IStringBasedModule.class);
if (module == null) {
return null;
}
module.readFromNBT(getNbt());
return new GuiStringBasedItemSink(player.inventory, module);
}
Aggregations