How to make mob teleport to player when spawned

Started by Gamemaster2022 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make mob teleport to player when spawned

Hello, I want my mob to teleport to player each time it spawns. Is there any way how to do it? Thanks

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try this: "On initial entity…
Sat, 02/12/2022 - 16:33

Try this:

"On initial entity spawn trigger" in the entity

run command /"teleport @s @p" in name of event/target entity