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 yy
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 Lyy;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 Lyy;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> optional, Optional<StatusEffect> optional2)
    • UpdateBeaconC2SPacket

      public UpdateBeaconC2SPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lyy;<init>(Lqx;)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 Ltc;a(Lqx;)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 Lyy;a(Lxm;)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 b Lyy;b()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 Lyy;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;