类 Sound

    • 字段详细资料

      • id

        private final Identifier id
        Mappings:
        Namespace Name Mixin selector
        official a Leyr;a:Lwp;
        intermediary field_5469 Lnet/minecraft/class_1111;field_5469:Lnet/minecraft/class_2960;
        named id Lnet/minecraft/client/sound/Sound;id:Lnet/minecraft/util/Identifier;
      • volume

        private final float volume
        Mappings:
        Namespace Name Mixin selector
        official b Leyr;b:F
        intermediary field_5466 Lnet/minecraft/class_1111;field_5466:F
        named volume Lnet/minecraft/client/sound/Sound;volume:F
      • pitch

        private final float pitch
        Mappings:
        Namespace Name Mixin selector
        official c Leyr;c:F
        intermediary field_5464 Lnet/minecraft/class_1111;field_5464:F
        named pitch Lnet/minecraft/client/sound/Sound;pitch:F
      • weight

        private final int weight
        Mappings:
        Namespace Name Mixin selector
        official d Leyr;d:I
        intermediary field_5468 Lnet/minecraft/class_1111;field_5468:I
        named weight Lnet/minecraft/client/sound/Sound;weight:I
      • registrationType

        private final Sound.RegistrationType registrationType
        Mappings:
        Namespace Name Mixin selector
        official e Leyr;e:Leyr$a;
        intermediary field_5470 Lnet/minecraft/class_1111;field_5470:Lnet/minecraft/class_1111$class_1112;
        named registrationType Lnet/minecraft/client/sound/Sound;registrationType:Lnet/minecraft/client/sound/Sound$RegistrationType;
      • stream

        private final boolean stream
        Mappings:
        Namespace Name Mixin selector
        official f Leyr;f:Z
        intermediary field_5467 Lnet/minecraft/class_1111;field_5467:Z
        named stream Lnet/minecraft/client/sound/Sound;stream:Z
      • preload

        private final boolean preload
        Mappings:
        Namespace Name Mixin selector
        official g Leyr;g:Z
        intermediary field_5465 Lnet/minecraft/class_1111;field_5465:Z
        named preload Lnet/minecraft/client/sound/Sound;preload:Z
      • attenuation

        private final int attenuation
        Mappings:
        Namespace Name Mixin selector
        official h Leyr;h:I
        intermediary field_5463 Lnet/minecraft/class_1111;field_5463:I
        named attenuation Lnet/minecraft/client/sound/Sound;attenuation:I
    • 构造器详细资料

      • Sound

        public Sound​(String id,
                     float volume,
                     float pitch,
                     int weight,
                     Sound.RegistrationType registrationType,
                     boolean stream,
                     boolean preload,
                     int attenuation)
        Mappings:
        Namespace Name Mixin selector
        official <init> Leyr;<init>(Ljava/lang/String;FFILeyr$a;ZZI)V
        intermediary <init> Lnet/minecraft/class_1111;<init>(Ljava/lang/String;FFILnet/minecraft/class_1111$class_1112;ZZI)V
        named <init> Lnet/minecraft/client/sound/Sound;<init>(Ljava/lang/String;FFILnet/minecraft/client/sound/Sound$RegistrationType;ZZI)V
    • 方法详细资料

      • getIdentifier

        public Identifier getIdentifier()
        Mappings:
        Namespace Name Mixin selector
        official a Leyr;a()Lwp;
        intermediary method_4767 Lnet/minecraft/class_1111;method_4767()Lnet/minecraft/class_2960;
        named getIdentifier Lnet/minecraft/client/sound/Sound;getIdentifier()Lnet/minecraft/util/Identifier;
      • getLocation

        public Identifier getLocation()
        Mappings:
        Namespace Name Mixin selector
        official b Leyr;b()Lwp;
        intermediary method_4766 Lnet/minecraft/class_1111;method_4766()Lnet/minecraft/class_2960;
        named getLocation Lnet/minecraft/client/sound/Sound;getLocation()Lnet/minecraft/util/Identifier;
      • getVolume

        public float getVolume()
        Mappings:
        Namespace Name Mixin selector
        official c Leyr;c()F
        intermediary method_4771 Lnet/minecraft/class_1111;method_4771()F
        named getVolume Lnet/minecraft/client/sound/Sound;getVolume()F
      • getPitch

        public float getPitch()
        Mappings:
        Namespace Name Mixin selector
        official d Leyr;d()F
        intermediary method_4772 Lnet/minecraft/class_1111;method_4772()F
        named getPitch Lnet/minecraft/client/sound/Sound;getPitch()F
      • getWeight

        public int getWeight()
        指定者:
        getWeight 在接口中 SoundContainer<Sound>
        Mappings:
        Namespace Name Mixin selector
        official e Lezw;e()I
        intermediary method_4894 Lnet/minecraft/class_1148;method_4894()I
        named getWeight Lnet/minecraft/client/sound/SoundContainer;getWeight()I
      • getSound

        public Sound getSound()
        指定者:
        getSound 在接口中 SoundContainer<Sound>
        Mappings:
        Namespace Name Mixin selector
        official f Leyr;f()Leyr;
        intermediary method_4765 Lnet/minecraft/class_1111;method_4765()Lnet/minecraft/class_1111;
        named getSound Lnet/minecraft/client/sound/Sound;getSound()Lnet/minecraft/client/sound/Sound;
      • preload

        public void preload​(SoundSystem soundSystem)
        指定者:
        preload 在接口中 SoundContainer<Sound>
        Mappings:
        Namespace Name Mixin selector
        official a Lezw;a(Lezr;)V
        intermediary method_18188 Lnet/minecraft/class_1148;method_18188(Lnet/minecraft/class_1140;)V
        named preload Lnet/minecraft/client/sound/SoundContainer;preload(Lnet/minecraft/client/sound/SoundSystem;)V
      • getRegistrationType

        public Sound.RegistrationType getRegistrationType()
        Mappings:
        Namespace Name Mixin selector
        official g Leyr;g()Leyr$a;
        intermediary method_4768 Lnet/minecraft/class_1111;method_4768()Lnet/minecraft/class_1111$class_1112;
        named getRegistrationType Lnet/minecraft/client/sound/Sound;getRegistrationType()Lnet/minecraft/client/sound/Sound$RegistrationType;
      • isStreamed

        public boolean isStreamed()
        Mappings:
        Namespace Name Mixin selector
        official h Leyr;h()Z
        intermediary method_4769 Lnet/minecraft/class_1111;method_4769()Z
        named isStreamed Lnet/minecraft/client/sound/Sound;isStreamed()Z
      • isPreloaded

        public boolean isPreloaded()
        Mappings:
        Namespace Name Mixin selector
        official i Leyr;i()Z
        intermediary method_4764 Lnet/minecraft/class_1111;method_4764()Z
        named isPreloaded Lnet/minecraft/client/sound/Sound;isPreloaded()Z
      • getAttenuation

        public int getAttenuation()
        Mappings:
        Namespace Name Mixin selector
        official j Leyr;j()I
        intermediary method_4770 Lnet/minecraft/class_1111;method_4770()I
        named getAttenuation Lnet/minecraft/client/sound/Sound;getAttenuation()I
      • toString

        public String toString()
        覆盖:
        toString 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official toString Leyr;toString()Ljava/lang/String;
        intermediary toString Lnet/minecraft/class_1111;toString()Ljava/lang/String;
        named toString Lnet/minecraft/client/sound/Sound;toString()Ljava/lang/String;