Mojira Archive
MC-278350

Cannot put components in recipe ingredients on MC Java 1.21.3 (this was possible in 1.21/1.21.1)

In Minecraft 1.21/1.21.1 we were able to put components in recipe input/ingredients, but in 1.21.3 this wont work

In my 1.21.1 datapack this work:

"X": {
"item": "minecraft:paper",
"components":

{ "custom_model_data": 2 }

}

I know that the format is changed and so I did with my recipes, but I can't put components anymore in ingredients

How can I do the same with the new ingredients format?

Full example (that work in 1.21/1.21.1) attached

Steps to reproduce;

  • create a recipe like the one attached and put it in a datapack

In the 1.21.3 (after changing the format to the new one for the ingredients) I can't put components in the input items

Invalid

Enrico357

2024-11-16, 01:09 AM

2024-11-16, 10:13 AM

2024-11-16, 10:13 AM

0

2

Unconfirmed

(Unassigned)

1.21.3

-