SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Source-checkedWorld generation

Dimensional Structure Restrict

by cookta2012 · for Minecraft

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.

1.6KDownloads
6 mo agoLast updated
MITLicense
Forge · NeoForgeLoaders

About Dimensional Structure Restrict

From Modrinth

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.

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

Highlights

From source data

Game versions

Supports 2 Minecraft versions, the newest being 1.21.1.

Loaders

Runs on Forge and NeoForge.

Footprint

Rated a light load on a server.

Dimensional Structure Restrict on Nxeon

From our catalogue
One-click install
Supported on Nxeon Minecraft servers. We download it from Modrinth, place it, and restart the server.
Server side
Required on the server
Server type needed
Forge, NeoForge
Server load
light
Smallest plan we suggest
Minecraft — 1.5 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
1.0.1-1.21.1, released 2026-05-21

Game versions by loader

LoaderGame versionsNewest
Forge1.20.11.20.1
NeoForge1.21.11.21.1

From 3 recorded builds of Dimensional Structure Restrict.

Recent builds

BuildReleasedGame versionsLoaders
1.0.1-1.21.12026-05-211.21.1NeoForge
1.0.1-1.20.12025-04-251.20.1Forge
1.0.0-1.20.12025-04-221.20.1Forge

Run Dimensional Structure Restrict on a Minecraft server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Modrinth as “Mods”

World generation

Changes or adds to how new terrain, biomes and structures are created.

Runs on your server

From source side support

Modrinth lists Dimensional Structure Restrict as required on the server. Check its Modrinth page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
ForgeNeoForge
Runs on
Serverrequired on the server
Game versions
1.21.1 and 1 earlier

Verified at the source

  • ✓ModrinthOfficial listing, checked 2026-10-17Open ↗
  • ✓Authorcookta2012, as published on Modrinth
  • ✓LicenseMITFree

Dimensional Structure Restrict, answered

Generated from the mod’s own source data.

Do my players need to install Dimensional Structure Restrict?

Modrinth lists Dimensional Structure Restrict as required on the server. Check its Modrinth page to see whether players need it too.

Which loaders does it support?

Forge and NeoForge.

Is it free?

Yes. Dimensional Structure Restrict is free to download from Modrinth. Its license is MIT.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Dimensional Structure Restrict on a Minecraft server.

Deploy in about a minute from $4.20 a month, then add Dimensional Structure Restrict in one click.