How to make mob teleport to player when spawned

Started by Gamemaster2022 on

Topic category: Help with modding (Java Edition)

Last seen on 14:22, 11. Oct 2024
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

Last seen on 22:12, 7. Mar 2024
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