TFC-BiomeGen-1.21.1-1.1.0.jar
Curse Maven Snippet
What's new
1.1.0
Requires TerraFirmaCraft 4.2.16+ and NeoForge 21.1.234+ (Minecraft 1.21.1).
Added
replaces_layeraccepts a list, e.g.["plains", "hills"].temperatureandrainfallcan set onlyminor onlymax.- Configs can live in subfolders.
biomes/hot/foo.jsonregisterstfcbiomegen:hot/foo. - The 17 biome layers added in TFC 4.2 (such as
rift_valley,ocean_atollsandcollisional_mountains) can be used inreplaces_layer, andnoneis a validriver_blend. - TFC's biome layer limit goes from 128 to 1024. TFC 4.2.16 uses 125 slots itself, so without this only 3 custom biomes could exist across all addons.
- Unknown keys in a config file are logged as warnings.
Changed
- A config with an unknown value, a
minabove itsmax, or ararityoutside 0 to 1 is now skipped, and the log lists the valid values. Previously bad values fell back to defaults without a warning. - Without
replaces_layer, a biome only replaces land biomes. Oceans, river valleys and rift lakes are left alone, and lakes are never replaced. - When
temperatureorrainfallis left out, there is no limit. The old defaults were -20 to 30 °C and 0 to 500 mm. - Heightmaps now match TFC 4.2.16.
plainsis flatter,mountainsuses TFC's new ridge mountains, andold_mountainsandoceanic_mountainswere updated. - Config files load in sorted path order, so the later file wins when rules overlap.
Fixed
- A misspelled
replaces_layermade the biome replace every biome, oceans included. - Installing the mod moved TFC's rivers and lakes, even where no custom biome was placed.
- The same seed and configs could generate a different world on another machine.
- Two configs with the same file name in different subfolders crashed the game.
- Calling
BiomeAPI.inittwice for the same mod id crashed. - Config values failed to parse on systems set to Turkish.
- The mod metadata listed the license as "All Rights Reserved" instead of MIT.
Java API (breaking)
BiomeAPI.Rulenow hasint[] replaces, plustemperatureandrainfallasMinMaxFloatranges.RuleBuilder.replaces(...)adds layers instead of overwriting them, and accepts several at once.BiomeAPI.parse*methods throwIllegalArgumentExceptionon unknown names.RuleBuilder.register()allocates the layer id immediately and throws if no slot is free.BiomeExtensionConfig.replacesLayersis aList<String>, andtemperatureandrainfallare no longerOptional.- Use
MinMaxFloat.of(min, max)to get a validated range.
Upgrading existing worlds
Chunks generated after the update place custom biomes differently, and rivers return to TFC's normal layout, so expect seams where old and new chunks meet. Configs using the plains heightmap will generate flatter terrain.
This mod has no additional files