Make pet follow only when right clicked

Started by Trehmor on Mon, 08/03/2020 - 01:49

Topic category: Help with MCreator software

Last seen on 16:40, 26. Aug 2022
Joined Feb 2020

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Make pet follow only when right clicked
Mon, 08/03/2020 - 01:49

I want to make my pet to follow me only when i right click it and then right click it again to make the pet not move, i think this can be made with procedures and conditions but i dont know how :c

Yes, use procedures, NBT tag…
Mon, 08/03/2020 - 07:43

Yes, use procedures, NBT tag to store state of your entity. On right-click change this NBT tag value to indicate right-clicking and then use this NBT tag as your condition for AI task