Package net.minecraft.client.sound
Class MusicTracker
java.lang.Object
net.minecraft.client.sound.MusicTracker
- Mappings:
Namespace Name official gizintermediary 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 aLgiz;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 bLgiz;b:Lauv;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 cLgiz;c:Levi;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 dLgiz;d:Lgia;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 eLgiz;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>Lgiz;<init>(Levi;)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 aLgiz;a()Vintermediary method_18669Lnet/minecraft/class_1142;method_18669()Vnamed tickLnet/minecraft/client/sound/MusicTracker;tick()V
-
play
- Mappings:
Namespace Name Mixin selector official aLgiz;a(Larp;)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 bLgiz;b(Larp;)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 bLgiz;b()Vintermediary method_4859Lnet/minecraft/class_1142;method_4859()Vnamed stopLnet/minecraft/client/sound/MusicTracker;stop()V
-
isPlayingType
- Mappings:
Namespace Name Mixin selector official cLgiz;c(Larp;)Zintermediary method_4860Lnet/minecraft/class_1142;method_4860(Lnet/minecraft/class_5195;)Znamed isPlayingTypeLnet/minecraft/client/sound/MusicTracker;isPlayingType(Lnet/minecraft/sound/MusicSound;)Z
-