Package net.minecraft.client.sound
Class MusicTracker
java.lang.Object
net.minecraft.client.sound.MusicTracker
- Mappings:
 Namespace Name official fyxintermediary net/minecraft/class_1142named 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 official aLfyx;a:Iintermediary field_33019Lnet/minecraft/class_1142;field_33019:Inamed DEFAULT_TIME_UNTIL_NEXT_SONGLnet/minecraft/client/sound/MusicTracker;DEFAULT_TIME_UNTIL_NEXT_SONG:I
 - 
random
- Mappings:
 Namespace Name Mixin selector official bLfyx;b:Lapf;intermediary field_5571Lnet/minecraft/class_1142;field_5571:Lnet/minecraft/class_5819;named randomLnet/minecraft/client/sound/MusicTracker;random:Lnet/minecraft/util/math/random/Random;
 - 
client
- Mappings:
 Namespace Name Mixin selector official cLfyx;c:Lenn;intermediary field_5575Lnet/minecraft/class_1142;field_5575:Lnet/minecraft/class_310;named clientLnet/minecraft/client/sound/MusicTracker;client:Lnet/minecraft/client/MinecraftClient;
 - 
current
- Mappings:
 Namespace Name Mixin selector official dLfyx;d:Lfxy;intermediary field_5574Lnet/minecraft/class_1142;field_5574:Lnet/minecraft/class_1113;named currentLnet/minecraft/client/sound/MusicTracker;current:Lnet/minecraft/client/sound/SoundInstance;
 - 
timeUntilNextSong
private int timeUntilNextSong- Mappings:
 Namespace Name Mixin selector official eLfyx;e:Iintermediary field_5572Lnet/minecraft/class_1142;field_5572:Inamed timeUntilNextSongLnet/minecraft/client/sound/MusicTracker;timeUntilNextSong:I
 
 - 
 - 
Constructor Details
- 
MusicTracker
- Mappings:
 Namespace Name Mixin selector official <init>Lfyx;<init>(Lenn;)Vintermediary <init>Lnet/minecraft/class_1142;<init>(Lnet/minecraft/class_310;)Vnamed <init>Lnet/minecraft/client/sound/MusicTracker;<init>(Lnet/minecraft/client/MinecraftClient;)V
 
 - 
 - 
Method Details
- 
tick
public void tick()- Mappings:
 Namespace Name Mixin selector official aLfyx;a()Vintermediary method_18669Lnet/minecraft/class_1142;method_18669()Vnamed tickLnet/minecraft/client/sound/MusicTracker;tick()V
 - 
play
- Mappings:
 Namespace Name Mixin selector official aLfyx;a(Lame;)Vintermediary method_4858Lnet/minecraft/class_1142;method_4858(Lnet/minecraft/class_5195;)Vnamed playLnet/minecraft/client/sound/MusicTracker;play(Lnet/minecraft/sound/MusicSound;)V
 - 
stop
- Mappings:
 Namespace Name Mixin selector official bLfyx;b(Lame;)Vintermediary method_50025Lnet/minecraft/class_1142;method_50025(Lnet/minecraft/class_5195;)Vnamed stopLnet/minecraft/client/sound/MusicTracker;stop(Lnet/minecraft/sound/MusicSound;)V
 - 
stop
public void stop()- Mappings:
 Namespace Name Mixin selector official bLfyx;b()Vintermediary method_4859Lnet/minecraft/class_1142;method_4859()Vnamed stopLnet/minecraft/client/sound/MusicTracker;stop()V
 - 
isPlayingType
- Mappings:
 Namespace Name Mixin selector official cLfyx;c(Lame;)Zintermediary method_4860Lnet/minecraft/class_1142;method_4860(Lnet/minecraft/class_5195;)Znamed isPlayingTypeLnet/minecraft/client/sound/MusicTracker;isPlayingType(Lnet/minecraft/sound/MusicSound;)Z
 
 -