Dimensional Structure Restrict

Quick rating

Community listing page, reviews here may not be monitored by the author.

Dimensional Structure Restrict

No reviews yet

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.

World Gen Improvements
Mod Loaders
Forge
NeoForge
Minecraft

Community voices

Reviews

List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Show per page
10
25
50
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Where It Runs
Server Only

Runs entirely on the server. Also works in singleplayer.

About

Project Details

Type
Mod
License
MIT License
Latest Version
1.0.1-1.21.1

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

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).

Dimensional Structure Restrict

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:

<minecraft_root>/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).

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~39,000
Total Downloads
CurseForge
~38,000
Modrinth
~1,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works