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

    • primaryEffectId

      private final StatusEffect primaryEffectId
      Mappings:
      Namespace Name Mixin selector
      official a Lxc;a:Layj;
      intermediary field_13050 Lnet/minecraft/class_2866;field_13050:Lnet/minecraft/class_1291;
      named primaryEffectId Lnet/minecraft/network/packet/c2s/play/UpdateBeaconC2SPacket;primaryEffectId:Lnet/minecraft/entity/effect/StatusEffect;
    • secondaryEffectId

      private final StatusEffect secondaryEffectId
      Mappings:
      Namespace Name Mixin selector
      official b Lxc;b:Layj;
      intermediary field_13049 Lnet/minecraft/class_2866;field_13049:Lnet/minecraft/class_1291;
      named secondaryEffectId Lnet/minecraft/network/packet/c2s/play/UpdateBeaconC2SPacket;secondaryEffectId:Lnet/minecraft/entity/effect/StatusEffect;
  • Constructor Details

    • UpdateBeaconC2SPacket

      public UpdateBeaconC2SPacket(StatusEffect statusEffect, StatusEffect statusEffect2)
    • UpdateBeaconC2SPacket

      public UpdateBeaconC2SPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxc;<init>(Lql;)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 Lrp;a(Lql;)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 Lxc;a(Lvt;)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 StatusEffect getPrimaryEffectId()
      Mappings:
      Namespace Name Mixin selector
      official b Lxc;b()Layj;
      intermediary method_12436 Lnet/minecraft/class_2866;method_12436()Lnet/minecraft/class_1291;
      named getPrimaryEffectId Lnet/minecraft/network/packet/c2s/play/UpdateBeaconC2SPacket;getPrimaryEffectId()Lnet/minecraft/entity/effect/StatusEffect;
    • getSecondaryEffectId

      public StatusEffect getSecondaryEffectId()
      Mappings:
      Namespace Name Mixin selector
      official c Lxc;c()Layj;
      intermediary method_12435 Lnet/minecraft/class_2866;method_12435()Lnet/minecraft/class_1291;
      named getSecondaryEffectId Lnet/minecraft/network/packet/c2s/play/UpdateBeaconC2SPacket;getSecondaryEffectId()Lnet/minecraft/entity/effect/StatusEffect;