Entity strafe movement

Started by aweosoem_man on

Topic category: Help with modding (Java Edition)

Last seen on 17:38, 16. May 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity strafe movement

So I noticed that ranged mobs, like skeletons, strafe while attacking, basically moving in circle around the target, going away if target is too close and advancing forward if too far. Now how do I do that with MY custom entity? Yes, there is a skeleton base, but it also makes the entity burn during day and make skeleton sounds, so how do I go on adding strafe movement to my entity?