Force entity to go to players position

Started by Grimlock on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 month ago
Joined Jul 2022
Points:
379

User statistics:

  • Modifications: 0
  • Forum topics: 18
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 21
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?

Active 6 months ago
Joined Feb 2022
Points:
368

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 13
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

Active 1 month ago
Joined Jul 2022
Points:
379

User statistics:

  • Modifications: 0
  • Forum topics: 18
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 21
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

Active 6 months ago
Joined Feb 2022
Points:
368

User statistics:

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

Do you tried to change global trigger to player tick?