net.minecraft.sounds

public record Music

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

字段概要

修饰符与类型字段
private final Holder<SoundEvent>
b
sound
comp_5124
sound
f_433508_
private final int
c
minDelay
comp_4359
minDelay
f_11622_
private final int
d
maxDelay
comp_4360
maxDelay
f_11623_
private final boolean
e
replaceCurrentMusic
comp_4361
replaceCurrentMusic
f_11624_
public static final com.mojang.serialization.Codec<Music>
a
CODEC
field_24627
CODEC
f_11620_

构造函数概要

修饰符构造函数
public (Holder<SoundEvent> sound, int minDelay, int maxDelay, boolean replaceCurrentMusic)

方法概要

修饰符与类型方法
public Holder<SoundEvent>
a()
sound()
comp_5124()
sound()
f_433508_()
public int
b()
minDelay()
comp_4359()
minDelay()
f_11622_()
public int
c()
maxDelay()
comp_4360()
maxDelay()
f_11623_()
public boolean
d()
replaceCurrentMusic()
comp_4361()
replaceCurrentMusic()
f_11624_()