public class MusicTicker
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MusicTicker.MusicType |
Modifier and Type | Field and Description |
---|---|
private Minecraft |
client |
private ISound |
currentMusic |
private java.util.Random |
random |
private int |
timeUntilNextMusic |
Constructor and Description |
---|
MusicTicker(Minecraft client) |
Modifier and Type | Method and Description |
---|---|
boolean |
isPlaying(MusicTicker.MusicType type) |
void |
play(MusicTicker.MusicType type) |
void |
stop() |
void |
tick() |
private final java.util.Random random
private final Minecraft client
private ISound currentMusic
private int timeUntilNextMusic
public MusicTicker(Minecraft client)
public void tick()
public void play(MusicTicker.MusicType type)
public void stop()
public boolean isPlaying(MusicTicker.MusicType type)