Interface CustomBiome
- All Known Implementing Classes:
CustomBiomeImpl
Represents a custom biome in Wyck.
Extends
Biome with client-side block replacements and friendly color accessors.- Since:
- 0.0.1
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface Wrapper
Wrapper.Context<C> -
Method Summary
Modifier and TypeMethodDescriptionThe block replacements of this custom biome.blockReplacements(List<BlockReplacement> blockReplacements) Sets the block replacements of this custom biome.static CustomBiome.Builderbuilder()A new builder for this class.static CustomBiome.Builderbuilder(ResourceKey resourceKey) default CustomBiomedryFoliageColor(@Nullable String dryFoliageColor) Sets the dry foliage color override of this custom biome.fogColor()default CustomBiomeSets the fog color of this custom biome.default CustomBiomefoliageColor(@Nullable String foliageColor) Sets the foliage color override of this custom biome.default CustomBiomegrassColor(@Nullable String grassColor) Sets the grass color override of this custom biome.default GrassColorModifierdefault CustomBiomegrassColorModifier(GrassColorModifier grassColorModifier) Sets the grass color modifier of this custom biome.booleanisSimilar(CustomBiome otherBiome) Compares this custom biome to another to determine if they are similar.default CustomBiomemodify()Modifies this custom biome.static CustomBiomeof(ResourceKey resourceKey) Creates a new custom biome with the given ResourceKey.default CustomBiomeregister()Registers this custom biome in the biome registry.skyColor()default CustomBiomeSets the sky color of this custom biome.default CustomBiome.BuilderConverts this back into a builder.default intdefault CustomBiomewaterColor(String waterColor) Sets the water color of this custom biome.default CustomBiomewaterFogColor(@Nullable String waterFogColor) Sets the water fog color of this custom biome.Methods inherited from interface Biome
attributes, attributes, biomeSpawner, biomeSpawner, bukkitBiome, climateSettings, climateSettings, generationSettings, generationSettings, isSimilar, resourceKey, specialEffects, specialEffectsMethods inherited from interface Wrapper
asHandle, toMinecraft
-
Method Details
-
blockReplacements
The block replacements of this custom biome.- Returns:
- the block replacements of this custom biome.
- Since:
- 0.0.6
-
blockReplacements
Sets the block replacements of this custom biome.- Parameters:
blockReplacements- the block replacements to set for this custom biome- Returns:
- this custom biome
- Since:
- 0.0.6
-
waterColor
- Returns:
- the water color of this custom biome.
- Since:
- 3.0.0
-
foliageColor
-
dryFoliageColor
-
grassColor
-
grassColorModifier
- Returns:
- the grass color modifier of this custom biome.
- Since:
- 3.0.0
-
fogColor
-
waterFogColor
-
skyColor
-
waterColor
Sets the water color of this custom biome.- Parameters:
waterColor- the water color hex (e.g."#3F75C4")- Returns:
- this custom biome
- Since:
- 3.0.0
-
foliageColor
Sets the foliage color override of this custom biome.- Parameters:
foliageColor- the foliage color hex, or null to clear the override- Returns:
- this custom biome
- Since:
- 3.0.0
-
dryFoliageColor
Sets the dry foliage color override of this custom biome.- Parameters:
dryFoliageColor- the dry foliage color hex, or null to clear the override- Returns:
- this custom biome
- Since:
- 3.0.0
-
grassColor
Sets the grass color override of this custom biome.- Parameters:
grassColor- the grass color hex, or null to clear the override- Returns:
- this custom biome
- Since:
- 3.0.0
-
grassColorModifier
Sets the grass color modifier of this custom biome.- Parameters:
grassColorModifier- the grass color modifier- Returns:
- this custom biome
- Since:
- 3.0.0
-
fogColor
Sets the fog color of this custom biome.- Parameters:
fogColor- the fog color hex, or null to clear it- Returns:
- this custom biome
- Since:
- 3.0.0
-
waterFogColor
Sets the water fog color of this custom biome.- Parameters:
waterFogColor- the water fog color hex, or null to clear it- Returns:
- this custom biome
- Since:
- 3.0.0
-
skyColor
Sets the sky color of this custom biome.- Parameters:
skyColor- the sky color hex, or null to clear it- Returns:
- this custom biome
- Since:
- 3.0.0
-
isSimilar
Compares this custom biome to another to determine if they are similar.- Parameters:
otherBiome- the other custom biome to compare to- Returns:
- true if the custom biomes are similar, false otherwise.
- Since:
- 0.0.17
-
register
Registers this custom biome in the biome registry. -
modify
Modifies this custom biome. -
toBuilder
Converts this back into a builder. -
builder
A new builder for this class.- Returns:
- a new, empty
CustomBiome.Builder. - Since:
- 3.0.0
-
builder
- Parameters:
resourceKey- the ResourceKey to seed the builder with- Returns:
- a new
CustomBiome.Builderseeded with the given resource key. - Since:
- 3.0.0
-
of
Creates a new custom biome with the given ResourceKey.- Parameters:
resourceKey- the ResourceKey of the custom biome to create- Returns:
- a new custom biome with the given ResourceKey
- Since:
- 3.0.0
-