AmbientAdditionsSettings

Settings for ambient sounds that may play randomly when in the biome, with a fixed chance.

Types

Link copied to clipboard

A builder for ambient additions settings.

Link copied to clipboard
object Companion
Link copied to clipboard
@ApiStatus.Internal
interface Factory

Properties

Link copied to clipboard
@get:JvmName(name = "probability")
abstract val probability: Double

The probability of the sound playing on any tick.

Link copied to clipboard
@get:JvmName(name = "sound")
abstract val sound: SoundEvent

The sound that might be played.