When using any tool to attack any entity, the tool loses durability.
However this durability is also lost on a hit that is not registered as an attack, which is a bug. (I think)
This happens when the player attacks the entity but the entity is still in a time period of invincibility due to the previous attack, so the entity is not damaged but the durability of the tool being held is still incorrectly decreased.
In other words, this bug occurs every time the player spam clicks to kill an entity.
To repeat this bug:
Be in survival.
Hold a tool such as a wooden sword.
Spam left click on a trapped mob, in attempt to kill the mob. The faster you click, the more obvious the bug.
See the tool's durability rapidly decrease, even in between the actual damage inflicting hits.
Link to video of bug:
In the video above, the wooden sword should still have 40/60 durability remaining after killing the iron golem. But because I was clicking as fast as I could with my hand, some hits were incorrectly registered, and the durability still decreased for these unsuccessful attacks.
(Sword broke whilst killing the iron golem)
Linked issues
is duplicated by 6
Attachments
Comments 7
This bug is back! I'm in version 1.19.83 (latest at the time). I've attached a video just to show for evidence.
Note:
I reproduced the bug by making a command block teleport the villager in one place. I then just got a wooden sword and basically butterfly-spammed my screen. I reproduced on an iPhone XS with iOS 16.5.
Does anyone still work on it? It should be reopened because it affects again after 1.19.80(includes 1.19.80 1.19.81 1.19.83 1.20.0 1.20.1 1.20.10)
Still affects 1.21.51 Hotfix. And I've uploaded another clip.
Observed results:
Durability goes down with "spam-clicking" even during invulnerability period. Only landed 13 hits yet the sword uses up its full 33 durability and breaks.
Expected Results
Golden Sword has 33 durability. Hence 33 subtract the 13 landed hits is 20. So I should've had 20 more uses left in the sword.
"durability_spam - (clip).mp4"
When hitting very fast some hits wont deal damage to the iron golem but will still remove 1 durability from your sword