Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Creators
Details
DimEnsion Restriction Generation (totally not a backronym)
Allows you to create datapacks to stop certain structures, features and mobs from generating/spawning naturally in certain dimensions without needing to create a files overriding each.
Similar to Dimensional Structure Restrict, but for Fabric and also allowing configuration of features & spawning.
Datapack files are located in data/namespace/dimension_restrict_gen/dimension.json for behaviour affecting the dimension namespace:dimension, and have the following structure:
{
"whitelist": false, // whether to treat this as a whitelist or blacklist - false default
"structure_namespaces": ["minecraft"], // remove entire mod/datapack namespaces of structures
"structures": ["minecraft:fortress"], // remove specific structures
"feature_namespaces": [], // similar but for features
"features": [],
"mob_namespaces": [], // similar but for natural mob spawns
"mobs": [],
}
Everything is optional and is empty (or false) by default.
If a structure/feature/mob matches both a namespace and a specific ID, they cancel each other out (so in the above example, fortresses would be the only structure that appear).
The /locate structure command still works, it just directs you to where the structure would be if it wasn't removed.



