Adding Custom Structures to Vanilla Structure Pools
Injecting Structures into Pools
Structure Pool API Mod lets you add your own structures to existing structure pools, so they generate alongside vanilla content. The classic example is adding a custom building to villages: instead of replacing village houses, your structure is injected into the village's pool and appears as one more possible piece.
The mod also lets you maximize the spawn count of an injected structure. This controls how many times your structure can appear per pool instance — for example, allowing a custom building to generate up to twice in a single village rather than being limited to one.
To use it, define your structure and register it against the target pool, then set the desired spawn count. Because the mod works at the pool level, it applies to any structure that uses that pool, not just villages. This makes it useful for adding variety to any generated structure without overwriting the original entries.