Slimes have no attack cooldown, resulting in the player taking numerous hits repeatedly depleting their health far quicker than other mobs with normal attack cooldowns.
Steps to Reproduce:
Modify the player's knockback resistance:
/attribute @p minecraft:generic.knockback_resistance base set 100
Give the player regeneration:
/effect give @p minecraft:regeneration infinite 255 true
Summon a slime with a size large enough to attack you
/summon minecraft:slime ~ ~ ~ {Size:3}
Walk up next to the slime
Observed Behavior:
The player is attacked in rapid succession, with no delay in between each attack.
Expected Behavior:
The player would be some invulnerability before taking damage again, like other mobs.
Screenshots/Videos:
[media]
Notes:
Linked issues
Attachments
Comments 13
Confirmed in 1.15.2. Gnembon explains why this occurs from 11:00 to 13:00 in this video https://youtu.be/42QvewJqKF0 Essentially slimes deal damage whenever their hitbox intersects with a player, rather than actively attacking.
Can confirm in 21w06a. Closely relates to MC-169167.
Can confirm in 1.20.5 Pre-Release 1. Considering the original reporter has not been active since the creation of this issue, I'd like to request ownership of it.
Confirmed for 1.13.1.