Package net.minecraft.client.sound
Class MusicTracker
java.lang.Object
net.minecraft.client.sound.MusicTracker
- Mappings:
Namespace Name intermediary net/minecraft/class_1142official fymnamed net/minecraft/client/sound/MusicTracker
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MinecraftClientprivate @Nullable SoundInstanceprivate static final intprivate final Randomprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisPlayingType(MusicSound type) voidplay(MusicSound type) voidstop()voidstop(MusicSound type) voidtick()
-
Field Details
-
DEFAULT_TIME_UNTIL_NEXT_SONG
private static final int DEFAULT_TIME_UNTIL_NEXT_SONG- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_33019Lnet/minecraft/class_1142;field_33019:Iofficial aLfym;a:Inamed DEFAULT_TIME_UNTIL_NEXT_SONGLnet/minecraft/client/sound/MusicTracker;DEFAULT_TIME_UNTIL_NEXT_SONG:I
-
random
- Mappings:
Namespace Name Mixin selector intermediary field_5571Lnet/minecraft/class_1142;field_5571:Lnet/minecraft/class_5819;official bLfym;b:Lapf;named randomLnet/minecraft/client/sound/MusicTracker;random:Lnet/minecraft/util/math/random/Random;
-
client
- Mappings:
Namespace Name Mixin selector intermediary field_5575Lnet/minecraft/class_1142;field_5575:Lnet/minecraft/class_310;official cLfym;c:Lenf;named clientLnet/minecraft/client/sound/MusicTracker;client:Lnet/minecraft/client/MinecraftClient;
-
current
- Mappings:
Namespace Name Mixin selector intermediary field_5574Lnet/minecraft/class_1142;field_5574:Lnet/minecraft/class_1113;official dLfym;d:Lfxn;named currentLnet/minecraft/client/sound/MusicTracker;current:Lnet/minecraft/client/sound/SoundInstance;
-
timeUntilNextSong
private int timeUntilNextSong- Mappings:
Namespace Name Mixin selector intermediary field_5572Lnet/minecraft/class_1142;field_5572:Iofficial eLfym;e:Inamed timeUntilNextSongLnet/minecraft/client/sound/MusicTracker;timeUntilNextSong:I
-
-
Constructor Details
-
MusicTracker
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_1142;<init>(Lnet/minecraft/class_310;)Vofficial <init>Lfym;<init>(Lenf;)Vnamed <init>Lnet/minecraft/client/sound/MusicTracker;<init>(Lnet/minecraft/client/MinecraftClient;)V
-
-
Method Details
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector intermediary method_18669Lnet/minecraft/class_1142;method_18669()Vofficial aLfym;a()Vnamed tickLnet/minecraft/client/sound/MusicTracker;tick()V
-
play
- Mappings:
Namespace Name Mixin selector intermediary method_4858Lnet/minecraft/class_1142;method_4858(Lnet/minecraft/class_5195;)Vofficial aLfym;a(Lame;)Vnamed playLnet/minecraft/client/sound/MusicTracker;play(Lnet/minecraft/sound/MusicSound;)V
-
stop
- Mappings:
Namespace Name Mixin selector intermediary method_50025Lnet/minecraft/class_1142;method_50025(Lnet/minecraft/class_5195;)Vofficial bLfym;b(Lame;)Vnamed stopLnet/minecraft/client/sound/MusicTracker;stop(Lnet/minecraft/sound/MusicSound;)V
-
stop
public void stop()- Mappings:
Namespace Name Mixin selector intermediary method_4859Lnet/minecraft/class_1142;method_4859()Vofficial bLfym;b()Vnamed stopLnet/minecraft/client/sound/MusicTracker;stop()V
-
isPlayingType
- Mappings:
Namespace Name Mixin selector intermediary method_4860Lnet/minecraft/class_1142;method_4860(Lnet/minecraft/class_5195;)Zofficial cLfym;c(Lame;)Znamed isPlayingTypeLnet/minecraft/client/sound/MusicTracker;isPlayingType(Lnet/minecraft/sound/MusicSound;)Z
-