
Resource Remover
Prevent specific resources in resource packs and data packs from being loaded by the game.
About this Mod
Resource Remover
A lightweight mod that prevents selected resource files from being loaded by the game. You configure which resources to
block using two plain-text matcher files:
./config/resource_remover/assets.txt— used for client resources (textures, models, sounds, lang, etc.)./config/resource_remover/data.txt— used for server/data resources (recipes, tags, loot tables, datapacks, etc.)
If a matcher file is missing or unreadable the mod will create an empty file automatically.
This mod is useful for:
- Cannot fully remove a resource file or annoying about loading errors when override with a blank file.
- Modpack developers who want to disable specific resources from mods without needing to create a full resource pack /
data pack.
How it works
- The mod wraps each resource with a filter that checks resource identifiers (ResourceLocation.toString()) against
the matchers. - When a resource matches a rule the mod prevents it from being returned to the game (and logs a short info message).
- Matching is applied separately for client assets (pack type CLIENT_RESOURCES →
assets.txt) and server data (pack
type SERVER_DATA →data.txt).
Matcher rules and syntax
- Each non-empty line in
assets.txt/data.txtis treated as a single rule. Blank lines and fully
blank/whitespace-only lines are ignored. - Lines starting with
#are treated as comments and ignored. - The implementation supports three rule modes (determined automatically):
- Regular expression: if the line contains regex metacharacters (one of . + ? | ( ) [ ] { } ^ $ \ ) it will be
treated as a Java regular expression and matched against the whole resource string. - Wildcard: if the rule contains
*and no other regex meta characters, it will act as a simple wildcard where*matches any sequence of characters. - Exact match: otherwise the rule is treated as an exact full-string match.
- Regular expression: if the line contains regex metacharacters (one of . + ? | ( ) [ ] { } ^ $ \ ) it will be
Examples
- Resource identifiers are compared using their string form (for example
minecraft:models/block/dirtormymod:textures/gui/button.png). Use the examples below as guidance:
Client (assets.txt) examples
# block models
minecraft:models/block/*
# specific texture
my_mod:textures/gui/button.png
# regex example: any PNG under any namespace ending with _icon.png
.*_icon\.png$
Server/data (data.txt) examples
# all recipes in a namespace
my_mod:recipes/*
# exact datapack root file (if needed)
somepack:pack.mcmeta
Notes on matching behavior
- A rule that contains any regex metacharacter is compiled as a full Java regex and matched against the whole resource
string (Pattern.matchessemantics used internally). - A rule with
*but no other meta characters is translated to a wildcard (somod:models/*/blockbecomes a regex
equivalent to^mod:models/.*/block$). - If a rule is an invalid regex it will be treated as an exact literal match as a fallback.
Troubleshooting
If your matchers do not appear to take effect, ensure:
- Your patterns match the full ResourceLocation string form (
namespace:path+ path parts). Try a more general wildcard
like*to verify the system is filtering. - Check the game log for
Prevented loading of resourcemessages to confirm matches.
Available Versions
How to Install Resource Remover on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.10).
Install Mod
Open the mod browser in the dashboard and search for "Resource Remover". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.10, 1.21.9, 1.21.8 (+17 more)
Server-side
~ OptionalRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Resource Remover server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.10). You can switch loaders with one click in the panel.
Is Resource Remover compatible with fabric and forge and neoforge?
Resource Remover officially supports fabric, forge, neoforge for Minecraft 1.21.10, 1.21.9, 1.21.8. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Resource Remover – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Resource Remover 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 Resource Remover with just one click on your server.