ambientAdditionsSound

fun ambientAdditionsSound(additionsSettings: AmbientAdditionsSettings)

Sets the ambientAdditionsSettings setting of the biome's special effects. This setting is used to add ambient sounds to the biome. The sound is played each tick at the probability defined at AmbientAdditionsSettings.tickChance.


fun ambientAdditionsSound(soundEvent: SoundEvent, tickProbability: Double)
fun ambientAdditionsSound(soundEvent: Holder<SoundEvent>, tickProbability: Double)

Sets the ambientAdditionsSettings setting of the biome's special effects to soundEvent with tickProbability.


fun ambientAdditionsSound(soundEventId: ResourceLocation, tickProbability: Double)

Sets the ambientAdditionsSettings setting of the biome's special effects to soundEventId with tickProbability.


fun ambientAdditionsSound(soundEventKey: ResourceKey<SoundEvent>, tickProbability: Double)

Sets the ambientAdditionsSettings setting of the biome's special effects to soundEventKey with tickProbability.