mojira.dev
MC-267956

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.

    [media]
  3. Equip the Diamond/Netherite Hoe and look at the villager.
    → ❌ Attack indicator does not display under the crosshair.

    [media]

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.

Linked issues

Attachments

Comments 4

I can confirm this in 1.20.4.

This is fixed in 24w09a thanks to the UI changes.

⚠️ Please do not add Affected Versions to resolved reports.

Have a look at the Resolution and the comments to see why this ticket has been resolved. If you think this ticket has been resolved erroneously you can contact the Mojira staff on Discord or Reddit.

-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

Johnden

(Unassigned)

Confirmed

Platform

Normal

Player

24w03b, 24w04a, 24w05a, 24w05b, 24w06a, 24w07a

24w09a

Retrieved