How can I make custom entity teleport always to a player?

Started by MaveeYT on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make custom entity teleport always to a player?

Hello. How can I have a custom entity always teleport to the player? So, whenever the player moves, the entity moves with it. I know I have to do this in "One entity tick update" but how?
Best regards,
MaveeYT

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey how exactly can I do…
Mon, 12/07/2020 - 13:34

Hey how exactly can I do this?

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Have you figured this out…
Mon, 10/11/2021 - 21:59

Have you figured this out yet?

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For each entity type A in…
Tue, 10/12/2021 - 07:26

For each entity type A in radius

Set iterator location to X Y Z player position

I have one in my mod and works perfectly

 

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can i know the code?  
Thu, 01/06/2022 - 12:41

can i know the code?