类 PlaySoundIdS2CPacket

    • 字段详细资料

      • COORDINATE_SCALE

        public static final float COORDINATE_SCALE
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Lqi;a:F
        intermediary field_33327 Lnet/minecraft/class_2660;field_33327:F
        named COORDINATE_SCALE Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;COORDINATE_SCALE:F
      • id

        private final Identifier id
        Mappings:
        Namespace Name Mixin selector
        official b Lqi;b:Lwp;
        intermediary field_12170 Lnet/minecraft/class_2660;field_12170:Lnet/minecraft/class_2960;
        named id Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;id:Lnet/minecraft/util/Identifier;
      • category

        private final SoundCategory category
        Mappings:
        Namespace Name Mixin selector
        official c Lqi;c:Laex;
        intermediary field_12171 Lnet/minecraft/class_2660;field_12171:Lnet/minecraft/class_3419;
        named category Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;category:Lnet/minecraft/sound/SoundCategory;
      • fixedX

        private final int fixedX
        Mappings:
        Namespace Name Mixin selector
        official d Lqi;d:I
        intermediary field_12169 Lnet/minecraft/class_2660;field_12169:I
        named fixedX Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;fixedX:I
      • fixedY

        private final int fixedY
        Mappings:
        Namespace Name Mixin selector
        official e Lqi;e:I
        intermediary field_12168 Lnet/minecraft/class_2660;field_12168:I
        named fixedY Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;fixedY:I
      • fixedZ

        private final int fixedZ
        Mappings:
        Namespace Name Mixin selector
        official f Lqi;f:I
        intermediary field_12167 Lnet/minecraft/class_2660;field_12167:I
        named fixedZ Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;fixedZ:I
      • volume

        private final float volume
        Mappings:
        Namespace Name Mixin selector
        official g Lqi;g:F
        intermediary field_12166 Lnet/minecraft/class_2660;field_12166:F
        named volume Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;volume:F
      • pitch

        private final float pitch
        Mappings:
        Namespace Name Mixin selector
        official h Lqi;h:F
        intermediary field_12172 Lnet/minecraft/class_2660;field_12172:F
        named pitch Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;pitch:F
    • 构造器详细资料

      • PlaySoundIdS2CPacket

        public PlaySoundIdS2CPacket​(Identifier sound,
                                    SoundCategory category,
                                    Vec3d pos,
                                    float volume,
                                    float pitch)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lqi;<init>(Lwp;Laex;Ldma;FF)V
        intermediary <init> Lnet/minecraft/class_2660;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_3419;Lnet/minecraft/class_243;FF)V
        named <init> Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/sound/SoundCategory;Lnet/minecraft/util/math/Vec3d;FF)V
      • PlaySoundIdS2CPacket

        public PlaySoundIdS2CPacket​(PacketByteBuf buf)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lqi;<init>(Lob;)V
        intermediary <init> Lnet/minecraft/class_2660;<init>(Lnet/minecraft/class_2540;)V
        named <init> Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;<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

        public Identifier getSoundId()
        Mappings:
        Namespace Name Mixin selector
        official b Lqi;b()Lwp;
        intermediary method_11460 Lnet/minecraft/class_2660;method_11460()Lnet/minecraft/class_2960;
        named getSoundId Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getSoundId()Lnet/minecraft/util/Identifier;
      • getCategory

        public SoundCategory getCategory()
        Mappings:
        Namespace Name Mixin selector
        official c Lqi;c()Laex;
        intermediary method_11459 Lnet/minecraft/class_2660;method_11459()Lnet/minecraft/class_3419;
        named getCategory Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getCategory()Lnet/minecraft/sound/SoundCategory;
      • getX

        public double getX()
        Mappings:
        Namespace Name Mixin selector
        official d Lqi;d()D
        intermediary method_11462 Lnet/minecraft/class_2660;method_11462()D
        named getX Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getX()D
      • getY

        public double getY()
        Mappings:
        Namespace Name Mixin selector
        official e Lqi;e()D
        intermediary method_11461 Lnet/minecraft/class_2660;method_11461()D
        named getY Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getY()D
      • getZ

        public double getZ()
        Mappings:
        Namespace Name Mixin selector
        official f Lqi;f()D
        intermediary method_11465 Lnet/minecraft/class_2660;method_11465()D
        named getZ Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getZ()D
      • getVolume

        public float getVolume()
        Mappings:
        Namespace Name Mixin selector
        official g Lqi;g()F
        intermediary method_11463 Lnet/minecraft/class_2660;method_11463()F
        named getVolume Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getVolume()F
      • getPitch

        public float getPitch()
        Mappings:
        Namespace Name Mixin selector
        official h Lqi;h()F
        intermediary method_11464 Lnet/minecraft/class_2660;method_11464()F
        named getPitch Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getPitch()F
      • apply

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