premium banner
Allows asset packs to generate structures in existing zones and biomes

Description

FOR SUPPORT OR BUG REPORTS, PLEASE MESSAGE ME ON DISCORD AT jawzieman

The mod is OUTDATED but some people make it work 

Shared Structures

Generate custom prefab structures in existing biomes/zones using vanilla-style placement patterns.

What it does

  • Loads structure entries from your asset packs
  • Places prefabs during world generation using pattern rules (grid/noise/height/parent/masks)
  • Supports entities and block spawners embedded in prefabs

How to add structuresCreate JSON config files in your pack at:

  • Server/WorldGen/SharedStructures/Prefabs/*.json

Each file contains an array of entries.

Fields

  • Id: unique name for the entry
  • Prefab: prefab asset id(s)
  • Weight: weights matching the Prefab list
  • BiomeMask: wildcard match against the biome id
  • ZoneMask: wildcard match against the zone id
  • Pattern: either { "File": "A.B.C" } or an inline pattern object

Notes

  • Patterns are resolved relative to the worldgen data folder. A file reference A.B.C loads A/B/C.json.
  • Prefabs should be stored under Server/Prefabs/ in your pack.

Example:

[ { "Id": "castlearena", "Prefab": ["YourPack.CastleArena"], "Weight": [1.0], "BiomeMask": ["*Plains*"], "ZoneMask": ["Zone1_Tier1"], "Pattern": { "File": "World.Default.Zones.Pattern_Monuments"} } ]