Interface BiomeSpecialEffects
- All Superinterfaces:
Wrapper
Various biome-specific visuals as they appear in vanilla.
- Since:
- 3.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder for creating BiomeSpecialEffects instances.Nested classes/interfaces inherited from interface Wrapper
Wrapper.Context<C> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BiomeSpecialEffectsstatic final ConstructWireProvider<BiomeSpecialEffects> -
Method Summary
Modifier and TypeMethodDescriptionstatic BiomeSpecialEffects.Builderbuilder()Creates a new BiomeSpecialEffects builder.The color of dry foliage such as leaf litter in a biome.The color of leaves in a biome.The tint modifier for grass colors in a biome.The color of grass in a biome.static BiomeSpecialEffectsof(int waterColor, Integer foliageColorOverride, Integer dryFoliageColorOverride, Integer grassColorOverride, @NonNull GrassColorModifier grassColorModifier) Creates a new BiomeSpecialEffects instance.static BiomeSpecialEffectsof(String waterColor, @Nullable String foliageColorOverride, @Nullable String dryFoliageColorOverride, @Nullable String grassColorOverride, GrassColorModifier grassColorModifier) Creates a new BiomeSpecialEffects instance.default BiomeSpecialEffects.BuilderConverts this object back to a builder.intThe color of water in a biome.Methods inherited from interface Wrapper
asHandle, toMinecraft
-
Field Details
-
WIRE
-
DEFAULT
-
-
Method Details
-
waterColor
The color of water in a biome.- Returns:
- the water color of the biome
- Since:
- 3.0.0
-
foliageColorOverride
-
dryFoliageColorOverride
-
grassColorOverride
-
grassColorModifier
The tint modifier for grass colors in a biome.- Returns:
- the grass color modifier of the biome
- Since:
- 3.0.0
-
toBuilder
Converts this object back to a builder.- Returns:
- a new BiomeSpecialEffects builder from this instance
- Since:
- 3.0.0
-
of
@AsOf("3.0.0") @NullUnmarked static BiomeSpecialEffects of(int waterColor, Integer foliageColorOverride, Integer dryFoliageColorOverride, Integer grassColorOverride, @NonNull GrassColorModifier grassColorModifier) Creates a new BiomeSpecialEffects instance.- Parameters:
waterColor- the water color of the biomefoliageColorOverride- the foliage color override of the biome, or null for nonedryFoliageColorOverride- the dry foliage color override of the biome, or null for nonegrassColorOverride- the grass color override of the biome, or null for nonegrassColorModifier- the grass color modifier of the biome- Returns:
- a new BiomeSpecialEffects instance
- Since:
- 3.0.0
-
of
@AsOf("3.0.0") static BiomeSpecialEffects of(String waterColor, @Nullable String foliageColorOverride, @Nullable String dryFoliageColorOverride, @Nullable String grassColorOverride, GrassColorModifier grassColorModifier) Creates a new BiomeSpecialEffects instance.- Parameters:
waterColor- the water color of the biome, as a hex stringfoliageColorOverride- the foliage color override of the biome, or null for none, as a hex stringdryFoliageColorOverride- the dry foliage color override of the biome, or null for none, as a hex stringgrassColorOverride- the grass color override of the biome, or null for none, as a hex stringgrassColorModifier- the grass color modifier of the biome- Returns:
- a new BiomeSpecialEffects instance
- Since:
- 3.0.0
-
builder
Creates a new BiomeSpecialEffects builder.- Returns:
- a new BiomeSpecialEffects builder
- Since:
- 3.0.0
-