Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-141073

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 18w50a, Minecraft 19w07a, Minecraft 19w08b, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, 1.15.2, 20w51a, 21w03a, 1.16.5, 21w06a, 21w08b, 21w10a, 1.17, 1.17.1, 21w43a, 1.18 Pre-release 8, 1.18, 1.18.1, 22w03a, 1.18.2, 22w18a, 1.19, 1.19.2, 1.19.3, 23w05a, 1.19.4, 1.20.1, 1.20.4, 1.21
    • Confirmed
    • Crafting
    • Low
    • Gameplay

      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 Avoma 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.

            Unassigned Unassigned
            ilmango ilmango
            Votes:
            15 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: