Question about the "Direction (yaw)" element

Started by Kioko95_ on

Topic category: Help with modding (Java Edition)

Last seen on 11:57, 28. Jul 2024
Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Question about the "Direction (yaw)" element

I'm developing a mod for Java Edition 1.20.1 on fabric.

When the entity is standing, the direction (yaw) does not change (1 and 2 pictures).

When the entity starts moving, only then does the direction (yaw) change (3 picture).

Also, when I force the entity to look at a certain point, the directions (yaw) change, but this does not work when trying to change vector of motion.

For some purposes, I need to get up-to-date information about the direction (yaw), but I can't do it. Maybe I'm doing something wrong?

Thank you in advance.

 

P.S.I used a translator, so I apologize for possible mistakes. I could also have created a discussion in the wrong section.

 

Image (Yes, it's bad):