In the using_converts_to property of the minecraft:food item stack component does not allow a way to specify the number of items returned to the player. An optional "count" field would be a satisfactory solution as there is an incredibly tedious workaround to give additional items that is inflexible, requiring item modifiers for each number that you want to return, or by using the old workaround of just using an advancement to give the requisite items.
If the optional count field is not provided, the default value would be 1. This would ensure that it remains backwards compatible
As an example:
"components": {
"minecraft:food": {
"nutrition": 0,
"saturation": 0,
"can_always_eat": true,
"eat_seconds": 1,
"using_converts_to": {
"id": "minecraft:torch",
"components": {
...
},
"count":8
}
},
...
}
Please sign in to leave a comment.
0 Comments