MinecraftScripterAI
Discord ↗
Link Copied to Clipboard
×
"create a recipe"
/* To create a recipe in Minecraft Forge, you need to create a JSON file in the 'data' folder of your mod. Here's an example of a JSON file for a simple shaped recipe: */ { "type": "minecraft:crafting_shaped", "pattern": [ "XXX", "XYX", "XXX" ], "key": { "X": { "item": "your_mod_id:your_item" }, "Y": { "item": "minecraft:diamond" } }, "result": { "item": "your_mod_id:your_result_item", "count": 1 } } /* Replace 'your_mod_id', 'your_item', and 'your_result_item' with the appropriate values for your mod and items. Save this JSON file in 'data/your_mod_id/recipes' folder with a descriptive name (e.g., 'custom_recipe.json'). */