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

Flint and Steel loses durability and fire charge is used up even if no fire was placed


    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 18w05a
    • Minecraft 1.10.2, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w43a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.1, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w13b, Minecraft 17w15a, Minecraft 17w16b, Minecraft 17w17b, Minecraft 17w18b, Minecraft 1.12 Pre-Release 2, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w47a, Minecraft 17w47b, Minecraft 17w48a, Minecraft 17w50a, Minecraft 18w02a
    • Confirmed

      The bug

      When you click with flint and steel at blocks where no fire can be placed because the position is occupied by another block, the flint and steel item is still damaged and acts like it was successfully used, preventing an off-hand item from being used.

      How to reproduce

      1. Place a fence on top of a full block
      2. Try right clicking with the flint and steel item at the top of the full block
        → The item is damaged but no fire block was placed

      The reason

      The following is based on a decompiled version of Minecraft 1.10 using MCP 9.30.

      The reason for this is that the method net.minecraft.item.ItemFlintAndSteel.onItemUse(ItemStack, EntityPlayer, World, BlockPos, EnumHand, EnumFacing, float, float, float) always damages the item even if no fire block was placed.

            Excited Maria Lemón
            marcono1234 [Mod] Marcono1234
            9 Vote for this issue
            4 Start watching this issue