effects

@Contract(value = "_ -> this", mutates = "this")
abstract fun effects(effects: BiomeEffects): Biome.Builder

Sets the effects settings for the biome to the given effects settings and returns this builder.

Return

this builder

Parameters

effects

the effects settings

See also


@Contract(value = "_ -> this", mutates = "this")
open fun effects(builder: Consumer<BiomeEffects.Builder>): Biome.Builder

Applies the given builder to a new effects settings builder and sets the effects settings to the built instance.

Return

this builder

Parameters

builder

the builder