mojira.dev
MC-305693

Smelting recipes do not add the correct count of items to the output

Expected Behavior

A smelting recipe with a count greater than 1 in the result field should add that many items to the output item stack when smelting finishes.

Observed Behavior

When the output stack is empty, the correct number of items is added to the output stack. (i.e. if the count for a smelting recipe is set to 4, and the furnace output is empty, the initial item stack will have 4 items in it.

After the first item is smelted, future smelting only adds 1 item to the output stack, regardless of the count.

Steps to Reproduce

  1. Add the attached datapack to a world.

  2. Place a stack of cactus in the furnace.

  3. Place fuel in the furnace.

  4. After the first item is smelted, there will be 4 dye in the output slot:

    2026-01-13_09.34.57.png
  5. After the second item is smelted, there will be 5 dye int the output slot.

    2026-01-13_09.35.15.png

The attached datapack adds a single recipe that causes a single cactus to produce 4 green_dye instead of 1. The recipe’s cookingtime has been decreased to make observing the bug faster:

data/minecraft/recipe/green_dye.json :

{
  "type": "minecraft:smelting",
  "category": "misc",
  "cookingtime": 20,
  "experience": 1.0,
  "ingredient": "minecraft:cactus",
  "result": {
    "id": "minecraft:green_dye",
    "count": 4
  }
}

Attachments

Comments 1

I’ve also checked, and this does impact blasting and smoking recipes, though campfire_cooking do behave as expected.

DqwertyC

boq

Confirmed

Platform

Normal

Crafting, Data Packs

26.1 Snapshot 3

Retrieved