net.minecraft.sounds

public class Music

avx
net.minecraft.sounds.Music
net.minecraft.class_5195
net.minecraft.sound.MusicSound
net.minecraft.sounds.Music

Field summary

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

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()
public int
b()
getMinDelay()
method_27280()
getMinDelay()
public int
c()
getMaxDelay()
method_27281()
getMaxDelay()
public boolean
d()
replaceCurrentMusic()
method_27282()
shouldReplaceCurrentMusic()