How to make an entity stop with right click.

Started by CrossLining77 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make an entity stop with right click.

Hi, I want to make a condition with nbt tags for the wander around block of an entity so that when I do something specific (example: right click or activate or deactivate the nbt label) the entity stays still, that is, the wander around block is activated or deactivated and so the entity stops or continues walking.

I don't want to make any sit models or anything like that, I just want the entity to stay still when I activate it, similar to wolves but without the sit.

If someone shows an image of any procedure, I would greatly appreciate it.