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

Started by MaveeYT on Sun, 12/06/2020 - 19:02

Topic category: Help with modding (Java Edition)

Last seen on 18:24, 6. Apr 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How can I make custom entity teleport always to a player?
Sun, 12/06/2020 - 19:02

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

You will need to look for…
Mon, 12/07/2020 - 07:57

You will need to look for entity in range of type player and tp to its coordinates

Last seen on 18:24, 6. Apr 2021
Joined May 2020
Points:

User statistics:

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

Hey how exactly can I do this?

Last seen on 06:06, 24. Oct 2021
Joined Oct 2021
Points:

User statistics:

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

Have you figured this out yet?

Last seen on 19:14, 19. May 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

 

Last seen on 04:46, 7. Jan 2022
Joined Jan 2022
Points:

User statistics:

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

can i know the code?