How to remove recipes - Classics-Craftworks/Better-Craftables GitHub Wiki
Are there recipes in Better Craftables that don’t interest you? No problem! Follow these steps to tailor Better Craftables to your needs.
Method 1 - Filter Data Pack
1. Create a folder
- Create a new folder in your Minecraft world's
datapacksfolder. Example:/datapacks/disable_recipes/
2. Create a pack.mcmeta file
- Inside your new datapack folder, create a file called
pack.mcmeta - Open it with a text editor (Notepad++, VS Code, etc.)
3. Write the pack.mcmeta content
- Copy/paste the following structure and adjust it to your needs
{
"pack": {
"min_format": 88,
"max_format": 88,
"description": "Disable Recipes"
},
"filter": {
"block": [
{
"namespace": "new_recipes",
"path": "recipe/bell.json"
},
{
"namespace": "alternative_recipes",
"path": "recipe/alt_bow.json"
}
]
}
}
"namespace" = the namespace where the recipe is registered. In the case of Better Craftables, these are:
alternative_recipesminecraftnew_recipesredyeingsandstone_dyeingsmelting
"path" = the exact path to the recipe file inside that namespace.
4. (Optional) Add more recipes
- To disable more recipes, just add more blocks inside the "block" list.
Example format for each entry:
{
"namespace": "new_recipes",
"path": "recipe/recipe_name.json"
}
5. Create the data pack
- Select the
pack.mcmetafile - Compress it into a
.zipfile using a program such as WinRAR or 7-Zip
6. Load the data pack
- Move the
.zipfile you just created into your world'sdatapacksfolder - Run
/reloadin-game or restart the world/server - The unwanted recipes should now be gone!
Method 2 - File Modifiction (not recommended)
Please keep in mind that support will not be provided to those who modify the pack.
Data Pack
- Extract the
BetterCraftables.zipfile using a program such as WinRAR or 7-Zip - Open the extracted folder
- Open
datafolder - Locate the recipe(s) you want to remove:
new_recipesfolder = new crafting recipes added by the packalternative_recipesfolder = alternative versions of vanilla crafting recipes added by the packminecraftfolder = vanilla recipes that have been tweakedredyeingfolder = redyeing recipes for blocks such as Concrete or Terracottasandstone_dyeingfolder = dyeing recipes for Sandstone and its many variantssmeltingfolder = new smelting (furnace) recipes added by the pack
- Delete the relevant
.jsonfile(s) of the recipes you want to remove - Return back to the root of the extracted folder (contains the
datafolder,pack.png&pack.mcmeta) - Compress all of the files into a
.ziparchive using your program of choice
Mod
- Extract the
BetterCraftables.jarfile using a program such as WinRAR or 7-Zip - Open the extracted folder
- Open
datafolder - Locate the recipe(s) you want to remove:
new_recipesfolder = new crafting recipes added by the packalternative_recipesfolder = alternative versions of vanilla crafting recipes added by the packminecraftfolder = vanilla recipes that have been tweakedredyeingfolder = redyeing recipes for blocks such as Concrete or Terracottasandstone_dyeingfolder = dyeing recipes for Sandstone and its many variantssmeltingfolder = new smelting (furnace) recipes added by the mod
- Delete the relevant
.jsonfile(s) of the recipes you want to remove - Return back to the root of the extracted folder (contains the
datafolder,pack.png&pack.mcmeta) - Compress all of the files into a
.ziparchive using your program of choice - Rename the
.zipfile to have a.jarextension