
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.
About this Mod
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_RULESfor structure-specific rulesDIMENSION_RULESfor dimension-based restrictions
Each Rule is backed by:
id: ResourceLocationmode: WHITELIST or BLACKLISTresource: Set of targets (structure/dimension IDs)false_place: Booleanactive: 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).
Available Versions
How to Install Dimensional Structure Restrict on Your Server
Order Server
Order a Minecraft Java server with at least 4 GB RAM (6 GB recommended).
Set forge Loader
In the panel under "Egg", select the forge loader and matching Minecraft version (1.21.1).
Install Mod
Open the mod browser in the dashboard and search for "Dimensional Structure Restrict". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.1, 1.20.1
Server-side
✓ RequiredRecommended RAM
6 GB(min. 4 GB)Frequently Asked Questions
Dimensional Structure Restrict server crashes on startup – what to do?
Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 4 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.
Is Dimensional Structure Restrict compatible with forge and neoforge?
Dimensional Structure Restrict officially supports forge, neoforge for Minecraft 1.21.1, 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Dimensional Structure Restrict – how to optimize performance?
Recommended RAM: 6 GB (per 5 players). Use /spark profiler to check if Dimensional Structure Restrict consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Dimensional Structure Restrict with just one click on your server.