mojira.dev
MC-307043

Applying a freeze effect while damaging a mob causes an incorrect value for `ticks_since_last_hurt_by_mob`

One of my data pack is designed so that when a snowball fired by a snow golem hits a mob, it freezes them. However, I've noticed that the mob's ticks_since_last_hurt_by_mob value fluctuates between 0 and 1 at this time, and skeletons are unable to fire arrows normally.

The Attachments folder contains the file for this data pack.

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media][media]

Special TT

Nathan Wolf

Confirmed

Platform HC

Normal

Data Packs, Mob behaviour

26.1

26.2 Snapshot 6

Retrieved