Search in sources :

Example 1 with GuiCraftingPipe

use of logisticspipes.gui.GuiCraftingPipe in project LogisticsPipes by RS485.

the class CPipeCleanupStatus method processPacket.

@Override
@ClientSideOnlyMethodContent
public void processPacket(EntityPlayer player) {
    final ModuleCrafter module = this.getLogisticsModule(player, ModuleCrafter.class);
    if (module == null) {
        return;
    }
    module.cleanupModeIsExclude = mode;
    if (Minecraft.getMinecraft().currentScreen instanceof GuiCraftingPipe) {
        ((GuiCraftingPipe) Minecraft.getMinecraft().currentScreen).onCleanupModeChange();
    }
}
Also used : GuiCraftingPipe(logisticspipes.gui.GuiCraftingPipe) ModuleCrafter(logisticspipes.modules.ModuleCrafter) ClientSideOnlyMethodContent(logisticspipes.asm.ClientSideOnlyMethodContent)

Aggregations

ClientSideOnlyMethodContent (logisticspipes.asm.ClientSideOnlyMethodContent)1 GuiCraftingPipe (logisticspipes.gui.GuiCraftingPipe)1 ModuleCrafter (logisticspipes.modules.ModuleCrafter)1