Package net.minecraft.client.sound
Class MusicTracker
java.lang.Object
net.minecraft.client.sound.MusicTracker
- Mappings:
Namespace Name official flwintermediary 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()voidtick()
-
Field Details
-
field_33019
private static final int field_33019- See Also:
- Mappings:
Namespace Name Mixin selector official aLflw;a:Iintermediary field_33019Lnet/minecraft/class_1142;field_33019:Inamed field_33019Lnet/minecraft/client/sound/MusicTracker;field_33019:I
-
random
- Mappings:
Namespace Name Mixin selector official bLflw;b:Lalu;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 cLflw;c:Leev;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 dLflw;d:Lfkx;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 eLflw;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>Lflw;<init>(Leev;)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 aLflw;a()Vintermediary method_18669Lnet/minecraft/class_1142;method_18669()Vnamed tickLnet/minecraft/client/sound/MusicTracker;tick()V
-
play
- Mappings:
Namespace Name Mixin selector official aLflw;a(Lajb;)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
public void stop()- Mappings:
Namespace Name Mixin selector official bLflw;b()Vintermediary method_4859Lnet/minecraft/class_1142;method_4859()Vnamed stopLnet/minecraft/client/sound/MusicTracker;stop()V
-
isPlayingType
- Mappings:
Namespace Name Mixin selector official bLflw;b(Lajb;)Zintermediary method_4860Lnet/minecraft/class_1142;method_4860(Lnet/minecraft/class_5195;)Znamed isPlayingTypeLnet/minecraft/client/sound/MusicTracker;isPlayingType(Lnet/minecraft/sound/MusicSound;)Z
-