Package net.minecraft.sounds
Class Music
java.lang.Object
net.minecraft.sounds.Music
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Music>
private final SoundEvent
private final int
private final int
private final 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()
-