mojira.dev
MC-4732

Tools and weapons lose durability when attacking players that are in creative

This bug shares the same problem with MC-525, but I am reporting this because it does not only affects Pvp.
Swords and tools lose durability without dealing any damage when used to hit mobs.
This happens when:
-Any mob is hit while in its invulnerable state (mob's model is red).
-Any dying mob (0 hp and have their model turned sideway) is hit. Their invisible hitbox still take the durability of your weapon.
-An Enderman is hit and teleports without taking damage.

To reproduce, try spamming hits on a few zombies with a wooden sword. The sword would break on the third or fourth zombie you use.
Another way to reproduce this is to fight an Enderman, a fresh sword for every hit. You may notice it teleporting without taking damage.

Weapons and tools should only loses durability in combat when they deal damage. For example a wooden sword with 60 uses SHOULD deal damage 60 times, not having half of them going to waste. This may not be a bug, but it is certainly a major annoyance.

Linked issues

MC-525 Weapon/tool durability decreases when hitting playing in no-pvp mode. (SMP) Resolved MC-9258 Glitch with a sword, axe, shovel and pickaxe Resolved MC-9485 Friendly fire off still degrades tools Resolved MC-9855 Sword taking damage when hitting another player with it when pvp is set to false Resolved MC-10210 Sword durability loss on dead mob Resolved

Attachments

Comments 16

This really needs to be fixed

Trevor Masters

for the love of god fix this already.

I can confirm that too. It is really annoying and also it is really difficult to face mobs (especially the 1.6 ones which are harder) without spaming the left click button to hit them rather than* waiting a bit so you know that this will not happen. I am in 1.6.2

*please tell me if rather than is correct, if not tell me what should I have said there so the sentence would be correct. 🙂

This problem is still present in 1.6.2, major annoyance...

Daniel "Glampkoo"

Thank you EvilSeph for fixing this!

6 more comments

This ticket is for Minecraft: Java Edition; issues for Minecraft: Bedrock Edition are here

In case you can reproduce it in the latest version of MC Java Edition (currently it's 1.12.2), feel free to comment about that, in which case the ticket will be reopened

This report is currently missing crucial information. Please take a look at the other comments to find out what we are looking for.
If you added the required information and a moderator sees your comment, they will reopen and update the report. However, if you think your update to this report has been overlooked or you want to make sure that this report is reopened, you can contact the Mojira staff on Discord or Reddit.
-- I am a bot. This action was performed automatically! Please report any issues on Discord or Reddit

I'm unable to reproduce this issue in 1.17.1. Upon attacking a player that's in creative mode, weapons did not appear to consume durability. I've provided some attachments that demonstrate that this behavior no longer occurs.

[media][media]

This report is currently missing crucial information. Please take a look at the other comments to find out what we are looking for.
If you added the required information and a moderator sees your comment, they will reopen and update the report. However, if you think your update to this report has been overlooked or you want to make sure that this report is reopened, 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

[Mod] markderickson

This actually appears to have been fixed in "Minecraft 19w14a".

Jaykaysss

(Unassigned)

Confirmed

durability, multiplayer, tools, weapons

Snapshot 12w50b, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w04a, Snapshot 13w05a, ..., Minecraft 1.7.9, Minecraft 1.7.10, Minecraft 14w28a, Minecraft 14w28b, Minecraft 14w34d

Minecraft 13w36a, Minecraft 19w14a

Retrieved