mojira.dev
MC-276606

Attribute modifiers do not apply when the item durability reaches 0

Steps to reproduce:

  1. Give a weapon with 0 durability.

    /give @s mace[damage=500]
  2. Put it in mainhand and check your attributes.

    /attribute @s attack_damage get
    /attribute @s attack_speed get

Observed behavior:

These attributes remain their base values.

Expected behavior:

Attack damage is 6 and attack speed is 0.6.

Comments 1

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryThe official Minecraft feedback site

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

CaN2crow987

(Unassigned)

Confirmed

Items

24w37a

Retrieved