Structure Mod into Datapack

Is there a way to make a structure (just one structure) mod into a datapack? I tried using an underground village mod, but I tried so many things, and it still didn’t work.

Continue to help post