Recycling Wiki
Getting StartedLearning 1Github RepositoryWebsite
  • Getting Started
    • README
    • CONTRIBUTING
    • Security Policy
  • Learning 1
    • Learning 1
      • Introdutcion To Recycling Mod
        • Page 1
        • Page 2
      • In The Recycling Mod Wave
        • Page 3
        • Page 4
  • Learning 2
    • Learning 2
      • In The Recycling Mod Wave 2
        • Page 5
Powered by GitBook
On this page
  • 3 - Modifying
  • 3.1 - Editing Recipes

Was this helpful?

Edit on GitHub
  1. Learning 1
  2. Learning 1
  3. In The Recycling Mod Wave

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

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

PreviousIn The Recycling Mod WaveNextPage 4

Last updated 1 year ago

Was this helpful?

glowstone
glowstone2
glowstone3

For An Example I'll Use But Before We View The Code, How Do I Get Theese Files?

chest_recipe
chest.json