Class BiomeImpl
java.lang.Object
dev.wyck.model.biome.impl.BiomeImpl
- Direct Known Subclasses:
CustomBiomeImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface Biome
Biome.BuilderNested classes/interfaces inherited from interface Wrapper
Wrapper.Context<C> -
Constructor Summary
ConstructorsConstructorDescriptionBiomeImpl(ResourceKey resourceKey, ClimateSettings climateSettings, BiomeSpecialEffects specialEffects, EnvironmentAttributeMap attributes, @Nullable BiomeSpawner biomeSpawner, @Nullable BiomeGenerationSettings generationSettings) -
Method Summary
Modifier and TypeMethodDescriptionA map of the environment attributes associated with this biome.voidattributes(EnvironmentAttributeMap attributes) Sets the environment attributes for this biome.Gets the biome spawner associated with this biome.voidbiomeSpawner(@Nullable BiomeSpawner biomeSpawner) Sets or removes the BiomeSpawner of this biome.Gets the Bukkit representation of this biome.Climate settings associated with this biome.voidclimateSettings(ClimateSettings climateSettings) Sets new climate settings for this biome.Gets world generation settings associated with this biome.voidgenerationSettings(@Nullable BiomeGenerationSettings generationSettings) Sets or removes the world generation settings for this biome.booleanCompares this biome to another biome to determine if they are similar.key()The key associated with this biome.Various biome-specific visuals as they appear in vanilla.voidspecialEffects(BiomeSpecialEffects specialEffects) Sets new special effects for this biome.Convert this handle to the real Minecraft object.
-
Constructor Details
-
BiomeImpl
public BiomeImpl(ResourceKey resourceKey, ClimateSettings climateSettings, BiomeSpecialEffects specialEffects, EnvironmentAttributeMap attributes, @Nullable BiomeSpawner biomeSpawner, @Nullable BiomeGenerationSettings generationSettings)
-
-
Method Details
-
resourceKey
Description copied from interface:BiomeThe key associated with this biome.- Specified by:
resourceKeyin interfaceBiome- Returns:
- the key of this biome.
-
climateSettings
Description copied from interface:BiomeClimate settings associated with this biome.- Specified by:
climateSettingsin interfaceBiome- Returns:
- the climate settings associated with this biome.
-
climateSettings
Description copied from interface:BiomeSets new climate settings for this biome.- Specified by:
climateSettingsin interfaceBiome- Parameters:
climateSettings- the new climate settings to set for this biome.
-
specialEffects
Description copied from interface:BiomeVarious biome-specific visuals as they appear in vanilla.- Specified by:
specialEffectsin interfaceBiome- Returns:
- the biome special effects associated with this biome.
-
specialEffects
Description copied from interface:BiomeSets new special effects for this biome.- Specified by:
specialEffectsin interfaceBiome- Parameters:
specialEffects- the new special effects to set for this biome.
-
attributes
Description copied from interface:BiomeA map of the environment attributes associated with this biome.- Specified by:
attributesin interfaceBiome- Returns:
- an environment attribute map populated with the environment attributes of this biome.
-
attributes
Description copied from interface:BiomeSets the environment attributes for this biome.- Specified by:
attributesin interfaceBiome- Parameters:
attributes- the environment attribute map to set for this biome
-
biomeSpawner
Description copied from interface:BiomeGets the biome spawner associated with this biome.- Specified by:
biomeSpawnerin interfaceBiome- Returns:
- the BiomeSpawner of this biome, or null if none is set.
-
biomeSpawner
Description copied from interface:BiomeSets or removes the BiomeSpawner of this biome.- Specified by:
biomeSpawnerin interfaceBiome- Parameters:
biomeSpawner- the BiomeSpawner to set for this biome, or null to remove it.
-
generationSettings
Description copied from interface:BiomeGets world generation settings associated with this biome.- Specified by:
generationSettingsin interfaceBiome- Returns:
- the BiomeGenerationSettings of this biome, or null if none is set.
-
generationSettings
Description copied from interface:BiomeSets or removes the world generation settings for this biome.- Specified by:
generationSettingsin interfaceBiome- Parameters:
generationSettings- the BiomeGenerationSettings to set for this biome, or null to remove it.
-
bukkitBiome
Description copied from interface:BiomeGets the Bukkit representation of this biome.- Specified by:
bukkitBiomein interfaceBiome- Returns:
- the Bukkit
Biomeequivalent of this biome.
-
isSimilar
Description copied from interface:BiomeCompares this biome to another biome to determine if they are similar. Two AbstractBiomes are considered similar if they have the same properties. -
key
-
toMinecraft
Description copied from interface:WrapperConvert this handle to the real Minecraft object.- Specified by:
toMinecraftin interfaceWrapper- Returns:
- the real Minecraft object
-