net.minecraft.sounds

public class Music

ame
net.minecraft.sounds.Music
net.minecraft.class_5195
net.minecraft.sound.MusicSound
net.minecraft.src.C_121_
net.minecraft.sounds.Music

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<Music>
a
CODEC
field_24627
CODEC
f_11620_
private final Holder<SoundEvent>
b
event
field_24057
sound
f_11621_
private final int
c
minDelay
field_24058
minDelay
f_11622_
private final int
d
maxDelay
field_24059
maxDelay
f_11623_
private final boolean
e
replaceCurrentMusic
field_24060
replaceCurrentMusic
f_11624_

Constructor summary

ModifierConstructor
public (Holder<SoundEvent> sound, int minDelay, int maxDelay, boolean replaceCurrentMusic)

Method summary

Modifier and TypeMethod
public Holder<SoundEvent>
a()
getEvent()
method_27279()
getSound()
m_263193_()
public int
b()
getMinDelay()
method_27280()
getMinDelay()
m_11636_()
public int
c()
getMaxDelay()
method_27281()
getMaxDelay()
m_11639_()
public boolean
d()
replaceCurrentMusic()
method_27282()
shouldReplaceCurrentMusic()
m_11642_()