1.4.0 - More Tree Generator Details
Curse Maven Snippet
What's new
⚠️ Alpha Version
Not recommended to update the mod from old version to this in your current world, as it might incompatible to older systems. But if you think to update it, please read the changelog below and backup your world before doing it. I have included some warning in "Version Compatibility Impactive" section, if written, to help people to see what might be happen after update.
In case of endless game crashing. Try delete the mod folder in Game Directory > saves > Your World > data > tanshugetrees and rejoin the world. This will regenerate trees in new areas, and discontinue old trees that generate from older versions.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Version Compatibility Impactive
- Renamed "TannyJung-Tree-Pack" to "TannyJung-Main-Pack". Old pack will be undetected as main pack and mark as incompatible. Can easy fix by delete old pack or rename it manually.
- Tree shape updated again, incompatible to older versions. Many changes, new options. Renamed tree part "leaves_twig" to "sprig" and added 2 new parts, bough and limb.
Highlights
- Speed up pre-location speed by half and in placement a bit, by using cache to store data of unchanged files, such as tree shapes.
- Refactored tree generator, now more faster.
- New design of sphere zone generator (used to generate leaves). Now using 2 spheres to generate it, more clean and faster.
- Multiple dead tree levels in single tree. For example, no leaves 100%, no sprig 80%, no twig 40%.
- Added new function to pack replacement. Allow developers to replace specific options in the file, without replace all.
- New option in tree generator "Centripetal". Make tree parts slowly facing to center, huge size oak-like trees look much realistic.
- Added dependencies detection for custom pack. No affect to packs that no dependencies file inside.
Gameplay Related
- Commands from way functions now use markers to run if detect unloaded chunks, so it's smooth and almost no lag spike. But this can produce too many entities, no performance impact.
- New config "max_height_spawn" to control max Y level the trees can spawn. Useful when use with some world gen mods, such as ReTerraForged.
- New config "unviable_ecology_skip_chance" to skip trees that generate outside of their ecology, such as land trees in water.
- Waterside option now affects water biome trees as well. They will spawn more when detect land.
Non-Gameplay Related
- Many changes in tree preset. Removed and renamed some options.
- Add more options in tree settings file, to control is it can drop and regrow leaves, etc.
- Fixed block connector not connects in sometimes. Some of that caused by parts swap.
- Pause system tick while update TannyJung's Main Pack. Fixed most of errors caused by file management while updating.
- Last parts now will facing same as previous parts, if set "min_last_count" above 0.
- New option in tree generator "Chance of Part Discontinue". Set chance of specific parts to discontinue, make it like half-dead tree.
- Some changes in outer-inner-core replacement logic
- Moved "generated" folder from config into each worlds, the same folder as "generated" by the game.
- Preset fixer in chat command now moved from "dev" to "command" category, and now fix all presets from all installed packs at once.
- Added ability to lock options in tree preset, to prevent preset fixer to reset them to default values from template.
- Renamed mod dimension, only affects to people that develop trees and installed the dimension (no one only me lol).
- Fixed enum property error (used in block converter from text). Also now only supported directions.
- Removed square generator. As it's almost no used, and it's hard to update both square and sphere generator.
- Minor changes
This mod has no additional files

