destruc7i0n / crafting

Website for generating Minecraft crafting recipe JSON files
https://crafting.thedestruc7i0n.ca/
MIT License
59 stars 8 forks source link

Support for 1.20.5+ #32

Closed vico93 closed 2 months ago

vico93 commented 4 months ago

Starting with 1.20.5, Minecraft (Java) did some changes in the internal data of items and blocks and this resulted in changes in the result field, now the former item property was renamed to id and inline result (only with the item id straight on it) was discontinued, the result always is a key with id, count and components (formerly the nbt stuff, if applicable). The link on the start of the paragraph details how its done now.

MISTERPUG51 commented 3 months ago

I just came here to report this, I spent 30 minutes trying to figure out why my recipe wont work.

destruc7i0n commented 2 months ago

This has been updated with the release of 1.21 on the site.

vico93 commented 2 months ago

@destruc7i0n a detail: on the smelting tab, the output is still spitting the item id directly under result: image ...when vanilla smelting files also spits the result as an object with id: image

I think others like blasting, smoking, campfire and stonecutter are also in this format.

destruc7i0n commented 2 months ago

@vico93 thanks for calling out! I had fixed this but forgot to deploy, should be up now.