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 Holder
<SoundEvent> private final int
private final int
private final boolean
-
Constructor Summary
ConstructorDescriptionMusic
(Holder<SoundEvent> p_263426_, int p_263377_, int p_263383_, boolean p_263387_) -
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()
-