Stop tamed mobs from teleporting to the player

Started by Bobobobobob on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Stop tamed mobs from teleporting to the player

Is there a way to stop tamed mobs from teleporting wherever the player goes?

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you could make them sit...
Wed, 06/26/2024 - 03:17

you could make them sit...

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know it works for vanillia…
Sat, 06/29/2024 - 11:02

I know it works for vanillia mobs like dogs, but how do i do that for custom mobs

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make them sit down by…
Sat, 06/29/2024 - 14:09

Make them sit down by feeding them until they sit.

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't know if you still…
Thu, 10/09/2025 - 17:35

I don't know if you still need help, but i figured it out on how to stop them from following you.


1. Add a logic synced data to your entity, i named it sit.

Logic

2. Go to the AI and Tasks tab add in follow owner.

3. Go to the conditions of follow owner task and add in a procedure that says if your entity is sitting return false

Procedure

That should work, let me know if you don't understand or if it doesn't work.