Player tracking system, through an interaction system

Started by GyokuroKunso on

Topic category: Minecraft mod ideas exchange

Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Player tracking system, through an interaction system

Does anyone know how to create a system where an entity follows the player through a GUI? And how to do it without needing the entity taming system. I need this for my mod.

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes. Very easy. When the…
Mon, 03/02/2026 - 18:49

Yes. Very easy. When the entity is spawned, you give the spawned entity an tag that is the uuid of the player. The Player has a global variable that is set to the uuid of the spawned entity Now if the player clicks it gets another tag set to true, like idk, follow=true and in the tick update of the entity you do if follow=true pathfind to xyz of get entity from the uuid of the tag. This may not work with a lot of entity’s, but if it’s only 2 you can make multiple variables 

Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay, thanks friend. It's…
Tue, 03/03/2026 - 17:23

Okay, thanks friend. It's just that I'm still a beginner at this whole Mcreator thing.