Search in sources :

Example 16 with ModuleCrafter

use of logisticspipes.modules.ModuleCrafter in project LogisticsPipes by RS485.

the class CraftingPipeNextAdvancedSatellitePacket method processPacket.

@Override
public void processPacket(EntityPlayer player) {
    ModuleCrafter module = this.getLogisticsModule(player, ModuleCrafter.class);
    if (module == null) {
        return;
    }
    module.setNextSatellite(player, getInteger());
}
Also used : ModuleCrafter(logisticspipes.modules.ModuleCrafter)

Example 17 with ModuleCrafter

use of logisticspipes.modules.ModuleCrafter in project LogisticsPipes by RS485.

the class CPipeNextSatellite method processPacket.

@Override
public void processPacket(EntityPlayer player) {
    ModuleCrafter module = this.getLogisticsModule(player, ModuleCrafter.class);
    if (module == null) {
        return;
    }
    module.setNextSatellite(player);
}
Also used : ModuleCrafter(logisticspipes.modules.ModuleCrafter)

Example 18 with ModuleCrafter

use of logisticspipes.modules.ModuleCrafter in project LogisticsPipes by RS485.

the class CPipePrevSatellite method processPacket.

@Override
public void processPacket(EntityPlayer player) {
    ModuleCrafter module = this.getLogisticsModule(player, ModuleCrafter.class);
    if (module == null) {
        return;
    }
    module.setPrevSatellite(player);
}
Also used : ModuleCrafter(logisticspipes.modules.ModuleCrafter)

Example 19 with ModuleCrafter

use of logisticspipes.modules.ModuleCrafter in project LogisticsPipes by RS485.

the class CraftingPipeOpenConnectedGuiPacket method processPacket.

@Override
public void processPacket(EntityPlayer player) {
    ModuleCrafter module = this.getLogisticsModule(player, ModuleCrafter.class);
    if (module == null) {
        return;
    }
    module.openAttachedGui(player);
}
Also used : ModuleCrafter(logisticspipes.modules.ModuleCrafter)

Example 20 with ModuleCrafter

use of logisticspipes.modules.ModuleCrafter in project LogisticsPipes by RS485.

the class CraftingPipePriorityUpPacket method processPacket.

@Override
public void processPacket(EntityPlayer player) {
    ModuleCrafter module = this.getLogisticsModule(player, ModuleCrafter.class);
    if (module == null) {
        return;
    }
    module.priorityUp(player);
}
Also used : ModuleCrafter(logisticspipes.modules.ModuleCrafter)

Aggregations

ModuleCrafter (logisticspipes.modules.ModuleCrafter)22 PipeItemsCraftingLogistics (logisticspipes.pipes.PipeItemsCraftingLogistics)2 ItemIdentifierStack (logisticspipes.utils.item.ItemIdentifierStack)2 SideOnly (cpw.mods.fml.relauncher.SideOnly)1 ClientSideOnlyMethodContent (logisticspipes.asm.ClientSideOnlyMethodContent)1 GuiCraftingPipe (logisticspipes.gui.GuiCraftingPipe)1 DummyContainer (logisticspipes.utils.gui.DummyContainer)1 DummyModuleContainer (logisticspipes.utils.gui.DummyModuleContainer)1 FontRenderer (net.minecraft.client.gui.FontRenderer)1 Item (net.minecraft.item.Item)1 ItemStack (net.minecraft.item.ItemStack)1