Class CustomBiomeImpl
java.lang.Object
dev.wyck.model.biome.impl.BiomeImpl
dev.wyck.model.biome.impl.CustomBiomeImpl
- All Implemented Interfaces:
Biome, CustomBiome, Wrapper, Keyed
-
Nested Class Summary
Nested classes/interfaces inherited from interface Biome
Biome.BuilderNested classes/interfaces inherited from interface CustomBiome
CustomBiome.BuilderNested classes/interfaces inherited from interface Wrapper
Wrapper.Context<C> -
Constructor Summary
ConstructorsConstructorDescriptionCustomBiomeImpl(ResourceKey resourceKey, ClimateSettings climateSettings, BiomeSpecialEffects specialEffects, EnvironmentAttributeMap attributes, @Nullable BiomeSpawner biomeSpawner, @Nullable BiomeGenerationSettings generationSettings, List<BlockReplacement> blockReplacements) -
Method Summary
Modifier and TypeMethodDescriptionThe block replacements of this custom biome.blockReplacements(List<BlockReplacement> blockReplacements) Sets the block replacements of this custom biome.booleanisSimilar(CustomBiome otherBiome) Compares this custom biome to another to determine if they are similar.Methods inherited from class BiomeImpl
attributes, attributes, biomeSpawner, biomeSpawner, bukkitBiome, climateSettings, climateSettings, generationSettings, generationSettings, isSimilar, key, resourceKey, specialEffects, specialEffects, toMinecraftMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Biome
attributes, attributes, biomeSpawner, biomeSpawner, bukkitBiome, climateSettings, climateSettings, generationSettings, generationSettings, isSimilar, resourceKey, specialEffects, specialEffectsMethods inherited from interface CustomBiome
dryFoliageColor, dryFoliageColor, fogColor, fogColor, foliageColor, foliageColor, grassColor, grassColor, grassColorModifier, grassColorModifier, modify, register, skyColor, skyColor, toBuilder, waterColor, waterColor, waterFogColor, waterFogColorMethods inherited from interface Wrapper
asHandle, toMinecraft
-
Constructor Details
-
CustomBiomeImpl
public CustomBiomeImpl(ResourceKey resourceKey, ClimateSettings climateSettings, BiomeSpecialEffects specialEffects, EnvironmentAttributeMap attributes, @Nullable BiomeSpawner biomeSpawner, @Nullable BiomeGenerationSettings generationSettings, List<BlockReplacement> blockReplacements)
-
-
Method Details
-
blockReplacements
Description copied from interface:CustomBiomeThe block replacements of this custom biome.- Specified by:
blockReplacementsin interfaceCustomBiome- Returns:
- the block replacements of this custom biome.
-
blockReplacements
Description copied from interface:CustomBiomeSets the block replacements of this custom biome.- Specified by:
blockReplacementsin interfaceCustomBiome- Parameters:
blockReplacements- the block replacements to set for this custom biome- Returns:
- this custom biome
-
isSimilar
Description copied from interface:CustomBiomeCompares this custom biome to another to determine if they are similar.- Specified by:
isSimilarin interfaceCustomBiome- Parameters:
otherBiome- the other custom biome to compare to- Returns:
- true if the custom biomes are similar, false otherwise.
-