Package net.minecraft.client.sounds
Class MusicManager
java.lang.Object
net.minecraft.client.sounds.MusicManager
-
Field Summary
Modifier and TypeFieldDescriptionprivate SoundInstance
private final Minecraft
private int
private final RandomSource
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isPlayingMusic
(Music p_120188_) void
startPlaying
(Music p_120185_) void
void
tick()
-
Field Details
-
STARTING_DELAY
private static final int STARTING_DELAY- See Also:
-
random
-
minecraft
-
currentMusic
-
nextSongDelay
private int nextSongDelay
-
-
Constructor Details
-
MusicManager
-
-
Method Details
-
tick
public void tick() -
startPlaying
-
stopPlaying
public void stopPlaying() -
isPlayingMusic
-