Jump to content

help me Recipes files.json


BaoMini

Recommended Posts

I have a sample file.

Recipes files.json Can determine the number of feathers?
I need f = 5 ea
I want to use feather to craft 5 pieces.

to remember how to do?

version 1.12.2-1.15.2

Sorry i'm not good at english.

Thanks in advance.

{
  "type": "minecraft:crafting_shaped",
  "pattern": [
    " i ",
    " s ",
    " f "
  ],
  "key": {
    "i": {
      "type": "forge:ore_dict",
      "ore": "plankWood"
    },
    "s": {
      "type": "forge:ore_dict",
      "ore": "stickWood",
    },
    "f": {
      "type": "forge:ore_dict",
      "ore": "feather"
    }
  },
  "result": {
    "item": "weapon:arrow_wood",
    "count": 4
  },
  "conditions": [
    {
      "type": "item_exists",
      "item": "weapon:arrow_wood"
    }
  ]
}

Edited by BaoMini
  • Confused 1
Link to comment
Share on other sites

2 hours ago, BaoMini said:

  "pattern": [
    " i ",
    " s ",
    " f "
  ],

Unless you absolutely want your crafting recipe to only be craftable in the center of the grid, remove the surrounding spaces.

2 hours ago, BaoMini said:

Recipes files.json Can determine the number of feathers?

No, recipe input stacks are always treated as size 1.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

23 minutes ago, Draco18s said:

ยกเว้นว่าคุณต้องการให้สูตรการประดิษฐ์ของคุณเป็นงานฝีมือที่อยู่  ตรงกลาง  ของตารางเท่านั้นให้ลบช่องว่างโดยรอบออก

ไม่ได้สแต็คอินพุตสูตรจะถือว่าเป็นขนาด 1 เสมอ

Thank you. Now I understand.

Link to comment
Share on other sites

4 hours ago, diesieben07 said:

For  the future: this does not make any sense.

Information is different between versions. State the actual version you are using.

I use version 1.12.2.
I don't know what the other versions are like.
Previously, I used 1.7.10.

 

I now understand recipe input stacks are always treated as size 1.

I hope to be able to break this limit ..

Edited by BaoMini
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.