Class LogicProgrammerActivateElementPacket

java.lang.Object
org.cyclops.cyclopscore.network.PacketBase
org.cyclops.cyclopscore.network.PacketCodec
org.cyclops.integrateddynamics.network.packet.LogicProgrammerActivateElementPacket
All Implemented Interfaces:
net.minecraft.network.protocol.common.custom.CustomPacketPayload

public class LogicProgrammerActivateElementPacket extends org.cyclops.cyclopscore.network.PacketCodec
Packet for sending a button packet for the exalted crafting.
  • Nested Class Summary Link icon

    Nested classes/interfaces inherited from class org.cyclops.cyclopscore.network.PacketCodec Link icon

    org.cyclops.cyclopscore.network.PacketCodec.ICodecAction

    Nested classes/interfaces inherited from interface net.minecraft.network.protocol.common.custom.CustomPacketPayload Link icon

    net.minecraft.network.protocol.common.custom.CustomPacketPayload.FallbackProvider<B extends net.minecraft.network.FriendlyByteBuf>, net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<T extends net.minecraft.network.protocol.common.custom.CustomPacketPayload>, net.minecraft.network.protocol.common.custom.CustomPacketPayload.TypeAndCodec<B extends net.minecraft.network.FriendlyByteBuf,T extends net.minecraft.network.protocol.common.custom.CustomPacketPayload>
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,LogicProgrammerActivateElementPacket>
     
    static final net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<LogicProgrammerActivateElementPacket>
     

    Fields inherited from class org.cyclops.cyclopscore.network.PacketCodec Link icon

    fieldCache
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
     
    LogicProgrammerActivateElementPacket(net.minecraft.resources.ResourceLocation typeId, net.minecraft.resources.ResourceLocation elementId)
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    void
    actionClient(net.minecraft.world.level.Level world, net.minecraft.world.entity.player.Player player)
     
    void
    actionServer(net.minecraft.world.level.Level world, net.minecraft.server.level.ServerPlayer player)
     
    boolean
     

    Methods inherited from class org.cyclops.cyclopscore.network.PacketCodec Link icon

    decode, encode

    Methods inherited from class org.cyclops.cyclopscore.network.PacketBase Link icon

    getCodec, type, write

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.network.protocol.common.custom.CustomPacketPayload Link icon

    toVanillaClientbound, toVanillaServerbound
  • Field Details Link icon

  • Constructor Details Link icon

    • LogicProgrammerActivateElementPacket Link icon

      public LogicProgrammerActivateElementPacket()
    • LogicProgrammerActivateElementPacket Link icon

      public LogicProgrammerActivateElementPacket(net.minecraft.resources.ResourceLocation typeId, net.minecraft.resources.ResourceLocation elementId)
  • Method Details Link icon

    • isAsync Link icon

      public boolean isAsync()
      Specified by:
      isAsync in class org.cyclops.cyclopscore.network.PacketBase
    • actionClient Link icon

      public void actionClient(net.minecraft.world.level.Level world, net.minecraft.world.entity.player.Player player)
      Specified by:
      actionClient in class org.cyclops.cyclopscore.network.PacketBase
    • actionServer Link icon

      public void actionServer(net.minecraft.world.level.Level world, net.minecraft.server.level.ServerPlayer player)
      Specified by:
      actionServer in class org.cyclops.cyclopscore.network.PacketBase