类 WeightedSoundSet

    • 字段详细资料

      • sounds

        private final List<SoundContainer<Sound>> sounds
        Mappings:
        Namespace Name Mixin selector
        official a Lezv;a:Ljava/util/List;
        intermediary field_5600 Lnet/minecraft/class_1146;field_5600:Ljava/util/List;
        named sounds Lnet/minecraft/client/sound/WeightedSoundSet;sounds:Ljava/util/List;
      • random

        private final Random random
        Mappings:
        Namespace Name Mixin selector
        official b Lezv;b:Ljava/util/Random;
        intermediary field_5601 Lnet/minecraft/class_1146;field_5601:Ljava/util/Random;
        named random Lnet/minecraft/client/sound/WeightedSoundSet;random:Ljava/util/Random;
      • id

        private final Identifier id
        Mappings:
        Namespace Name Mixin selector
        official c Lezv;c:Lwp;
        intermediary field_5602 Lnet/minecraft/class_1146;field_5602:Lnet/minecraft/class_2960;
        named id Lnet/minecraft/client/sound/WeightedSoundSet;id:Lnet/minecraft/util/Identifier;
      • subtitle

        @Nullable
        private final @Nullable Text subtitle
        Mappings:
        Namespace Name Mixin selector
        official d Lezv;d:Lon;
        intermediary field_5599 Lnet/minecraft/class_1146;field_5599:Lnet/minecraft/class_2561;
        named subtitle Lnet/minecraft/client/sound/WeightedSoundSet;subtitle:Lnet/minecraft/text/Text;
    • 构造器详细资料

      • WeightedSoundSet

        public WeightedSoundSet​(Identifier id,
                                @Nullable
                                @Nullable String subtitle)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lezv;<init>(Lwp;Ljava/lang/String;)V
        intermediary <init> Lnet/minecraft/class_1146;<init>(Lnet/minecraft/class_2960;Ljava/lang/String;)V
        named <init> Lnet/minecraft/client/sound/WeightedSoundSet;<init>(Lnet/minecraft/util/Identifier;Ljava/lang/String;)V
    • 方法详细资料

      • 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 a Lezv;a()Leyr;
        intermediary method_4887 Lnet/minecraft/class_1146;method_4887()Lnet/minecraft/class_1111;
        named getSound Lnet/minecraft/client/sound/WeightedSoundSet;getSound()Lnet/minecraft/client/sound/Sound;
      • add

        public void add​(SoundContainer<Sound> soundContainer)
        Mappings:
        Namespace Name Mixin selector
        official a Lezv;a(Lezw;)V
        intermediary method_4885 Lnet/minecraft/class_1146;method_4885(Lnet/minecraft/class_1148;)V
        named add Lnet/minecraft/client/sound/WeightedSoundSet;add(Lnet/minecraft/client/sound/SoundContainer;)V
      • method_35812

        public Identifier method_35812()
        Mappings:
        Namespace Name Mixin selector
        official b Lezv;b()Lwp;
        intermediary method_35812 Lnet/minecraft/class_1146;method_35812()Lnet/minecraft/class_2960;
        named method_35812 Lnet/minecraft/client/sound/WeightedSoundSet;method_35812()Lnet/minecraft/util/Identifier;
      • getSubtitle

        @Nullable
        public @Nullable Text getSubtitle()
        Mappings:
        Namespace Name Mixin selector
        official c Lezv;c()Lon;
        intermediary method_4886 Lnet/minecraft/class_1146;method_4886()Lnet/minecraft/class_2561;
        named getSubtitle Lnet/minecraft/client/sound/WeightedSoundSet;getSubtitle()Lnet/minecraft/text/Text;
      • 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