Class StopSoundS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.StopSoundS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class StopSoundS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/play/StopSoundS2CPacket
intermediary net/minecraft/class_2770
official afk
  • Field Details

    • CODEC

      public static final PacketCodec<PacketByteBuf,StopSoundS2CPacket> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47999 Lnet/minecraft/class_2770;field_47999:Lnet/minecraft/class_9139;
      official a Lafk;a:Lys;
    • CATEGORY_MASK

      private static final int CATEGORY_MASK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named CATEGORY_MASK Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;CATEGORY_MASK:I
      intermediary field_33354 Lnet/minecraft/class_2770;field_33354:I
      official b Lafk;b:I
    • SOUND_ID_MASK

      private static final int SOUND_ID_MASK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SOUND_ID_MASK Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;SOUND_ID_MASK:I
      intermediary field_33355 Lnet/minecraft/class_2770;field_33355:I
      official c Lafk;c:I
    • soundId

      @Nullable private final @Nullable Identifier soundId
      Mappings:
      Namespace Name Mixin selector
      named soundId Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;soundId:Lnet/minecraft/util/Identifier;
      intermediary field_12676 Lnet/minecraft/class_2770;field_12676:Lnet/minecraft/class_2960;
      official d Lafk;d:Lakk;
    • category

      @Nullable private final @Nullable SoundCategory category
      Mappings:
      Namespace Name Mixin selector
      named category Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;category:Lnet/minecraft/sound/SoundCategory;
      intermediary field_12677 Lnet/minecraft/class_2770;field_12677:Lnet/minecraft/class_3419;
      official e Lafk;e:Lavi;
  • Constructor Details

    • StopSoundS2CPacket

      public StopSoundS2CPacket(@Nullable @Nullable Identifier soundId, @Nullable @Nullable SoundCategory category)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/sound/SoundCategory;)V
      intermediary <init> Lnet/minecraft/class_2770;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_3419;)V
      official <init> Lafk;<init>(Lakk;Lavi;)V
    • StopSoundS2CPacket

      private StopSoundS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2770;<init>(Lnet/minecraft/class_2540;)V
      official <init> Lafk;<init>(Lvr;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55944 Lnet/minecraft/class_2770;method_55944(Lnet/minecraft/class_2540;)V
      official a Lafk;a(Lvr;)V
    • getPacketId

      public PacketType<StopSoundS2CPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named getPacketId Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      official a Lzb;a()Lzd;
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_11905 Lnet/minecraft/class_2770;method_11905(Lnet/minecraft/class_2602;)V
      official a Lafk;a(Labn;)V
    • getSoundId

      @Nullable public @Nullable Identifier getSoundId()
      Mappings:
      Namespace Name Mixin selector
      named getSoundId Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;getSoundId()Lnet/minecraft/util/Identifier;
      intermediary method_11904 Lnet/minecraft/class_2770;method_11904()Lnet/minecraft/class_2960;
      official b Lafk;b()Lakk;
    • getCategory

      @Nullable public @Nullable SoundCategory getCategory()
      Mappings:
      Namespace Name Mixin selector
      named getCategory Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;getCategory()Lnet/minecraft/sound/SoundCategory;
      intermediary method_11903 Lnet/minecraft/class_2770;method_11903()Lnet/minecraft/class_3419;
      official e Lafk;e()Lavi;