Jump to content

JSON smelting recipe output with count > 1 no longer works in 1.20.2


itzer

Recommended Posts

In 1.19.2 and prior to that, it was possible to create a smelting recipe that produced a stack of more than one result item (e.g. 1 dirt smelts to 2 diamonds) by using the following in the recipe JSON:

"result": {
    "item": "minecraft:diamond",
    "count": 2
  },

This was added by forge, it is not vanilla behaviour (in vanilla you can only say "result": "minecraft:diamond").

After updating to 1.20.2, the above method does not work, and when parsing the JSON file it gives this error:

Not a string: {"item":"minecraft:diamond","count":2}

I assume this means it is looking for just the string "minecraft:diamond", the only behaviour allowed in vanilla, rather than JSON object that forge used to allow. Is there a new way to replicate the old behaviour in 1.20.2?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

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