Force entity to go to players position

Started by Grimlock on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Force entity to go to players position

So I'm trying to make a forcefield, and I decided to make it a entity, and I want the forcefield (the entity) to go to the players position forever, as long as it is alive. How would I do this?

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try tp forcefield to player…
Wed, 08/09/2023 - 19:02

Try tp forcefield to player every tick.
https://imgur.com/a/1VvCOI5

Command: "tp @e[type=YOUR_ENTITY_ID,sort=nearest] " (with space) + Event target

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok so I'm using curios for a…
Wed, 08/09/2023 - 21:16

Ok so I'm using curios for a ring that when you equip it, it spawns the forcefield. I have the thing you sent me, but it isnt spawning the entity at all.

code

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do you tried to change…
Thu, 08/10/2023 - 10:10

Do you tried to change global trigger to player tick?