Stoneholm is a Fabric mod for 1.18 that adds underground villages to the world. Inspired by Strongholds and Villages (surprise, huh?).
Explore underground villages that have grown into mazes of hallways, stairs, workspaces, abandoned sections, and overgrown areas.
Backports will not be done.
Stoneholm is primarily available on CurseForge (Forge version)
The source code for the forge version is available at TheGrimsey/StoneholmForge
Stoneholm depends on Fabric API and Cloth Config.
Underground Villages are jigsaw structures that make use of template pools and processors as well as structure files. There isn't a ton of easy to understand information about creating jigsaw structures but TelepathicGrunt's StructureTutorialMod repo has been very helpful when developing this mod.
This mod is available under the MIT license. You are free to port, modify, use it as you wish.