• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Sub biome decorations

convergent

New member
Having trouble adding decorations to sub biomes - specifically adding trees to the snow subs. Trees are present in the main biome, but won't spawn in subs on a new generation. I am confident that the xml changes are accurate as I am modifying the biomes.xml directly and seeing changes, just no trees. There must be an item in the generation code I am missing.

 
Last edited by a moderator:
An update for other modders struggler with this - adding a tree to a primary biome fails unless you remove the "isdistantdecoration" value="false" tag. Then you may add them. Will update with sub biome solutions.

 
There are two issues with adding trees to sub biomes - "IsDistantDecoration" must be set to false, and "shape" must be set to "ModelEntity".

If you create a new block extending the tree you want and add these two lines you can create or modify sub biomes.

Please post if there is a better solution as this is a clunky workaround and may impact performance.

 
both lines refer to the player view ring they use.

modelentity is very close to the player.

 
Back
Top