soundEvent

fun soundEvent(soundEvent: SoundEvent)
fun soundEvent(soundEvent: Holder<SoundEvent>)

Sets the soundEvent setting of the music to the given soundEvent.


fun soundEvent(soundEventId: ResourceLocation)
fun soundEvent(soundEventId: ResourceKey<SoundEvent>)

Sets the soundEvent setting of the music to the given soundEventId.