RecipeDisabler
A simple Minecraft Fabric mod that allows excluding the loading of specific recipes and resources in the game. You no longer need to resort to complex KubeJS or CraftTweaker scripts when working with recipes from other mods.
Compatibility
The mod is designed for Minecraft version 1.18.2 and above. Earlier versions have not been tested and will likely not be supported.
Main Purpose
This tool is ideal for creating modpacks or using alongside unmodified datapacks. It's important to note that the mod only needs to be installed on the server side.
Advantages Over Alternatives
While KubeJS and CraftTweaker are powerful tools, their methods for disabling crafts can seem overly complicated and have limitations regarding the types of recipes that can be deactivated. RecipeDisabler offers a simpler and more universal approach.
How to Use
All recipes that need to be disabled are specified in the configuration file config/recipeDisable.json5 in the disabled_recipes list. You can enter recipe identifiers either with the initial recipes/ prefix or without it. Paths are specified in the standard way, similar to how it's done in datapacks.
To find recipe identifiers from other mods, it's recommended to use Roughly Enough Items (REI) with enabled tooltips. Identifiers can also be found in the data folder inside the jar files of the respective mods.
Demonstration