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 wr
intermediary net/minecraft/class_2866
named net/minecraft/network/packet/c2s/play/UpdateBeaconC2SPacket
  • Field Details

    • primaryEffectId

      private final int primaryEffectId
      Mappings:
      Namespace Name Mixin selector
      official a Lwr;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 final int secondaryEffectId
      Mappings:
      Namespace Name Mixin selector
      official b Lwr;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(int primaryEffectId, int secondaryEffectId)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwr;<init>(II)V
      intermediary <init> Lnet/minecraft/class_2866;<init>(II)V
      named <init> Lnet/minecraft/network/packet/c2s/play/UpdateBeaconC2SPacket;<init>(II)V
    • UpdateBeaconC2SPacket

      public UpdateBeaconC2SPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwr;<init>(Lpy;)V
      intermediary <init> Lnet/minecraft/class_2866;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/c2s/play/UpdateBeaconC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lrc;a(Lpy;)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 Lwr;a(Lvi;)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 Lwr;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 Lwr;c()I
      intermediary method_12435 Lnet/minecraft/class_2866;method_12435()I
      named getSecondaryEffectId Lnet/minecraft/network/packet/c2s/play/UpdateBeaconC2SPacket;getSecondaryEffectId()I