of

@Contract(value = "_, _ -> new", pure = true)
fun of(sound: SoundEvent, probability: Double): AmbientAdditionsSettings

Creates new ambient addition sound settings with the given values.

Return

new ambient addition sound settings

Parameters

sound

the sound

probability

the probability