Package net.minecraftforge.common.world
Class ModifiableBiomeInfo.BiomeInfo.Builder
java.lang.Object
net.minecraftforge.common.world.ModifiableBiomeInfo.BiomeInfo.Builder
- Enclosing class:
- ModifiableBiomeInfo.BiomeInfo
-
Field Summary
Modifier and TypeFieldDescriptionprivate ClimateSettingsBuilder
private BiomeSpecialEffectsBuilder
private BiomeGenerationSettingsBuilder
private MobSpawnSettingsBuilder
-
Constructor Summary
ModifierConstructorDescriptionprivate
Builder
(ClimateSettingsBuilder climateSettings, BiomeSpecialEffectsBuilder effects, BiomeGenerationSettingsBuilder generationSettings, MobSpawnSettingsBuilder mobSpawnSettings) -
Method Summary
Modifier and TypeMethodDescriptionbuild()
copyOf
(ModifiableBiomeInfo.BiomeInfo original) Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
climateSettings
-
effects
-
generationSettings
-
mobSpawnSettings
-
-
Constructor Details
-
Builder
private Builder(ClimateSettingsBuilder climateSettings, BiomeSpecialEffectsBuilder effects, BiomeGenerationSettingsBuilder generationSettings, MobSpawnSettingsBuilder mobSpawnSettings)
-
-
Method Details
-
copyOf
- Parameters:
biome
- A biome that has not had its modified biome data generated yet- Returns:
- A ModifiedBiomeInfo.Builder with a copy of the biome's data
-
build
-
getClimateSettings
-
getEffects
Deprecated, for removal: This API element is subject to removal in a future version.UsegetSpecialEffects()
as it provides read access. TODO remove this by 1.20Returns Builder for client special effects.- Returns:
- Builder for client special effects
-
getSpecialEffects
-
getGenerationSettings
-
getMobSpawnSettings
-
getSpecialEffects()
as it provides read access.