BiomeTreeExtractor is a Fabric mod for developers to extract biome search trees from Minecraft in JSON format for use with cubiomes or other seed tools.
Both Minecraft and cubiomes use this search tree to determine biomes based on climate parameters.
The climate parameter ranges are extracted as arrays. The order of parameters in the array are:
- Temperature
- Humidity
- Continentalness
- Erosion
- Depth
- Weirdness
- Offset
Requires the Fabric API mod to be installed.
This version supports Minecraft 1.20+, tested up to 1.21.2 pre1.
- Build the mod (using JDK 21, "gradlew build", the output is placed in build/libs)
- Install the mod
- Start Minecraft and load a world.
- A biome search tree for each dimension will be automatically extracted to
biometreeextract_{dimension_name}.json
files in the world folder on world load. - Use the BiomeTreeGenerator tool to convert these json files to
btree*.h
files for use with cubiomes.
I'm neither a Java guy nor a Minecraft modder, so there may be some wtf moments in the code.
MIT