Editing the template pool for taiga village decorations causes errors (1.20.1)

Hi all!

I'm working on a datapack that replaces the default villages with specially themed ones (e.g. desert villages are themed after chess, taiga villages are themed after mushrooms, etc.). I'm running into a problem with the taiga villages specifically where using /place to test out their generation in a completely vanilla superflat world. This only happens when I've added new elements to, or replacing old elements (like switching out spruce and pine trees to huge mushrooms, which I've added as placed features specifically for this) in, worldgen/template_pool/village/taiga/decor.json. Trying /place structure minecraft:village_taiga results in the message "An unexpected error occurred trying to execute that command," with absolutely nothing showing up in the logs to tell me what went wrong.

When this occurs, the game starts to spawn a taiga village, but stops abruptly (sometimes leading to odd results like incomplete houses—here is what those look like); I'm guessing this probably happens when the generation tries to place a problem element? Occasionally, a village will properly spawn, but trying in other chunks in the same world will result in errors.

I tried making a new template pool and having the jigsaw blocks target the new pool, but the error persisted with the exact same results. It's also kinda strange because I edited two other template pools for this village type (streets and terminators) and those haven't caused any problems. Desert villages work like they should; to be fair, though, I haven't tried messing with any of their template pools.

The custom decorations spawn perfectly fine when they overwrite vanilla decorations' structure files and the template pool remains unedited, or is only edited to remove elements.

Does anyone have any idea what's going on with this? I've checked and double checked my structures and jigsaw blocks and etc., but all of that looks normal. I'm completely at a loss.

Continue to help post