MineColonies

MineColonies

53M Downloads

Knight guards have trouble hitting mobs that is going away from them

warning-djkajslh opened this issue ยท 1 comments

commented

Prerequisites

  • I am running the latest alpha version of MineColonies and Structurize for my Minecraft version.
  • [X ] 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:
  • MineColonies Version:
  • Structurize Version:
  • Related Mods and their Versions:

Expected behavior

Mobs that are moving away from the knight will still be hit when the knight closes in.

Actual behavior

Try having a knight attacking a mob that is targeting something else, first the knight will try to move as close to the mob as possible, too close even, when get to the point where they are right next to the mob, that is when they begin to hit it.

Steps to reproduce the issue

  1. Have a zombie or skeleton targeting you
  2. Have some knights approach the danger
  3. Observe.

Logs

  • latest.log:
  • crashlog:

Notes

Haven't tested with archers since I don't use them, but there is a chance they might be also too busy with pathfinding to an ideal spot instead of standing still and sniping the mob from a far as well.


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.
commented

Upon further observations, mobs in general will also have a harder time when it comes to attacking things that are running away from them, seeing when some spiders tried to attack a fleeing colonist, so this might be intentional, but I will leave it open for any further proposals on knight improvement.