Resource Remover: Block Unwanted Files in Minecraft

Resource Remover lets you block unwanted textures, recipes, and data for Minecraft. Configure simple matcher files and enjoy a cleaner game.

Resource Remover

Minecraft modpacks are amazing, but they often come with baggage. Maybe a mod includes a texture you dislike, a recipe you find overpowered, or a datapack that conflicts with your setup. Traditionally, fixing this meant creating a full resource pack or data pack just to override a single file. That is tedious and error-prone. The Resource Remover mod offers a far more elegant solution: it simply prevents selected resource files from being loaded by the game in the first place.

This lightweight tool acts as a filter between the game and its resources. Instead of replacing files with blank versions (which can cause annoying loading errors), it stops them from being returned to the game entirely. The result is a cleaner, more stable Minecraft experience tailored exactly to your needs.

Why You Need Resource Remover for Minecraft

There are two primary use cases for this mod. First, it solves the "blank file" problem. Many players have tried to disable a resource by overriding it with an empty file. This often leads to cryptic errors or the game complaining about malformed data. Resource Remover eliminates this issue by intercepting the resource before it is loaded.

Second, it is a godsend for modpack developers. If you want to disable specific assets or data from a mod without creating a full override pack, this is your tool. You can block a single texture, an entire folder of models, or a specific loot table with just a few lines of text.

How the Mod Works

The mod wraps each resource with a filter. It checks the resource identifier (the string like minecraft:models/block/dirt) against your configured rules. If a match is found, the resource is prevented from loading, and a short info message is logged to the console. This matching is applied separately for client assets (like textures and sounds) and server data (like recipes and loot tables).

This separation is a key feature. You use one file for client resources and another for server data, giving you precise control over every aspect of the game.

Configuration: Simple Text Files

Configuration is refreshingly simple. You do not need to edit JSON or navigate complex GUIs. All you need are two plain-text matcher files located in the ./config/resource_remover/ folder:

  • assets.txt – Used for client resources (textures, models, sounds, lang files, etc.).
  • data.txt – Used for server/data resources (recipes, tags, loot tables, datapacks, etc.).

If a matcher file is missing or unreadable, the mod will automatically create an empty file for you. This ensures the mod never crashes on startup due to a missing config.

Matcher Rules and Syntax

Each non-empty line in these files is treated as a single rule. Blank lines and lines starting with # (for comments) are ignored. The mod automatically determines the rule mode based on the content of the line:

  • Regular Expression: If the line contains regex metacharacters (like ., +, ?, |, (, ), ^, $, or \), it is compiled as a Java regex and matched against the whole resource string.
  • Wildcard: If the rule contains * but no other regex metacharacters, it acts as a simple wildcard where * matches any sequence of characters.
  • Exact Match: Otherwise, the rule is treated as an exact full-string match.

This three-tier system is powerful yet easy to grasp. You can start with simple wildcards and graduate to complex regex patterns as you become more comfortable.

Practical Examples

Let us look at some real-world examples to get you started. Remember, resource identifiers use the string form, such as minecraft:models/block/dirt or mymod:textures/gui/button.png.

Client (assets.txt) examples:

  • # block models
  • minecraft:models/block/*
  • # specific texture
  • my_mod:textures/gui/button.png
  • # regex example: any PNG ending with _icon.png
  • .*_icon\.png$

Server/data (data.txt) examples:

  • # all recipes in a namespace
  • my_mod:recipes/*
  • # exact datapack root file
  • somepack:pack.mcmeta

Installation and Compatibility

Installing the mod is straightforward. First, ensure you have the correct loader installed. The mod is designed for the Fabric loader and works seamlessly with Minecraft versions 1.20 and 1.21. To download Resource Remover, simply grab the jar file from the official mod page and place it in your mods folder. If you are using a launcher that supports mod management, the process is even easier. For instance, the foxygame.net launcher offers a one-click install for Resource Remover for Minecraft, automatically handling version compatibility and updates so you can focus on playing rather than managing files.

Once the file is in place, launch the game once to generate the config folder. Then, open the two text files and start adding your rules. The mod will log a message like Prevented loading of resource for every match, which is invaluable for troubleshooting.

How to Install Resource Remover Manually

If you prefer manual installation, here is a step-by-step guide on how to install:

  1. Download the mod jar from a trusted source like Modrinth or CurseForge.
  2. Navigate to your Minecraft installation folder.
  3. Open the mods folder.
  4. Drop the downloaded jar file into the folder.
  5. Launch Minecraft with the Fabric loader.

After the first launch, you will find the config/resource_remover directory with your two matcher files.

Troubleshooting Common Issues

If your matchers do not appear to take effect, there are a few things to check. First, ensure your patterns match the full ResourceLocation string form, including the namespace and all path parts. A common mistake is using a partial path. Second, try a more general wildcard like * to verify the system is filtering at all. If that works, you know your specific pattern is wrong. Finally, check the game log for Prevented loading of resource messages to confirm that matches are being made.

Another edge case: if a rule contains regex metacharacters, it is compiled as a full Java regex. If the regex is invalid, the mod falls back to treating it as an exact literal match. This graceful fallback prevents crashes but can lead to confusion if you make a typo in a complex pattern.

Conclusion

Resource Remover is a small but mighty tool for any Minecraft player who values control over their game environment. Whether you are a modpack developer cleaning up conflicting data or a player who simply wants to remove an ugly texture, this mod delivers a clean, efficient solution. Its simple text-file configuration, powerful matching syntax, and clear logging make it accessible to beginners and indispensable for experts. Download it today and take the first step toward a perfectly tailored Minecraft experience. The foxygame.net launcher also features an add-on catalog where you can find and install Resource Remover with automatic updates, ensuring you always have the latest version without manual checks.