Mojira Archive
MC-269130

Attack indicator is not displayed when holding a Diamond or Netherite Hoe

Description:

The attack indicator does not show at all when a player is holding a Diamond or Netherite Hoe when looking at mobs.

How to Reproduce:

  1. Summon a mob, and give yourself an Iron Hoe and a Diamond/Netherite Hoe using the commands provided.
    /summon minecraft:villager ~ ~ ~ {NoAI:1b}
    
    /give @s minecraft:iron_hoe
    
    /give @s minecraft:diamond_hoe
    
  2. Equip the Iron Hoe and look at the villager.
    Attack indicator displays under the crosshair.
  3. Equip the Diamond/Netherite Hoe and look at the villager.
    Attack indicator does not display under the crosshair.

Observed Behavior:

Diamond and Netherite Hoes do not display the attack indicator when looking at entity.

Expected Behavior:

Diamond and Netherite Hoes would display the attack indicator when looking at entity.

Unresolved

Johnden

2024-03-06, 03:39 PM

2024-12-04, 02:02 PM

10

3

Confirmed

Normal

Platform

Items

24w10a - 1.21.424w10a, 24w11a, 24w12a, 24w13a, 24w14a, 1.20.5 Pre-Release 1, 1.20.5 Pre-Release 2, 1.20.5 Pre-Release 3, 1.20.5, 1.20.6, 24w19b, 24w21b, 1.21 Pre-Release 1, 1.21 Pre-Release 3, 1.21 Pre-Release 4, 1.21, 1.21.1, 24w35a, 24w40a, 1.21.2, 1.21.3, 1.21.4

-