Page 3
3 - Modifying
This Part Of the Wiki Show How To Modify The Recyling Mod/Datapack
How Do I Modify Recycling Recipes?
Simple! Just Edit The .json File.
3.1 - Editing Recipes
For Start There Are Two Types of Recipes:
minecraft:crafting_shaped
minecraft:crafting_shapeless
What Is The Recipe Type: minecraft:crafting_shaped
?
The minecraft:crafting_shaped
Say The Recipe Have A Pattern
Example:
{
"type": "minecraft:crafting_shaped",
"pattern": [
"/GR",
"P/P",
"RG/"
],
"key": {
"/": {
"item": "minecraft:stick"
},
"G": {
"item": "minecraft:glowstone_dust"
},
"R": {
"item": "minecraft:redstone_lamp"
},
"P": {
"item": "minecraft:redstone_block"
}
},
"result": {
"item": "minecraft:glowstone",
"count": 4
}
}
The Result Will be that:
But If We Change Something It Won't Craft The Item:
What Is The Recipe Type: minecraft:crafting_shapeless
?
minecraft:crafting_shapeless
Says The The Recipe Doesn't Have A Pattern
For An Example I'll Use chest.json But Before We View The Code, How Do I Get Theese Files?
You'll Need To Extract The Files Using For Example: 7-zip
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "minecraft:chest"
}
],
"result": {
"item": "minecraft:oak_planks",
"count": 8
}
}
This Will Result This Is Recipe:
Observation: The Ingredient Don't Need to Be Placed Exactly As the Image Above(The Result Will be The Same)
Now I Know How To Modify The Recipes
Last updated
Was this helpful?