Class BiomeEffects.Builder
java.lang.Object
fr.fidorial.world.biome.BiomeEffects.Builder
- Enclosing class:
BiomeEffects
Mutable builder for
BiomeEffects.- Since:
- 0.1.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Returns the immutable effects described by this builder.dryFoliageColor(@Nullable Integer color) foliageColor(@Nullable Integer color) grassColor(@Nullable Integer color) grassColorModifier(GrassColorModifier modifier) waterColor(int color)
-
Method Details
-
waterColor
- Parameters:
color- packed RGB tint applied to water- Returns:
- this builder
-
foliageColor
- Parameters:
color- packed RGB leaf tint, ornullto let the client compute it- Returns:
- this builder
-
grassColor
- Parameters:
color- packed RGB grass tint, ornullto let the client compute it- Returns:
- this builder
-
dryFoliageColor
- Parameters:
color- packed RGB leaf litter tint, ornullfor the default- Returns:
- this builder
-
grassColorModifier
- Parameters:
modifier- post-processing applied on top of the grass color- Returns:
- this builder
-
build
Returns the immutable effects described by this builder.- Returns:
- the immutable effects described by this builder
-