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/WeightedSoundSetintermediary net/minecraft/class_1146official gvg
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(SoundContainer<Sound> container) intvoidpreload(SoundSystem soundSystem)
-
Field Details
-
sounds
- Mappings:
Namespace Name Mixin selector named soundsLnet/minecraft/client/sound/WeightedSoundSet;sounds:Ljava/util/List;intermediary field_5600Lnet/minecraft/class_1146;field_5600:Ljava/util/List;official aLgvg;a:Ljava/util/List;
-
subtitle
- Mappings:
Namespace Name Mixin selector named subtitleLnet/minecraft/client/sound/WeightedSoundSet;subtitle:Lnet/minecraft/text/Text;intermediary field_5599Lnet/minecraft/class_1146;field_5599:Lnet/minecraft/class_2561;official bLgvg;b:Lwz;
-
-
Constructor Details
-
WeightedSoundSet
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/sound/WeightedSoundSet;<init>(Lnet/minecraft/util/Identifier;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_1146;<init>(Lnet/minecraft/class_2960;Ljava/lang/String;)Vofficial <init>Lgvg;<init>(Lakr;Ljava/lang/String;)V
-
-
Method Details
-
getWeight
public int getWeight()- Specified by:
getWeightin interfaceSoundContainer<Sound>- Mappings:
Namespace Name Mixin selector named getWeightLnet/minecraft/client/sound/SoundContainer;getWeight()Iintermediary method_4894Lnet/minecraft/class_1148;method_4894()Iofficial eLgvh;e()I
-
getSound
- Specified by:
getSoundin interfaceSoundContainer<Sound>- Mappings:
Namespace Name Mixin selector named getSoundLnet/minecraft/client/sound/WeightedSoundSet;getSound(Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/client/sound/Sound;intermediary method_4887Lnet/minecraft/class_1146;method_4887(Lnet/minecraft/class_5819;)Lnet/minecraft/class_1111;official aLgvg;a(Layw;)Lgtx;
-
add
- Mappings:
Namespace Name Mixin selector named addLnet/minecraft/client/sound/WeightedSoundSet;add(Lnet/minecraft/client/sound/SoundContainer;)Vintermediary method_4885Lnet/minecraft/class_1146;method_4885(Lnet/minecraft/class_1148;)Vofficial aLgvg;a(Lgvh;)V
-
getSubtitle
- Mappings:
Namespace Name Mixin selector named getSubtitleLnet/minecraft/client/sound/WeightedSoundSet;getSubtitle()Lnet/minecraft/text/Text;intermediary method_4886Lnet/minecraft/class_1146;method_4886()Lnet/minecraft/class_2561;official aLgvg;a()Lwz;
-
preload
- Specified by:
preloadin interfaceSoundContainer<Sound>- Mappings:
Namespace Name Mixin selector named preloadLnet/minecraft/client/sound/SoundContainer;preload(Lnet/minecraft/client/sound/SoundSystem;)Vintermediary method_18188Lnet/minecraft/class_1148;method_18188(Lnet/minecraft/class_1140;)Vofficial aLgvh;a(Lgvc;)V
-