particles

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

Sets the ambient particle 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 particles(type: ParticleType, builder: Consumer<AmbientParticleSettings.Builder>): BiomeEffects.Builder

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

Return

this builder

Parameters

type

the type

builder

the builder

See also