类 StopSoundS2CPacket

    • 字段详细资料

      • CATEGORY_MASK

        private static final int CATEGORY_MASK
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Lsv;a:I
        intermediary field_33354 Lnet/minecraft/class_2770;field_33354:I
        named CATEGORY_MASK Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;CATEGORY_MASK:I
      • SOUND_ID_MASK

        private static final int SOUND_ID_MASK
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official b Lsv;b:I
        intermediary field_33355 Lnet/minecraft/class_2770;field_33355:I
        named SOUND_ID_MASK Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;SOUND_ID_MASK:I
      • soundId

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

        @Nullable
        private final @Nullable SoundCategory category
        Mappings:
        Namespace Name Mixin selector
        official d Lsv;d:Laex;
        intermediary field_12677 Lnet/minecraft/class_2770;field_12677:Lnet/minecraft/class_3419;
        named category Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;category:Lnet/minecraft/sound/SoundCategory;
    • 构造器详细资料

      • StopSoundS2CPacket

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

        public StopSoundS2CPacket​(PacketByteBuf buf)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lsv;<init>(Lob;)V
        intermediary <init> Lnet/minecraft/class_2770;<init>(Lnet/minecraft/class_2540;)V
        named <init> Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
    • 方法详细资料

      • write

        public void write​(PacketByteBuf buf)
        指定者:
        write 在接口中 Packet<ClientPlayPacketListener>
        Mappings:
        Namespace Name Mixin selector
        official a Lpf;a(Lob;)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
      • getSoundId

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

        @Nullable
        public @Nullable SoundCategory getCategory()
        Mappings:
        Namespace Name Mixin selector
        official c Lsv;c()Laex;
        intermediary method_11903 Lnet/minecraft/class_2770;method_11903()Lnet/minecraft/class_3419;
        named getCategory Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;getCategory()Lnet/minecraft/sound/SoundCategory;
      • apply

        public void apply​(ClientPlayPacketListener clientPlayPacketListener)
        指定者:
        apply 在接口中 Packet<ClientPlayPacketListener>
        Mappings:
        Namespace Name Mixin selector
        official a Lsv;a(Lpi;)V
        intermediary method_11905 Lnet/minecraft/class_2770;method_11905(Lnet/minecraft/class_2602;)V
        named apply Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V