How can I make a mob stay in place when right clicked?

Started by Bill_Clinton on

Topic category: Help with modding (Java Edition)

Last seen on 02:34, 29. Jan 2024
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make a mob stay in place when right clicked?

So I have a set of human mobs that I want to act like tamed mobs but not really (Don't need to be tamed ,cant breed because they're human) in that when you right click them they'll stay in place .

I tried to work my own script for this but that didn't work, so does anyone else know how I can do this?