Builder
A builder for ambient particle settings.
Note: Attempting to call Builder.build on this without setting the particle type will throw an IllegalStateException.
Functions
Link copied to clipboard
@Contract(value = "-> new", pure = true )
@NotNull
Link copied to clipboard
@Contract(value = "_ -> this", mutates = "this" )
Sets the particle data for the ambient particle settings to the given data.
Link copied to clipboard
@Contract(value = "_, _ -> this", mutates = "this" )
Link copied to clipboard
@Contract(value = "_ -> this", mutates = "this" )
Sets the probability for the ambient particle settings to the given probability.
Link copied to clipboard
@Contract(value = "_ -> this", mutates = "this" )
Sets the type of the particle for the ambient particle settings to the given type.