Builder

A builder for ambient mood settings.

Functions

Link copied to clipboard
@Contract(value = "-> new", pure = true)
@NotNull
abstract fun build(): @NotNull AmbientMoodSettings
Link copied to clipboard
@Contract(value = "_ -> this", mutates = "this")
abstract fun delay(delay: Int): AmbientMoodSettings.Builder

Sets the delay, in ticks, for the ambient mood settings.

Link copied to clipboard
@Contract(value = "_ -> this", mutates = "this")
abstract fun offset(offset: Double): AmbientMoodSettings.Builder

Sets the offset for the ambient mood settings.

Link copied to clipboard
@Contract(value = "_ -> this", mutates = "this")
abstract fun searchExtent(extent: Int): AmbientMoodSettings.Builder

Sets the block search extent for the ambient mood settings.

Link copied to clipboard
@Contract(value = "_ -> this", mutates = "this")
abstract fun sound(sound: SoundEvent): AmbientMoodSettings.Builder

Sets the sound for the ambient mood settings.