soundEvent

fun soundEvent(soundEvent: SoundEvent)

Sets the soundEvent setting of the biome's ambient mood sound to the given soundEvent.


fun soundEvent(soundEvent: Holder<SoundEvent>)

Sets the soundEvent setting of the biome's ambient mood sound to the given soundEvent via a Holder that either already contains a SoundEvent, or is set later by the SoundEvent Registry.


fun soundEvent(soundEventId: ResourceLocation)

Sets the soundEvent setting of the biome's ambient mood sound to the given soundEventId via its ResourceLocation. If the SoundEvent is not yet registered, an empty Holder will be created and the SoundEvent will be set later by the SoundEvent Registry.


fun soundEvent(soundEventId: ResourceKey<SoundEvent>)

Sets the soundEvent setting of the biome's ambient mood sound to the given soundEventId via its ResourceKey. If the SoundEvent is not yet registered, an empty Holder will be created and the SoundEvent will be set later by the SoundEvent Registry.