AmbientMoodSettings

Settings for ambient mood sounds that will play whilst in certain biomes.

Types

Link copied to clipboard

A builder for ambient mood settings.

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

Properties

Link copied to clipboard
@get:JvmName(name = "blockSearchExtent")
abstract val blockSearchExtent: Int

The cubic range of possible positions to play the sound.

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

The offset that the client uses for the position to play the sound from. This will be offset from the client's current position.

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

The sound that will be played.

Link copied to clipboard
@get:JvmName(name = "tickDelay")
abstract val tickDelay: Int

The delay, in ticks, before the sound starts playing.