接口 SoundInstance

    • 方法详细资料

      • getId

        Identifier getId()
        Mappings:
        Namespace Name Mixin selector
        official a Leyu;a()Lwp;
        intermediary method_4775 Lnet/minecraft/class_1113;method_4775()Lnet/minecraft/class_2960;
        named getId Lnet/minecraft/client/sound/SoundInstance;getId()Lnet/minecraft/util/Identifier;
      • getSoundSet

        @Nullable
        @Nullable WeightedSoundSet getSoundSet​(SoundManager soundManager)
        Mappings:
        Namespace Name Mixin selector
        official a Leyu;a(Lezu;)Lezv;
        intermediary method_4783 Lnet/minecraft/class_1113;method_4783(Lnet/minecraft/class_1144;)Lnet/minecraft/class_1146;
        named getSoundSet Lnet/minecraft/client/sound/SoundInstance;getSoundSet(Lnet/minecraft/client/sound/SoundManager;)Lnet/minecraft/client/sound/WeightedSoundSet;
      • getSound

        Sound getSound()
        Mappings:
        Namespace Name Mixin selector
        official b Leyu;b()Leyr;
        intermediary method_4776 Lnet/minecraft/class_1113;method_4776()Lnet/minecraft/class_1111;
        named getSound Lnet/minecraft/client/sound/SoundInstance;getSound()Lnet/minecraft/client/sound/Sound;
      • getCategory

        SoundCategory getCategory()
        Mappings:
        Namespace Name Mixin selector
        official c Leyu;c()Laex;
        intermediary method_4774 Lnet/minecraft/class_1113;method_4774()Lnet/minecraft/class_3419;
        named getCategory Lnet/minecraft/client/sound/SoundInstance;getCategory()Lnet/minecraft/sound/SoundCategory;
      • isRepeatable

        boolean isRepeatable()
        Mappings:
        Namespace Name Mixin selector
        official d Leyu;d()Z
        intermediary method_4786 Lnet/minecraft/class_1113;method_4786()Z
        named isRepeatable Lnet/minecraft/client/sound/SoundInstance;isRepeatable()Z
      • isLooping

        boolean isLooping()
        Mappings:
        Namespace Name Mixin selector
        official l Leyu;l()Z
        intermediary method_4787 Lnet/minecraft/class_1113;method_4787()Z
        named isLooping Lnet/minecraft/client/sound/SoundInstance;isLooping()Z
      • getRepeatDelay

        int getRepeatDelay()
        Mappings:
        Namespace Name Mixin selector
        official e Leyu;e()I
        intermediary method_4780 Lnet/minecraft/class_1113;method_4780()I
        named getRepeatDelay Lnet/minecraft/client/sound/SoundInstance;getRepeatDelay()I
      • getVolume

        float getVolume()
        Mappings:
        Namespace Name Mixin selector
        official f Leyu;f()F
        intermediary method_4781 Lnet/minecraft/class_1113;method_4781()F
        named getVolume Lnet/minecraft/client/sound/SoundInstance;getVolume()F
      • getPitch

        float getPitch()
        Mappings:
        Namespace Name Mixin selector
        official g Leyu;g()F
        intermediary method_4782 Lnet/minecraft/class_1113;method_4782()F
        named getPitch Lnet/minecraft/client/sound/SoundInstance;getPitch()F
      • getX

        double getX()
        Mappings:
        Namespace Name Mixin selector
        official h Leyu;h()D
        intermediary method_4784 Lnet/minecraft/class_1113;method_4784()D
        named getX Lnet/minecraft/client/sound/SoundInstance;getX()D
      • getY

        double getY()
        Mappings:
        Namespace Name Mixin selector
        official i Leyu;i()D
        intermediary method_4779 Lnet/minecraft/class_1113;method_4779()D
        named getY Lnet/minecraft/client/sound/SoundInstance;getY()D
      • getZ

        double getZ()
        Mappings:
        Namespace Name Mixin selector
        official j Leyu;j()D
        intermediary method_4778 Lnet/minecraft/class_1113;method_4778()D
        named getZ Lnet/minecraft/client/sound/SoundInstance;getZ()D
      • getAttenuationType

        SoundInstance.AttenuationType getAttenuationType()
        Mappings:
        Namespace Name Mixin selector
        official k Leyu;k()Leyu$a;
        intermediary method_4777 Lnet/minecraft/class_1113;method_4777()Lnet/minecraft/class_1113$class_1114;
        named getAttenuationType Lnet/minecraft/client/sound/SoundInstance;getAttenuationType()Lnet/minecraft/client/sound/SoundInstance$AttenuationType;
      • shouldAlwaysPlay

        default boolean shouldAlwaysPlay()
        Mappings:
        Namespace Name Mixin selector
        official r Leyu;r()Z
        intermediary method_4785 Lnet/minecraft/class_1113;method_4785()Z
        named shouldAlwaysPlay Lnet/minecraft/client/sound/SoundInstance;shouldAlwaysPlay()Z
      • canPlay

        default boolean canPlay()
        Mappings:
        Namespace Name Mixin selector
        official s Leyu;s()Z
        intermediary method_26273 Lnet/minecraft/class_1113;method_26273()Z
        named canPlay Lnet/minecraft/client/sound/SoundInstance;canPlay()Z