Companion

object Companion

Functions

Link copied to clipboard
@Contract(value = "_ -> new", pure = true)
fun builder(sound: SoundEvent): AmbientAdditionsSettings.Builder

Creates a new builder for ambient additions settings.

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

Creates new ambient addition sound settings with the given values.