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

Started by Bill_Clinton on

Topic category: Help with Minecraft modding (Java Edition)

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?