Package net.minecraft.client.sound
Class WeightedSoundSet
java.lang.Object
net.minecraft.client.sound.WeightedSoundSet
- All Implemented Interfaces:
- SoundContainer<Sound>
- Mappings:
- Namespace - Name - named - net/minecraft/client/sound/WeightedSoundSet- intermediary - net/minecraft/class_1146- official - hpu
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidadd(SoundContainer<Sound> container) intvoidpreload(SoundSystem soundSystem) 
- 
Field Details- 
sounds- Mappings:
- Namespace - Name - Mixin selector - named - sounds- Lnet/minecraft/client/sound/WeightedSoundSet;sounds:Ljava/util/List;- intermediary - field_5600- Lnet/minecraft/class_1146;field_5600:Ljava/util/List;- official - a- Lhpu;a:Ljava/util/List;
 
- 
subtitle- Mappings:
- Namespace - Name - Mixin selector - named - subtitle- Lnet/minecraft/client/sound/WeightedSoundSet;subtitle:Lnet/minecraft/text/Text;- intermediary - field_5599- Lnet/minecraft/class_1146;field_5599:Lnet/minecraft/class_2561;- official - b- Lhpu;b:Lxg;
 
 
- 
- 
Constructor Details- 
WeightedSoundSet- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/sound/WeightedSoundSet;<init>(Lnet/minecraft/util/Identifier;Ljava/lang/String;)V- intermediary - <init>- Lnet/minecraft/class_1146;<init>(Lnet/minecraft/class_2960;Ljava/lang/String;)V- official - <init>- Lhpu;<init>(Lalr;Ljava/lang/String;)V
 
 
- 
- 
Method Details- 
getWeightpublic int getWeight()- Specified by:
- getWeightin interface- SoundContainer<Sound>
- Mappings:
- Namespace - Name - Mixin selector - named - getWeight- Lnet/minecraft/client/sound/SoundContainer;getWeight()I- intermediary - method_4894- Lnet/minecraft/class_1148;method_4894()I- official - e- Lhpv;e()I
 
- 
getSound- Specified by:
- getSoundin interface- SoundContainer<Sound>
- Mappings:
- Namespace - Name - Mixin selector - named - getSound- Lnet/minecraft/client/sound/WeightedSoundSet;getSound(Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/client/sound/Sound;- intermediary - method_4887- Lnet/minecraft/class_1146;method_4887(Lnet/minecraft/class_5819;)Lnet/minecraft/class_1111;- official - a- Lhpu;a(Lbai;)Lhok;
 
- 
add- Mappings:
- Namespace - Name - Mixin selector - named - add- Lnet/minecraft/client/sound/WeightedSoundSet;add(Lnet/minecraft/client/sound/SoundContainer;)V- intermediary - method_4885- Lnet/minecraft/class_1146;method_4885(Lnet/minecraft/class_1148;)V- official - a- Lhpu;a(Lhpv;)V
 
- 
getSubtitle- Mappings:
- Namespace - Name - Mixin selector - named - getSubtitle- Lnet/minecraft/client/sound/WeightedSoundSet;getSubtitle()Lnet/minecraft/text/Text;- intermediary - method_4886- Lnet/minecraft/class_1146;method_4886()Lnet/minecraft/class_2561;- official - a- Lhpu;a()Lxg;
 
- 
preload- Specified by:
- preloadin interface- SoundContainer<Sound>
- Mappings:
- Namespace - Name - Mixin selector - named - preload- Lnet/minecraft/client/sound/SoundContainer;preload(Lnet/minecraft/client/sound/SoundSystem;)V- intermediary - method_18188- Lnet/minecraft/class_1148;method_18188(Lnet/minecraft/class_1140;)V- official - a- Lhpv;a(Lhpq;)V
 
 
-