[bug] Smelting recipes doesn't check for output slot
x8192 opened this issue · 0 comments
Version
1.19 fabric
Describe the bug
When there are two recipes with same input id and same output id present, the input item can be replaced interchangeably and it will produce the item output slot had.
To Reproduce
- Create two recipes with same output item id.
- Smelt it.
- Replace the input item from other recipe and see items still produce the same item output slot had.
Expected behavior
I expected it not to output items like the output slot had.
That's where the problem starts
My json files
Normal beef
{
"type": "minecraft:smelting",
"cookingtime": 200,
"experience": 0.35,
"ingredient": {
"item": "minecraft:beef",
"data": {
"deny": {
"CustomModelData": 1
}
}
},
"result": {
"item": "minecraft:cooked_beef"
}
}
Custom meat
{
"type": "minecraft:smelting",
"cookingtime": 200,
"experience": 0.35,
"ingredient": {
"item": "minecraft:beef",
"data": {
"require": {
"CustomModelData": 1
}
}
},
"result": {
"item": "minecraft:cooked_beef",
"data": {
"CustomModelData": 1,
"display": {
"Name": "[{\"text\":\"Custom meat\",\"italic\":false}]"
}
}
}
}