[MC-4732] Tools and weapons lose durability when attacking players that are in creative Created: 15/Dec/12  Updated: 28/Mar/23  Resolved: 28/Sep/21

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Snapshot 12w50b, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w04a, Snapshot 13w05a, Snapshot 13w05b, Snapshot 13w06a, Snapshot 13w07a, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.5.1, Minecraft 1.5.2, Snapshot 13w18b, Snapshot 13w18c, Snapshot 13w21b, Snapshot 13w22a, Snapshot 13w23a, Snapshot 13w23b, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.7.5, Minecraft 14w11b, Minecraft 1.7.9, Minecraft 1.7.10, Minecraft 14w28a, Minecraft 14w28b, Minecraft 14w34d
Fix Version/s: Minecraft 13w36a, Minecraft 19w14a

Type: Bug
Reporter: Jaykaysss Assignee: Unassigned
Resolution: Fixed Votes: 16
Labels: durability, multiplayer, tools, weapons
Environment:

Windows 7, java_version 1.7.0_09


Attachments: File MC-4732 - Cannot Reproduce.mp4     PNG File MC-4732 - Cannot Reproduce.png    
Issue Links:
Duplicate
is duplicated by MC-9258 Glitch with a sword, axe, shovel and ... Resolved
is duplicated by MC-9485 Friendly fire off still degrades tools Resolved
is duplicated by MC-9855 Sword taking damage when hitting anot... Resolved
is duplicated by MC-10210 Sword durability loss on dead mob Resolved
is duplicated by MC-13470 Striking a player in creative with a ... Resolved
is duplicated by MC-13832 Sword durability wears down when hitt... Resolved
is duplicated by MC-15108 Sword takes extra damager after killi... Resolved
is duplicated by MC-17566 Items get used up while riding horse. Resolved
is duplicated by MC-17954 ALL non-item entities damage tools Resolved
is duplicated by MC-18262 On a Multiplayer server, hitting some... Resolved
is duplicated by MC-48350 Weapons you break can be reacquired Resolved
is duplicated by MC-68510 Items take durability damage when att... Resolved
is duplicated by MC-97755 Swords & other tools take damage when... Resolved
is duplicated by MC-525 Weapon/tool durability decreases when... Resolved
CHK:
Confirmation Status: Confirmed
Game Mode: Survival

 Description   

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.



 Comments   
Comment by [Mod] markderickson [ 28/Sep/21 ]

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

Comment by [Bot] Arisa [ 27/Sep/21 ]

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

Comment by [Mod] Avoma [ 27/Sep/21 ]

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.

MC-4732 - Cannot Reproduce.mp4
MC-4732 - Cannot Reproduce.png

Comment by [Bot] Arisa [ 11/Jan/21 ]

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

Comment by SunCat [ 19/Oct/17 ]

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

Comment by Adam Gamez [ 19/Oct/17 ]

This is still an issue even in the latest Bedrock version 1.2.3. This needs to be taken out of "resolved" status.

Comment by user-f2760 (Inactive) [ 17/Mar/16 ]

Is this still an issue in 1.9 or 1.9.1-pre3?

Comment by Galaxy_2Alex [ 24/Oct/14 ]

Is this still a concern in the current Minecraft version 1.8.1 Prerelease 3 / Launcher version 1.5.3 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Comment by Anon Ymus [ 15/Jul/14 ]

Confirmed.

Comment by Privacy Issue [ 24/Apr/14 ]

Also present in the 14w17a snapshot

Comment by Privacy Issue [ 21/Apr/14 ]

(still) present in 1.7.9 / 14w11b
https://www.youtube.com/watch?v=7ukqYNcIQlM

Comment by Daniel "Glampkoo" [ 14/Aug/13 ]

Thank you EvilSeph for fixing this!

Comment by Dennis [ 05/Aug/13 ]

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

Comment by Enell [ 18/Jul/13 ]

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.

Comment by Trevor Masters [ 14/Jul/13 ]

for the love of god fix this already.

Comment by ZeeTillz [ 20/Jun/13 ]

This really needs to be fixed

Generated at Sun Jan 12 12:05:33 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.