terra121 icon indicating copy to clipboard operation
terra121 copied to clipboard

[Compatibility] Dynamic Trees

Open SpeakerHornet opened this issue 5 years ago • 9 comments
trafficstars

It would be cool to see Dynamic Trees compatibility in Terra. It would add a lot to vegetation. Here's the mod link: https://www.curseforge.com/minecraft/mc-mods/dynamictrees

SpeakerHornet avatar Mar 03 '20 16:03 SpeakerHornet

Not a bad idea. It's actually been suggested before. I can look into it.

orangeadam3 avatar Mar 03 '20 17:03 orangeadam3

There is a compatibility mod for dynamic trees already, but I'm not sure if it still works with latest versions and how it interacts with this mod

Niko-sk2x avatar Mar 03 '20 19:03 Niko-sk2x

I tried the compatibility mod and it doesn't work.

SpeakerHornet avatar Mar 05 '20 15:03 SpeakerHornet

Does it crash or just do normal trees?

orangeadam3 avatar Mar 05 '20 17:03 orangeadam3

It just makes normal trees

SpeakerHornet avatar Mar 08 '20 14:03 SpeakerHornet

So I tried writing some compatibility code and it sort of works. The problem is that dynamictrees uses something called a Poisson disk to keep the trees from overlaping. I really don't understand how it works so until I do compatbility will probably have to be on hold

orangeadam3 avatar Mar 08 '20 23:03 orangeadam3

It should work with the existing addon if you post the right decoration event and respect cancelling it

Niko-sk2x avatar Mar 09 '20 05:03 Niko-sk2x

I don't think that will work because I use a custom tree count that is based on the tree cover dataset and not based on the biome. I think the way this generates trees is procedural and based on the biome. When I tried compatibility I made it get the species from the biome and manually place the species. The problem is the trees overlap with each other so I'd have to figure out how to use dynamictrees' Poisson disc noise system.

orangeadam3 avatar Mar 09 '20 07:03 orangeadam3

What about Oh The Biomes You'll Go?

Atopik2 avatar Jan 05 '21 00:01 Atopik2