Mineuniverse
Log in Register
Mods

Dimensional Structure Restrict

A lightweight mod that allows you to control where structures can spawn based on dimension and structure rules. This mod provides fine-grained control over world generation behavior — especially useful for modpack developers and world designers.
by cookta2012
Download Claim this project
31,117 downloads
0 likes
Updated Jul 6, 2026
0 hypes
World Gen

Dimensional Structure Restrict (DimStructRestrict)

DimStructRestrict is a lightweight Minecraft Forge mod for Minecraft 1.20.1 that allows you to control where structures can spawn based on dimension and structure rules. Designed and developed by Troy Cook (@cookta2012), this mod provides fine-grained control over world generation behavior — especially useful for modpack developers and world designers.

Initial release will be 1.20.1 other versions will be coming later.


🌍 Features

  • Prevent or allow specific structures from generating in specific dimensions.
  • Define whitelist or blacklist rules.
  • Optionally flag structures to not place the structure while it believes it placed it.
  • JSON-based configuration — supports comments and regenerates missing keys automatically.
  • Logs rule enforcement with structure/dimension context for debugging.

🔧 Configuration

The config file is located at:

/config/dimstructrestrict.json

If the file doesn't exist, it will be generated with example entries.


📐 Structure of dimstructrestrict.json

{
  "structures": [
    {                                       // Individual structure rules will override dimension rules FULL STOP
      "id": "minecraft:village_plains",     // Structure ID
      "whitelist": ["minecraft:overworld"], // Allowed dimensions
      "false_place": false,                 // If true, the structure will be "falsely placed" (may break mods)
      "active": true                        // Whether this rule is active
    }
  ],
  "dimensions": [
    {
      "id": "minecraft:overworld",        // Dimension ID
      "whitelist": [],                    // Structures allowed in this dimension
      "active": true
    }
  ]
}

🧠 Rule Types

whitelist

Only listed dimensions or structures are allowed.

blacklist

Listed dimensions or structures will be prevented.

⚙️ false_place (optional, default false)

If true, prevents the structure from placing without skipping the generation step meaning it is marked on the map as generated.

> ⚠️ May cause issues with some structure-dependent mods.

🔄 active (optional, default false)

Controls whether the rule is enforced. Useful for temporarily disabling rules without removing them.


🧪 Example Use Case

{
  "structures": [
    {
      "id": "minecraft:ruined_portal",
      "blacklist": ["minecraft:the_end", "minecraft:the_nether"],
      "active": true
    }
  ],
  "dimensions": [
    {
      "id": "minecraft:overworld",
      "whitelist": ["minecraft:village_savanna", "minecraft:village_plains"],
      "false_place": true,
      "active": true
    }
  ]
}

🛠️ Advanced Setup

The mod uses a generic Rule system internally with two maps:

  • STRUCTURE_RULES for structure-specific rules
  • DIMENSION_RULES for dimension-based restrictions

Each Rule is backed by:

  • id: ResourceLocation
  • mode: WHITELIST or BLACKLIST
  • resource: Set of targets (structure/dimension IDs)
  • false_place: Boolean
  • active: Boolean

🧑‍💻 Developer Notes

  • Author: Troy Cook
  • GitHub: @cookta2012
  • Language: Java
  • Environment: Minecraft Forge for Minecraft 1.20.1

📄 License

MIT License.


📬 Feedback & Contributions

Feel free to open an issue or fork the project if you'd like to expand the system (e.g., gamerule-based control, datapack integration, or GUI support).

1.0.1-1.21.1
MC Forge, 1.21.1, NeoForge, Server
Release 2026-05-21 Get
1.0.0-1.20.1
MC 1.20.1, Forge, NeoForge, Server
Beta 2025-04-22 Get
Talismans-1.7.10-1.1.4.jar
MC 1.7.10
Release 2014-08-11T20:04:05.147Z Get
Talismans-1.7.10-1.1.2.jar
MC 1.7.2, 1.7.10
Release 2014-07-14T09:37:42.663Z Get
Talismans-1.7.10-1.1-0.jar
MC 1.7.2, 1.7.10
Release 2014-06-24T08:56:36.16Z Get
Talismans-1.7.2-1.0-11.jar
MC 1.7.2
Release 2014-05-22T17:51:02.277Z Get

You Might Also Like

BetterEnd Reforked
Updated/Maintained Port of BetterEnd to Forge
9,810,424
🌷Floral Flair🌷
A mod dedicated to adding flowers to the various biomes of Minecraft!
991,389
Countered's Terrain Slabs
A mod designed to enhance world generation and elevate the gameplay experience by smoothing out terrain with custom slabs, making exploration more seamless!
990,651
Burnt Forest
This mod add a new minecraft biome.
98,735
Meme Garbage
Complete and utter meme Garbage.
9,958
project-569859
Adds vanilla friendly quicksand
9,946