Package net.minecraft.client.audio
Class MusicTicker
- java.lang.Object
-
- net.minecraft.client.audio.MusicTicker
-
public class MusicTicker extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private ISound
currentMusic
private Minecraft
minecraft
private int
nextSongDelay
private java.util.Random
random
-
Constructor Summary
Constructors Constructor Description MusicTicker(Minecraft p_i45112_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isPlayingMusic(BackgroundMusicSelector p_239540_1_)
void
startPlaying(BackgroundMusicSelector p_239539_1_)
void
stopPlaying()
void
tick()
-
-
-
Constructor Detail
-
MusicTicker
public MusicTicker(Minecraft p_i45112_1_)
-
-
Method Detail
-
tick
public void tick()
-
startPlaying
public void startPlaying(BackgroundMusicSelector p_239539_1_)
-
stopPlaying
public void stopPlaying()
-
isPlayingMusic
public boolean isPlayingMusic(BackgroundMusicSelector p_239540_1_)
-
-