Entity strafe movement

Started by aweosoem_man on

Topic category: Help with Minecraft modding (Java Edition)

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?