I want to teleport a custom entity to the player.

Started by CaiGuyCrafter on

Topic category: Help with modding (Java Edition)

Last seen on 17:15, 28. Mar 2024
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I want to teleport a custom entity to the player.

I made a procedure where the entity spawns, but I don't know how to make it so that when it spawns it teleports to the player. I made it so the spawned entity will do so endlessly, but I don't even know how to make it teleport in the first place.

Here is an image.

 https://imgur.com/a/oyCECXR

Last seen on 05:29, 31. Jan 2022
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
to make your entity do…
Sat, 05/02/2020 - 19:18

to make your entity do things, you do it in the custom entity's "On entity tick update" procedure

Last seen on 19:33, 16. Apr 2023
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
doesnt work ahznb, it says …
Fri, 01/28/2022 - 00:31

doesnt work ahznb, it says "missing dependencies" when i clearly listed what mine were

Last seen on 15:46, 28. Mar 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if you work on entity update…
Fri, 01/28/2022 - 06:06

if you work on entity update then do: for each player - get nearest player ==> set location to nearest player

Last seen on 13:34, 5. May 2022
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know this isnt the right…
Sat, 04/30/2022 - 14:28

I know this isnt the right place but I cannot send you a friend request so I wnted to ask if you could add me because of your mod.

slivki#7245

Last seen on 11:21, 25. Apr 2023
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
breh you stoled my username…
Tue, 09/27/2022 - 09:21

breh you stoled my username almost