Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 158
    • Issues 158
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #1974

Closed
Open
Created Jul 17, 2025 by DeltaGGYT@DeltaGGYT

Mob heals from damage when spam-hit in MC 1.21.1 with armor and DamageModifiers

Summary

Hello, i find a bug in mythicmobs, this bug appear on any mm version and only in 1.21-1.21.1 mc version, when mob have armor points and damage modifiers in same time, mob will regenerate when player spam hits on it

Steps to reproduce

First of all create paper server 1.21.1 and install any mythicmobs version on it

Create mob with armor points and damage modifiers like this

  Type: ZOMBIE
  Display: "&8Little tester <caster.hp>/<caster.mhp>"
  Health: 100
  Armor: 20
  Damage: 6
  DamageModifiers:
  - ENTITY_ATTACK 0.9
  - PROJECTILE 0.9
  Skills:
  - setname{name=<caster.name>;delay=1} ~onDamaged @self

after creating mob u need to do some damage to him with netherite or another sword, for example mob need to have 80/100 hp, after this you need to hit as fast as you can, and u can see mob hp will raise up (It's working only in 1.21-1.21.1 minecraft version)

Current behavior

When a mob has armor points and DamageModifiers applied, and a player attacks it rapidly (e.g., with fast melee hits), the mob starts regenerating health instead of taking damage. U can watch this

Intended correct behavior

Mob need take normal damage like this do in other versions, like is worked on other minecraft versions with mythicmobs

Server log file

Here! https://mclo.gs/2m9i45K

Debug log snippet

https://mclo.gs/2m9i45K#L1078 I can't pinpoint the specific error in the logs, but it's probably here!

Proposed fixes

This problem is probably related to immunity ticks of mob, I can't provide a specific problem and solution because I don't understand plugin development, but i think u maybe need do some changes for immunity ticks system or something else

Edited Jul 17, 2025 by mikekevie
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking