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 gty
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(SoundContainer<Sound> container) int
void
preload
(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
Lgty;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
Lgty;b:Lxp;
-
-
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>
Lgty;<init>(Lalf;Ljava/lang/String;)V
-
-
Method Details
-
getWeight
public int getWeight()- Specified by:
getWeight
in interfaceSoundContainer<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
Lgtz;e()I
-
getSound
- Specified by:
getSound
in interfaceSoundContainer<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
Lgty;a(Lazh;)Lgsm;
-
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
Lgty;a(Lgtz;)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
Lgty;a()Lxp;
-
preload
- Specified by:
preload
in interfaceSoundContainer<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
Lgtz;a(Lgtu;)V
-