-
Bug
-
Resolution: Fixed
-
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
- Place a fence on top of a full block
- 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.
- relates to
-
MCPE-31324 Flint & Steel use durability, fire charges are consumed even if no fire can be placed.
- Reopened
-
MC-124280 Using fire charges on TNT in creative mode consumes the fire charge
- Resolved
-
MC-4923 Flint and steel and fire charges can place fire at invalid positions
- Resolved