Config For 1.18+

Tan's Huge Trees

THT

NEWS

Random trees rarity/biome config is not support here yet.

They're now use new structure generation that same as datapack.

If you want to change config of them, try a datapack in discord.

Or make it yourself from folders inside JAR file.

⚠️ WARNING ⚠️

Change config while loading new chunks can cause game crash or forever freeze!

For safety, stop the server/world before change config.

You can change them in-game if no new chunks loading around.

And use /THT config repair to apply the config or restart the world.

Config commands in /THT is no longer supported.

The mod config now used JSON and TXT files, can be found in the config folder.

If you just want to change general config, then just open "config.json" and change the config you want there.

But if you want to change some mod functions such as disable random trees chat message, then open "custom" folder.

The TXT files in the custom folder will be like MCFUNCTION in the datapack, you can change/delete the command inside.

You can also add your own TXT files there for use in your random trees generate functions.

Inside TXT files (default from mod) will have 2 options

Lock File uses for lock that file from replace by new version, enable this if you change something in that TXT file.

Merge All Lines for run all text lines as one command, for example a very long command of random tree sapling.

Config File Explanation

Random Trees : Performance

Available Value : number

Description : Set how many trees can generate at the same time. Set to 0 to disable count max.


Available Value : number

Description : Set how far the trees can generate around the players. Set to 0 to disable distance max.


Available Value : number

Description : Set how far the part generator can teleport per repeat to reduce lag spike. Set to 0 to disable tp limit.


Command : true / false

Description : Enable one time generation for sphere parts instead of slowly generate.


Available Value : true / false

Description : Enable global speed for all random trees that enable this option in the sapling (all trees from mod is already enable this by default). Disable this to let trees generate by their tick that set in their sapling.


Available Value : number

Description : Set speed of trees generation in tick. Set to 0 to pause the trees from generate.


Available Value : number

Description : Set repeat time per speed time. Set to 0 to make it generate in one time (not recommended because they will freeze the game until finish generate).


Available Value : true / false

Description : Enable global countdown for all random trees that enable this option in the sapling (all trees from mod is already enable this by default). Disable this to let trees use value from their sapling.


Available Value : number

Description : Set countdown time in tick. Set to 0 to disable countdown feature.

Random Trees : Quality

Available Value : true / false

Description : Disable sphere generation for all trees and use square generation that more faster, but may looks weide in some cases.


Available Value : true / false

Description : Disable sphere generation for all trees and use square generation that more faster, but they will looks not realistic.


Available Value : number

Description : Set percent of the root count per trees for reduce generation speed. Set to 0 for disable roots.


Available Value : true / false

Description : Enable random position for random trees to make them not spawn as grid when in common rarity, may not work as well on uneven areas.


Available Value : true / false

Description : Disable core and inner to make part generate faster but will generate only outer block. This may cause air holes in the parts.


Structure : Surface Smoothness Detection

Available Value : number between 0 to 6

Description : The detector count. Set to 6 for full detection (may make the structure more rare). Set to 0 to disable this feature.


0 = Disable

1 = 4 detectors (4 in 4 blocks)

2 = 8 detectors (8 in 4 blocks)

3 = 12 detectors (8 in 4 blocks + 4 in half size of structure)

4 = 16 detectors (8 in 4 blocks + 8 in half size of structure)

5 = 20 detectors (8 in 4 blocks + 8 in half size of structure + 4 in full size of structure)

6 = 24 detectors (8 in 4 blocks + 8 in half size of structure + 8 in full size of structure)


Available Value : number

Description : Lower number make the structure can only spawn in flatten area. This number is blocks in above and below of the area.



Structure : World Cut-Off Protection

Available Value : number

Description : Set Y height that will cancel the structure from spawning, for protect it from cut-off by world height limit.


Available Value : number

Description : Set Y height that will cancel the structure from spawning, for protect it from cut-off by world lower limit.


Structure : Generation

Available Value : number

Description : Set limit count of trees in that type to generate per about 5 seconds


Available Value : number between 0 to 100

Description : Set percent rarity of type A, B, C, D, E and F. Lower number make that type of structure more rare.


A = Dead Trees

B = Small Trees

C = Medium Trees

D = Huge Trees

E = Nature Stuffs

F = Random Trees (no longer have this)


Available Value : number between 0 to 1000000

Description : The rarity of specific structure. Lower number make that structure more rare.


Available Value : biome ID / biome tag

Description : Should supported to all biome IDs and biome tags, even modded biomes. You can also use "all" for all biomes.


Available Value : block ID / block tag

Description : Should supported to all block IDs. You can also use "tht:list_block" for general plant blocks.