Class CustomBiomeImpl
java.lang.Object
dev.wyck.biome.internal.BiomeImpl
dev.wyck.biome.internal.CustomBiomeImpl
- All Implemented Interfaces:
Biome, CustomBiome, Wrapper, Keyed
This implementation is here because it does not compile
against Minecraft internals as of right now.
Do not directly use this class, use
CustomBiome.-
Nested Class Summary
Nested classes/interfaces inherited from interface Biome
Biome.BuilderNested classes/interfaces inherited from interface CustomBiome
CustomBiome.Builder -
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.toString()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, wait, wait, waitMethods inherited from interface Biome
attributes, attributes, biomeSpawner, biomeSpawner, bukkitBiome, climateSettings, climateSettings, generationSettings, generationSettings, isSimilar, resourceKey, specialEffects, specialEffects, wrapMethods 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, unwrap
-
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.
-
toString
-