Tree Tweaker is a CraftTweaker addon that allows you to add custom trees to world generation. The shape, height, leaves, logs, frequency, biome, and more can all be customized through zenscript. Trees can use modded blocks and be set to generate in modded biomes.
Tree Tweaker issues should be discussed at the Tree Tweaker issue tracker.
var newtree = TreeFatory.createTree(“newtree”);
create a new tree called
newtree, using the variable
var newtree = TreeFactory.createTree("newtree");
set which type of tree shape to generate as. Accepts OAK, SPRUCE, JUNGLE, BIRCH, ACACIA, and DARK_OAK.
register tree to add to worldgen. Make sure to call this method last.
set what log to use
set what leaf to use
set the minimum height of the tree.
Extra height randomly added when tree generates
Used to control how often a tree generates, successfully spawning at a rate of 1 in N attempts
How many trees should try to spawn during a successful generation attempt. Can be used to make clusters of trees
Makes tree trunk generate as 2x2 thick. Only valid on LARGE_OAK, PINE, CANOPY, and SPRUCE trees
Set the biome of spawning, ignoring typical biome rules.
If not set, the tree will generate in all biomes that normally contain trees.
Biome tag tree can generate in (HOT, SWAMP, SNOWY…), ignoring typical biome tree rules . Will not function unless spawnBiome is null.
What block the tree should generate on top of. If not set, will default to blocks valid for vanilla trees (grass, dirt, farmland)
Either single int or array of ints listing dimension IDs the tree may generate in. If null, may generate in any dimension