Mojira Archive
MC-131426

Slimes have little to no attack cooldown

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:

  1. Modify the player's knockback resistance:
    /attribute @p minecraft:generic.knockback_resistance base set 100
    
  2. Give the player regeneration:
    /effect give @p minecraft:regeneration infinite 255 true
    
  3. Summon a slime with a size large enough to attack you
    /summon minecraft:slime ~ ~ ~ {Size:3}
    
  4. 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:

MC-131426.mp4

Notes:

This bug causes MC-266584 and MC-169167

Unresolved

[Mod] Jiingy

Joshua S

2018-06-15, 10:39 PM

2025-02-09, 05:51 PM

16

8

Confirmed

Combat, Mob behaviour

attack, slime

Minecraft 1.12.2 - 1.20.5Minecraft 1.12.2, Minecraft 1.13-pre2, Minecraft 1.13.1, 1.15.2, 20w20b, 20w48a, 1.16.5, 21w06a, 21w08b, 1.17.1, 1.19, 1.19.2, 1.20.5 Pre-Release 1, 1.20.5

-