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 agf
  • 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 Lagf;a:Lzn;
    • 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 Lagf;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 Lagf;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 Lagf;d:Lalf;
    • 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 Lagf;e:Lawb;
  • 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> Lagf;<init>(Lalf;Lawb;)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> Lagf;<init>(Lwm;)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 Lagf;a(Lwm;)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 Lzw;a()Lzy;
    • 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 Lagf;a(Laci;)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 Lagf;b()Lalf;
    • 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 Lagf;e()Lawb;