mojira.dev
MC-141073

3 carpets not enough to smelt one item in smoker or blast furnace

The burn time of carpets needs to be adjusted. It's 67 for normal furnace. Rounding down to 33 is the problem.

Code analysis

Code analysis based on MCP-Reborn 1.17.1 by @unknown can be found in this comment.

In net.minecraft.world.level.block.entity.BlastFurnaceBlockEntity.java and net.minecraft.world.level.block.entity.SmokerBlockEntity.java, the duration each fuel item lasts is calculated with the following method:

protected int getBurnDuration(ItemStack $$0) {
   return super.getBurnDuration($$0) / 2;
}

According to net.minecraft.world.level.block.entity.AbstractFurnaceBlockEntity.java, carpets have a burn time of 67. When the integer 67 is divided by the integer 2 in the method described above, the output value is 33. Therefore, three carpets have a burn time of 99, which is short of the time of 100 required to smelt the item.

Linked issues

Attachments

Comments 15

Can confirm in 20w51a.

Can confirm in 21w03a.

Can confirm in 21w05b.

Can confirm in 21w06a.

Can confirm in 1.16.5 and 21w08b.

5 more comments

Can confirm in 1.18.

Can confirm as of 22w03a

Can confirm in 1.18.2.

Can confirm in 1.19.

Can confirm in 1.19.2.

ilmango

(Unassigned)

Confirmed

Gameplay

Low

Crafting

blast_furnace, carpet, smoker

Minecraft 18w50a, Minecraft 19w07a, Minecraft 19w08b, Minecraft 19w12b, Minecraft 19w13b, ..., 1.19.4, 1.20.1, 1.20.4, 1.21, 1.21.4

Retrieved