mood

@Contract(value = "_ -> this", mutates = "this")
abstract fun mood(settings: AmbientMoodSettings?): BiomeEffects.Builder

Sets the ambient mood settings of the biome effects to the given settings.

Return

this builder

Parameters

settings

the settings

See also


@Contract(value = "_, _ -> this", mutates = "this")
open fun mood(sound: SoundEvent, builder: Consumer<AmbientMoodSettings.Builder>): BiomeEffects.Builder

Applies the given builder to an ambient mood settings builder, builds the result, and sets the ambient mood settings to the built result.

Return

this builder

Parameters

sound

the sound

builder

the builder

See also