How do you limit a mobs movement to only be strafes

Started by Matt The Banana on Mon, 04/27/2020 - 18:24

Topic category: Help with modding (Java Edition)

Last seen on 23:56, 13. Jul 2021
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do you limit a mobs movement to only be strafes
Mon, 04/27/2020 - 18:24

I am trying to make a mod with a crab in it and I want to make it so the crab only moves left or right. Does anyone know how to do this?