Making tamed animals free roaming after shift + right click

Started by Sempiternally on Mon, 02/22/2021 - 20:02

Topic category: Help with modding (Java Edition)

Last seen on 16:19, 2. Mar 2021
Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Making tamed animals free roaming after shift + right click
Mon, 02/22/2021 - 20:02

Title pretty much explains it all, I was hoping to make a mod that would let tamed animals not be stuck to your side if you shift and right click them. Seems like a simple task, but I have little to no knowledge with these things.
Figured it should go something like:

upon: shift+right-click
set animal path: roaming

but I do not know the correct format, any help is appreciated!