Custom structure made with jigsaws : Branches
Hi! I want to make a custom dungeon that is sort of a big tree. I'm following this tutorial: https://www.planetminecraft.com/blog/custom-structure-gen-documentation/ and I see that jigsaws can only generate structures which hitbox is contained inside the parent structure hitbox or does not intersecate with it. I don't want my tree to look awfully identical every time you find one, so I wanted to add branches that terminate with jigsaws that spawn other branches (randomly from a target pool) and so on, but I'd need to resolve some matters:
- What if two branches spawned at the same time from a parent branch have overlapping hitboxes?
- What if a branch, spawned at some point in the generation, takes place in a previously spawned structure (of the same process) hitbox?
- How can I be sure my branches reach the end_branch structure (so leaves without other branches) before the 20th sequence generation? (the jigsaw 20 rule)