use of logisticspipes.gui.modules.GuiSneakyConfigurator in project LogisticsPipes by RS485.
the class SneakyModuleInSlotGuiProvider method getClientGui.
@Override
public Object getClientGui(EntityPlayer player) {
LogisticsModule module = this.getLogisticsModule(player.getEntityWorld(), LogisticsModule.class);
if (!(module instanceof SneakyDirection && module instanceof Gui)) {
return null;
}
((SneakyDirection) module).setSneakyDirection(sneakyOrientation);
return new GuiSneakyConfigurator(player.inventory, module);
}
Aggregations