net.minecraft.sound

public record MusicSound

bcb
net.minecraft.sounds.Music
net.minecraft.class_5195
net.minecraft.sound.MusicSound
net.minecraft.unmapped.C_usodapnd
net.minecraft.sound.MusicSound
net.minecraft.src.C_121_

Field summary

Modifier and TypeField
private final RegistryEntry<SoundEvent>
b
event
comp_4358
sound
f_ehnzsxhy
sound
f_11621_
private final int
c
minDelay
comp_4359
minDelay
f_ioiqdqdu
minDelay
f_11622_
private final int
d
maxDelay
comp_4360
maxDelay
f_svvymear
maxDelay
f_11623_
private final boolean
e
replaceCurrentMusic
comp_4361
replaceCurrentMusic
f_qkrumilq
replaceCurrentMusic
f_11624_
public static final com.mojang.serialization.Codec<MusicSound>
a
CODEC
field_24627
CODEC
f_wnlrlpzw
CODEC
f_11620_

Constructor summary

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

Method summary

Modifier and TypeMethod
public RegistryEntry<SoundEvent>
a()
event()
comp_4358()
sound()
m_tdecbmte()
event()
f_11621_()
public int
b()
minDelay()
comp_4359()
minDelay()
m_cyuvbctl()
minDelay()
f_11622_()
public int
c()
maxDelay()
comp_4360()
maxDelay()
m_gantbheu()
maxDelay()
f_11623_()
public boolean
d()
replaceCurrentMusic()
comp_4361()
replaceCurrentMusic()
m_nqaizjvl()
shouldReplaceCurrentMusic()
f_11624_()