Class UpdateBeaconC2SPacket

java.lang.Object
net.minecraft.network.packet.c2s.play.UpdateBeaconC2SPacket
All Implemented Interfaces:
Packet<ServerPlayPacketListener>

public class UpdateBeaconC2SPacket
extends Object
implements Packet<ServerPlayPacketListener>
Mappings:
Namespace Name
official ua
intermediary net/minecraft/class_2866
named net/minecraft/network/packet/c2s/play/UpdateBeaconC2SPacket
  • Field Details

    • primaryEffectId

      private int primaryEffectId
      Mappings:
      Namespace Name Mixin selector
      official a Lua;a:I
      intermediary field_13050 Lnet/minecraft/class_2866;field_13050:I
      named primaryEffectId Lnet/minecraft/network/packet/c2s/play/UpdateBeaconC2SPacket;primaryEffectId:I
    • secondaryEffectId

      private int secondaryEffectId
      Mappings:
      Namespace Name Mixin selector
      official b Lua;b:I
      intermediary field_13049 Lnet/minecraft/class_2866;field_13049:I
      named secondaryEffectId Lnet/minecraft/network/packet/c2s/play/UpdateBeaconC2SPacket;secondaryEffectId:I
  • Constructor Details

    • UpdateBeaconC2SPacket

      public UpdateBeaconC2SPacket()
    • UpdateBeaconC2SPacket

      @Environment(CLIENT) public UpdateBeaconC2SPacket​(int primaryEffectId, int secondaryEffectId)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lua;<init>(II)V
      intermediary <init> Lnet/minecraft/class_2866;<init>(II)V
      named <init> Lnet/minecraft/network/packet/c2s/play/UpdateBeaconC2SPacket;<init>(II)V
  • Method Details

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ServerPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lpa;a(Lnw;)V
      intermediary method_11053 Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
    • write

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ServerPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lpa;b(Lnw;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

      public void apply​(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lua;a(Lss;)V
      intermediary method_12434 Lnet/minecraft/class_2866;method_12434(Lnet/minecraft/class_2792;)V
      named apply Lnet/minecraft/network/packet/c2s/play/UpdateBeaconC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
    • getPrimaryEffectId

      public int getPrimaryEffectId()
      Mappings:
      Namespace Name Mixin selector
      official b Lua;b()I
      intermediary method_12436 Lnet/minecraft/class_2866;method_12436()I
      named getPrimaryEffectId Lnet/minecraft/network/packet/c2s/play/UpdateBeaconC2SPacket;getPrimaryEffectId()I
    • getSecondaryEffectId

      public int getSecondaryEffectId()
      Mappings:
      Namespace Name Mixin selector
      official c Lua;c()I
      intermediary method_12435 Lnet/minecraft/class_2866;method_12435()I
      named getSecondaryEffectId Lnet/minecraft/network/packet/c2s/play/UpdateBeaconC2SPacket;getSecondaryEffectId()I