Repurposed Structures (Neoforge/Forge)

Repurposed Structures (Neoforge/Forge)

57M Downloads

Make a system that merges json pool files by defining an _additions file

TelepathicGrunt opened this issue ยท 1 comments

commented

an idea I had.
So to have multiple datapacks add houses to
data/repurposed_structures/worldgen/template_pool/village/birch/houses.json

each datapack can define
data/repurposed_structures/worldgen/template_pool/village/birch/houses_additions.json
file.

The issue is I will need to be able to find each _additions file manually, parse its entries, and inject them into my original file. The separate _additions file will allow users to still override the original pool but if they want to say, use my Ice and Fire datapack and Charm datapack together, they can do so without needing to manually combine both datapack's json entries into one file and one datapack.

Will need more investigating into how much work this is or if there is an alternative

commented

added in v2.7.0 which is now released!