Raiders can attack during their death animation
Vortrox opened this issue ยท 0 comments
Prerequisites
- I am running the latest alpha version of MineColonies and Structurize for my Minecraft version.
- I checked the MineColonies/Structurize wiki and made sure my issue is not covered there.
- I made sure that this issue is not a duplicate of any existing issue.
Context
- Minecraft Version: 1.16.5
- MineColonies Version: 1.0.147-ALPHA
- Structurize Version: 0.13.252-ALPHA
- Related Mods and their Versions:
Expected behavior
When a mob's health reaches zero, there's a short period of time where their death animation is played (they turn red, flop sideways and disappear). Raiders should not be able to attack during this death animation.
Actual behavior
Raiders continue to attack while dying.
Steps to reproduce the issue
- (Optional) Minimize the attack delay for raiders to make the bug more obvious. Imo, the easiest way to do this is by temporarily changing this and this to return 1.
- Start a raid at a colony using
/minecolonies raid-All now
- Use
/tp @e[type=minecolonies:barbarian,limit=1] @p
to isolate one of the raiders from the others. - Allow the raider to hit you, then kill it.
- The raider should land one or two hits on you while it's dying.
Logs
- latest.log:
- crashlog:
Notes
Viewers
- Add a thumbs-up to the bug report if you are also affected. This helps the bug report become more visible to the team and doesn't clutter the comments.
- Add a comment if you have any insights or background information that isn't already part of the conversation.