I need help for make a entity move in the direction the player looking

Started by omar ben zlabia on

Topic category: Help with modding (Java Edition)

Last seen on 00:53, 19. Apr 2024
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need help for make a entity move in the direction the player looking

Hi, i want to make a entity that move only on the direction that the player looking when it spawn but my procedure don't work because the entity move alway in the same direction no matter where i look.

There is a screenshot of my procedure:

 

 

 

I try to change the event target entity by source entity but that make a compilation error

.

It will be fine if someone can help me thank you (sorry for my bad english i am french).