Structure Pool API
Can be used to inject structures into structure pools. Popular example:
- Adding custom village structures to villages
Additional features:
- Maximize spawn count of the injected structure (e.g. 2 per village)
Read all technical details in the GitHub readme.
How to Install Structure Pool API (Mod)
Structure Pool API by ZsoltMolnarrr is verified for Fabric, Forge, Neoforge across Minecraft versions 1.20.1, 1.21, 1.21.1, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2 (latest release: 1.3.0+26.3-fabric, file size: 124 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.1, 1.21, 1.21.1, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2) and platform (Fabric, Forge, Neoforge).
- Make sure you have the compatible loader or environment installed for Fabric, Forge, Neoforge.
- Move the downloaded Structure Pool API file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- Minecraft 26.3 support
- Minecraft 26.2 support
- Minecraft 26.1.2 support (Java 25).
- Modernize package and maven group: Java package
net.rpg_foundation.structure_pool(wasnet.fabric_extras.structure_pool), maven groupnet.rpg_foundation(wasnet.foundation); mod id and data unchanged - Spawn limits are now enforced for elements reached through a pool's fallback pool.** They were silently uncapped before. **This is seed-visible**: filtering an element out of a candidate list changes what
Util.shufflereturns, so an affected structure generates differently for the same seed. Only structures whose placement reaches an injected element via a fallback pool are affected. - No longer ships an access widener (Fabric) / access transformer (NeoForge) — one fewer thing to conflict with.
- One fewer mixin:
StructureTemplatePoolis no longer mixed into at all (injected elements are now identified by instance identity), and all mixin-owned members are@Unique. injectIntoStructurePoolis idempotent per pool instance: injecting the same structure into the same pool twice no longer doubles its weight, and warns instead.- Injecting now invalidates the pool's memoised
maxSize. - The "structure pool not found" message goes to the mod logger instead of
System.err, so a mistyped pool id in a config is visible in a filtered log.
- Minecraft 26.3 support
- Minecraft 26.2 support
- Minecraft 26.1.2 support (Java 25).
- Modernize package and maven group: Java package
net.rpg_foundation.structure_pool(wasnet.fabric_extras.structure_pool), maven groupnet.rpg_foundation(wasnet.foundation); mod id and data unchanged - Spawn limits are now enforced for elements reached through a pool's fallback pool.** They were silently uncapped before. **This is seed-visible**: filtering an element out of a candidate list changes what
Util.shufflereturns, so an affected structure generates differently for the same seed. Only structures whose placement reaches an injected element via a fallback pool are affected. - No longer ships an access widener (Fabric) / access transformer (NeoForge) — one fewer thing to conflict with.
- One fewer mixin:
StructureTemplatePoolis no longer mixed into at all (injected elements are now identified by instance identity), and all mixin-owned members are@Unique. injectIntoStructurePoolis idempotent per pool instance: injecting the same structure into the same pool twice no longer doubles its weight, and warns instead.- Injecting now invalidates the pool's memoised
maxSize. - The "structure pool not found" message goes to the mod logger instead of
System.err, so a mistyped pool id in a config is visible in a filtered log.
- Backport to Minecraft 1.20.1 (Fabric + Forge 47)
- Backport to Minecraft 1.20.1 (Fabric + Forge 47)
- Minecraft 26.2 support
- Minecraft 26.1.2 support (Java 25).
- Modernize package and maven group: Java package
net.rpg_foundation.structure_pool(wasnet.fabric_extras.structure_pool), maven groupnet.rpg_foundation(wasnet.foundation); mod id and data unchanged - Spawn limits are now enforced for elements reached through a pool's fallback pool.** They were silently uncapped before. **This is seed-visible**: filtering an element out of a candidate list changes what
Util.shufflereturns, so an affected structure generates differently for the same seed. Only structures whose placement reaches an injected element via a fallback pool are affected. - No longer ships an access widener (Fabric) / access transformer (NeoForge) — one fewer thing to conflict with.
- One fewer mixin:
StructureTemplatePoolis no longer mixed into at all (injected elements are now identified by instance identity), and all mixin-owned members are@Unique. injectIntoStructurePoolis idempotent per pool instance: injecting the same structure into the same pool twice no longer doubles its weight, and warns instead.- Injecting now invalidates the pool's memoised
maxSize. - The "structure pool not found" message goes to the mod logger instead of
System.err, so a mistyped pool id in a config is visible in a filtered log.
- Minecraft 26.2 support
- Minecraft 26.1.2 support (Java 25).
- Modernize package and maven group: Java package
net.rpg_foundation.structure_pool(wasnet.fabric_extras.structure_pool), maven groupnet.rpg_foundation(wasnet.foundation); mod id and data unchanged - Spawn limits are now enforced for elements reached through a pool's fallback pool.** They were silently uncapped before. **This is seed-visible**: filtering an element out of a candidate list changes what
Util.shufflereturns, so an affected structure generates differently for the same seed. Only structures whose placement reaches an injected element via a fallback pool are affected. - No longer ships an access widener (Fabric) / access transformer (NeoForge) — one fewer thing to conflict with.
- One fewer mixin:
StructureTemplatePoolis no longer mixed into at all (injected elements are now identified by instance identity), and all mixin-owned members are@Unique. injectIntoStructurePoolis idempotent per pool instance: injecting the same structure into the same pool twice no longer doubles its weight, and warns instead.- Injecting now invalidates the pool's memoised
maxSize. - The "structure pool not found" message goes to the mod logger instead of
System.err, so a mistyped pool id in a config is visible in a filtered log.
- Minecraft 26.1.2 support (Java 25).
- Modernize package and maven group: Java package
net.rpg_foundation.structure_pool(wasnet.fabric_extras.structure_pool), maven groupnet.rpg_foundation(wasnet.foundation); mod id and data unchanged - Spawn limits are now enforced for elements reached through a pool's fallback pool.** They were silently uncapped before. **This is seed-visible**: filtering an element out of a candidate list changes what
Util.shufflereturns, so an affected structure generates differently for the same seed. Only structures whose placement reaches an injected element via a fallback pool are affected. - No longer ships an access widener (Fabric) / access transformer (NeoForge) — one fewer thing to conflict with.
- One fewer mixin:
StructureTemplatePoolis no longer mixed into at all (injected elements are now identified by instance identity), and all mixin-owned members are@Unique. injectIntoStructurePoolis idempotent per pool instance: injecting the same structure into the same pool twice no longer doubles its weight, and warns instead.- Injecting now invalidates the pool's memoised
maxSize. - The "structure pool not found" message goes to the mod logger instead of
System.err, so a mistyped pool id in a config is visible in a filtered log.
- Minecraft 26.1.2 support (Java 25).
- Modernize package and maven group: Java package
net.rpg_foundation.structure_pool(wasnet.fabric_extras.structure_pool), maven groupnet.rpg_foundation(wasnet.foundation); mod id and data unchanged - Spawn limits are now enforced for elements reached through a pool's fallback pool.** They were silently uncapped before. **This is seed-visible**: filtering an element out of a candidate list changes what
Util.shufflereturns, so an affected structure generates differently for the same seed. Only structures whose placement reaches an injected element via a fallback pool are affected. - No longer ships an access widener (Fabric) / access transformer (NeoForge) — one fewer thing to conflict with.
- One fewer mixin:
StructureTemplatePoolis no longer mixed into at all (injected elements are now identified by instance identity), and all mixin-owned members are@Unique. injectIntoStructurePoolis idempotent per pool instance: injecting the same structure into the same pool twice no longer doubles its weight, and warns instead.- Injecting now invalidates the pool's memoised
maxSize. - The "structure pool not found" message goes to the mod logger instead of
System.err, so a mistyped pool id in a config is visible in a filtered log.
- Modernize package and maven group: Java package
net.rpg_foundation.structure_pool(wasnet.fabric_extras.structure_pool), maven groupnet.rpg_foundation(wasnet.foundation); mod id and data unchanged
- Modernize package and maven group: Java package
net.rpg_foundation.structure_pool(wasnet.fabric_extras.structure_pool), maven groupnet.rpg_foundation(wasnet.foundation); mod id and data unchanged
- Fix structures not generating second first world load
- Fix structures not generating second first world load
- Migrate to Architectury
- Migrate to Architectury
- Lower Fabric API version requirement