promotional bannermobile promotional banner

Structure Pool API

📚 API to inject structures into structure pools.
Back to Files

1.3.0+26.1.2

File namestructure_pool_api-fabric-1.3.0+26.1.2.jar
Uploader
daedelus_devdaedelus_dev
Uploaded
Sep 5, 2026
Downloads
60
Size
124.3 KB
Mod Loaders
Fabric
File ID
8814706
Type
R
Release
Supported game versions
  • 26.1.2
  • 26.1.1
  • 26.1

Curse Maven Snippet

Fabric

modImplementation "curse.maven:structure-pool-api-927915:8814706"

Learn more about Curse Maven

What's new

1.3.0

  • Minecraft 26.1.2 support (Java 25).
  • Modernize package and maven group: Java package net.rpg_foundation.structure_pool (was net.fabric_extras.structure_pool), maven group net.rpg_foundation (was net.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.shuffle returns, 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: StructureTemplatePool is no longer mixed into at all (injected elements are now identified by instance identity), and all mixin-owned members are @Unique.
  • injectIntoStructurePool is 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.

This mod has no additional files