Is there a limit to how fast I can do damage to a mob or player using a weapon, such as a sword? If so, what are those limits?
5 Answers
All enemies (and I believe this is actually Entities, not just hostile mobs) have an invulnerability period after you strike them. That is when they turn red and only lasts for a split second (for the most part).
You can see it when you are striking a cow or the like and while its harder to see on things like a blaze, you can swing your sword to check. A blaze I believe takes three hits with an Iron sword to kill it. If you swing your sword fast you will be able to hit it I believe 4-5 times before it dies as only three of the hits will actually register and do damage.
Please note that this is regardless of how fast you swing, and in fact the faster you swing the more wasted uses of your weapon will occur so if you are buffed by a potion, beacon or whatever else may be available to you, then watch your attacks a bit more carefully.
Side Note: A mod where this is very easy to see is Aether and their cube boss (Which is what first brought it to my attention). You could go through 2-3 picks constantly hacking at the boss but any strike done while it was red would not actually cause it damage when it would only take a pick and a half or so of hits to take it out.
-
Any idea where to look for an exact value for the invulnerability period? Is it the same for all entities? Commented Feb 25, 2013 at 22:09
-
@AndresRiofrio Unfortunately I do not know the answer for this. It appears to be the same to me for all creatures but knock-back and the like make this often difficult to tell. I have not looked through the code or the like to see the information there but maybe a modder who has will speak up. Sorry I can not be more helpful.– JamesCommented Feb 26, 2013 at 1:26
-
Yes, your swing speed. There are two effects that can change this. Haste, which can be acquired from a beacon, will quicken the speed at which you mine, ergo your swing speed. Mining fatigue, which must be spawned as a potion in via commands, or other mods, makes your block breaking slower, ergo reducing your swing speed and the rate at which you output damage.
I bet there is a more mathematical answer, but this is all i could do at a moments notice :)
-
Thanks! I wasn't able to find a number for the swing speed. Maybe it has another name? Commented Feb 19, 2013 at 20:14
-
@AndresRiofrio Perhaps? I looked on both the 'digging' and 'swords' page of the Minecraft wiki, but nothing came up about swing speed. However, you can find the specifics on the status effects here: minecraftwiki.net/wiki/Status_effect– JonnyCommented Feb 19, 2013 at 20:23
-
1I'm pretty sure this is false - Haste is for block breaking rate, and you can attack as fast as you can click. DPS is limited only by the invulnerability period of the enemy. Commented Feb 19, 2013 at 20:37
-
@KevinReid I just read James answer, I never knew that was what the red was implying, I thought it just showed that they were being hurt and it had no over significance. So haste doesn't affect swing speed? Maybe I just clicked faster when I got it... I'll edi this tomorrow after I mess around with the effects...– JonnyCommented Feb 26, 2013 at 4:10
From my experience, there is definitely an upper limit to damage given in a specified time.
I run a bunch of macros on my PC and one of them makes me 'left-click' once every 5 milliseconds. Ive destroyed an iron sword in about 10 seconds by holding it on a player. The green durability bar just vanishes! haha
While I should have killed them in roughly one second, it still took longer. Though it WAS incredibly effective! I use this for PVP, but with mobs it behaves the same way. I HAVE tested it though and it really does click that fast.
The limt is 35. If you use hacks/macros then that limit may pass. I went to minecon and I got to meet Notch and I asked him how many clicks will minecraft allow, his answer was 35 with regular clicking. Happy to answer your question! Zook~
From the official Minecraft wiki:
Against a single target, DPS is effectively limited to 2 due to damage immunity.
Thus, the delay is 0.5 seconds, or 10 server ticks.
Source: https://minecraft.wiki/w/Damage#cite_ref-dpsLimit2_1-0