Confirmedusers, editor
749
edits
(Add modding navbox) |
m (→Usage example) |
||
Line 42: | Line 42: | ||
[ | [ | ||
{ | { | ||
// If you add enabled: false to your recipe, you can simply enable it when the desired mod is loaded | |||
"file": "recipes/grid/best-other-fish-recipe.json", | "file": "recipes/grid/best-other-fish-recipe.json", | ||
"op": "replace", | "op": "replace", | ||
Line 50: | Line 50: | ||
}, | }, | ||
{ | { | ||
// Otherwise, just disable the recipe when the mod is not loaded | |||
"file": "recipes/grid/best-fish-recipe.json", | "file": "recipes/grid/best-fish-recipe.json", | ||
"op": "add", | "op": "add", | ||
Line 58: | Line 58: | ||
}, | }, | ||
{ | { | ||
// Or when two mods are loaded :P | |||
"file": "recipes/grid/best-fish-recipe-with-acorns.json", | "file": "recipes/grid/best-fish-recipe-with-acorns.json", | ||
"op": "replace", | "op": "replace", | ||
Line 69: | Line 69: | ||
}, | }, | ||
{ | { | ||
// For simplicity, you can patch all recipes in a folder at once with * | |||
"file": "recipes/grid/morerecipes-disable/*", | "file": "recipes/grid/morerecipes-disable/*", | ||
"op": "add", | "op": "add", |