Package net.minecraft.client.sound
Class MusicTracker
java.lang.Object
net.minecraft.client.sound.MusicTracker
- Mappings:
Namespace Name official fyg
intermediary net/minecraft/class_1142
named net/minecraft/client/sound/MusicTracker
-
Field Summary
Modifier and TypeFieldDescriptionprivate final MinecraftClient
private @Nullable SoundInstance
private static final int
private final Random
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isPlayingType
(MusicSound type) void
play
(MusicSound type) void
stop()
void
stop
(MusicSound type) void
tick()
-
Field Details
-
DEFAULT_TIME_UNTIL_NEXT_SONG
private static final int DEFAULT_TIME_UNTIL_NEXT_SONG- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lfyg;a:I
intermediary field_33019
Lnet/minecraft/class_1142;field_33019:I
named DEFAULT_TIME_UNTIL_NEXT_SONG
Lnet/minecraft/client/sound/MusicTracker;DEFAULT_TIME_UNTIL_NEXT_SONG:I
-
random
- Mappings:
Namespace Name Mixin selector official b
Lfyg;b:Lapd;
intermediary field_5571
Lnet/minecraft/class_1142;field_5571:Lnet/minecraft/class_5819;
named random
Lnet/minecraft/client/sound/MusicTracker;random:Lnet/minecraft/util/math/random/Random;
-
client
- Mappings:
Namespace Name Mixin selector official c
Lfyg;c:Lemz;
intermediary field_5575
Lnet/minecraft/class_1142;field_5575:Lnet/minecraft/class_310;
named client
Lnet/minecraft/client/sound/MusicTracker;client:Lnet/minecraft/client/MinecraftClient;
-
current
- Mappings:
Namespace Name Mixin selector official d
Lfyg;d:Lfxh;
intermediary field_5574
Lnet/minecraft/class_1142;field_5574:Lnet/minecraft/class_1113;
named current
Lnet/minecraft/client/sound/MusicTracker;current:Lnet/minecraft/client/sound/SoundInstance;
-
timeUntilNextSong
private int timeUntilNextSong- Mappings:
Namespace Name Mixin selector official e
Lfyg;e:I
intermediary field_5572
Lnet/minecraft/class_1142;field_5572:I
named timeUntilNextSong
Lnet/minecraft/client/sound/MusicTracker;timeUntilNextSong:I
-
-
Constructor Details
-
MusicTracker
- Mappings:
Namespace Name Mixin selector official <init>
Lfyg;<init>(Lemz;)V
intermediary <init>
Lnet/minecraft/class_1142;<init>(Lnet/minecraft/class_310;)V
named <init>
Lnet/minecraft/client/sound/MusicTracker;<init>(Lnet/minecraft/client/MinecraftClient;)V
-
-
Method Details
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector official a
Lfyg;a()V
intermediary method_18669
Lnet/minecraft/class_1142;method_18669()V
named tick
Lnet/minecraft/client/sound/MusicTracker;tick()V
-
play
- Mappings:
Namespace Name Mixin selector official a
Lfyg;a(Lamc;)V
intermediary method_4858
Lnet/minecraft/class_1142;method_4858(Lnet/minecraft/class_5195;)V
named play
Lnet/minecraft/client/sound/MusicTracker;play(Lnet/minecraft/sound/MusicSound;)V
-
stop
- Mappings:
Namespace Name Mixin selector official b
Lfyg;b(Lamc;)V
intermediary method_50025
Lnet/minecraft/class_1142;method_50025(Lnet/minecraft/class_5195;)V
named stop
Lnet/minecraft/client/sound/MusicTracker;stop(Lnet/minecraft/sound/MusicSound;)V
-
stop
public void stop()- Mappings:
Namespace Name Mixin selector official b
Lfyg;b()V
intermediary method_4859
Lnet/minecraft/class_1142;method_4859()V
named stop
Lnet/minecraft/client/sound/MusicTracker;stop()V
-
isPlayingType
- Mappings:
Namespace Name Mixin selector official c
Lfyg;c(Lamc;)Z
intermediary method_4860
Lnet/minecraft/class_1142;method_4860(Lnet/minecraft/class_5195;)Z
named isPlayingType
Lnet/minecraft/client/sound/MusicTracker;isPlayingType(Lnet/minecraft/sound/MusicSound;)Z
-