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:
assets.txt) and server data (pack
type SERVER_DATA → data.txt).assets.txt / data.txt is treated as a single rule. Blank lines and fully
blank/whitespace-only lines are ignored.# are treated as comments and ignored.* and no other regex meta characters, it will act as a simple wildcard where
* matches any sequence of characters.minecraft:models/block/dirt or
mymod:textures/gui/button.png). Use the examples below as guidance:# 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$
# all recipes in a namespace
my_mod:recipes/*
# exact datapack root file (if needed)
somepack:pack.mcmeta
Pattern.matches semantics used internally).* but no other meta characters is translated to a wildcard (so mod:models/*/block becomes a regex
equivalent to ^mod:models/.*/block$).If your matchers do not appear to take effect, ensure:
namespace:path + path parts). Try a more general wildcard
like * to verify the system is filtering.Prevented loading of resource messages to confirm matches.