Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Tags
Creators
Details
Don't Register That
A quick and dirty Minecraft Fabric mod to stop registration of objects into the registries.
Use Cases
- Removing specific items or blocks from the game
- Preventing problematic or conflicting registrations from other mods
- Fun experimentation
Configuration
The mod is configured by placing plaintext blacklist files at config/dont_register_that/<registry_namespace>/<registry_path>.txt. Each non-empty line is treated as an identifier, lines starting with the # character are ignored.
For example, to block minecraft:elytra being registered into the minecraft:item registry, you would create a file at config/dont_register_that/minecraft/item.txt with the contents:
minecraft:elytra
It is important to ensure that the client-side and server-side configurations match exactly, or there may be registry mismatches.
Limitations
This mod only prevents registration of objects into the registry. It does not make any adjustments to ensure that Minecraft or other mods handle this gracefully. Use this mod at your own risk, and always back up your worlds between config changes.
Internal Behaviour
Calls to Registry.register(Registry<V> registry, ResourceKey<V> resourceKey, T object) are intercepted and cancelled if the ResourceKey matches a blacklisted entry.
The return value is replaced depending on the registry:
- For
minecraft:item,Items.STONEis returned - For
minecraft:block,Blocks.STONEis returned - For all other registries, the return value is the passed
T object
Unregistered Intrusive Holders
Preventing objects being registered often has the side effect of creating unregistered intrusive holders. This is usually an invalid state that will cause a crash on startup, but this mod replaces it with a warning in the log:
[XX:XX:XX] [Render thread/WARN] (Don't Register That) Registry <id> has unregistered intrusive holders, silencing error!

