Package net.minecraft.sounds
Class Music
java.lang.Object
net.minecraft.sounds.Music
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<Music>
private SoundEvent
private int
private int
private boolean
-
Constructor Summary
-
Method Summary
-
Field Details
-
CODEC
-
event
-
minDelay
private final int minDelay -
maxDelay
private final int maxDelay -
replaceCurrentMusic
private final boolean replaceCurrentMusic
-
-
Constructor Details
-
Music
-
-
Method Details
-
getEvent
-
getMinDelay
public int getMinDelay() -
getMaxDelay
public int getMaxDelay() -
replaceCurrentMusic
public boolean replaceCurrentMusic()
-