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

    • primaryEffectId

      private final Optional<StatusEffect> primaryEffectId
      Mappings:
      Namespace Name Mixin selector
      official a Laan;a:Ljava/util/Optional;
      intermediary field_13050 Lnet/minecraft/class_2866;field_13050:Ljava/util/Optional;
      named primaryEffectId Lnet/minecraft/network/packet/c2s/play/UpdateBeaconC2SPacket;primaryEffectId:Ljava/util/Optional;
    • secondaryEffectId

      private final Optional<StatusEffect> secondaryEffectId
      Mappings:
      Namespace Name Mixin selector
      official b Laan;b:Ljava/util/Optional;
      intermediary field_13049 Lnet/minecraft/class_2866;field_13049:Ljava/util/Optional;
      named secondaryEffectId Lnet/minecraft/network/packet/c2s/play/UpdateBeaconC2SPacket;secondaryEffectId:Ljava/util/Optional;
  • Constructor Details

    • UpdateBeaconC2SPacket

      public UpdateBeaconC2SPacket(Optional<StatusEffect> primaryEffectId, Optional<StatusEffect> secondaryEffectId)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laan;<init>(Ljava/util/Optional;Ljava/util/Optional;)V
      intermediary <init> Lnet/minecraft/class_2866;<init>(Ljava/util/Optional;Ljava/util/Optional;)V
      named <init> Lnet/minecraft/network/packet/c2s/play/UpdateBeaconC2SPacket;<init>(Ljava/util/Optional;Ljava/util/Optional;)V
    • UpdateBeaconC2SPacket

      public UpdateBeaconC2SPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laan;<init>(Lsf;)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 Luo;a(Lsf;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/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 Laan;a(Lzb;)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 Optional<StatusEffect> getPrimaryEffectId()
      Mappings:
      Namespace Name Mixin selector
      official a Laan;a()Ljava/util/Optional;
      intermediary method_12436 Lnet/minecraft/class_2866;method_12436()Ljava/util/Optional;
      named getPrimaryEffectId Lnet/minecraft/network/packet/c2s/play/UpdateBeaconC2SPacket;getPrimaryEffectId()Ljava/util/Optional;
    • getSecondaryEffectId

      public Optional<StatusEffect> getSecondaryEffectId()
      Mappings:
      Namespace Name Mixin selector
      official c Laan;c()Ljava/util/Optional;
      intermediary method_12435 Lnet/minecraft/class_2866;method_12435()Ljava/util/Optional;
      named getSecondaryEffectId Lnet/minecraft/network/packet/c2s/play/UpdateBeaconC2SPacket;getSecondaryEffectId()Ljava/util/Optional;