net.minecraft.sounds

public class Music

adn
net.minecraft.sounds.Music
net.minecraft.class_5195
net.minecraft.sound.MusicSound
net.minecraft.client.audio.BackgroundMusicSelector
net.minecraft.server.v1_16_R3.Music

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public SoundEvent
a()
getEvent()
method_27279()
getSound()
func_232661_a_()
public int
b()
getMinDelay()
method_27280()
getMinDelay()
func_232664_b_()
public int
c()
getMaxDelay()
method_27281()
getMaxDelay()
func_232666_c_()
public boolean
d()
replaceCurrentMusic()
method_27282()
shouldReplaceCurrentMusic()
func_232668_d_()