Registry Blocker
The Registry Blocker mod offers a straightforward and efficient solution to block the registration of various game elements through a configuration file. Core features include customization via the config/registry-blocker.json file, where each key corresponds to a registry identifier and the value specifies the specific item to block.
The configuration automatically updates during data pack reloads, making element management simple and convenient. The system also generates relevant errors in the latest.log file if a blocked item is required by other resources.
Key Application Areas
- Complete removal of unwanted structures from the world
- Exclusion of unnecessary items from game packs
- Disabling structure sets to prevent overlap and enhance overall world organization
Configuration Example
{
// Since https://github.com/misode/mcmeta/blob/data-json/data/minecraft/worldgen/structure_set/pillager_outposts.json#L6 requires this entry, the world won't load
"minecraft:worldgen/structure_set": [
"minecraft:villages"
],
"minecraft:block": [
"minecraft:redstone_wire"
]
}
This example demonstrates blocking villages in structure sets and removing redstone dust blocks from the game world.