Head pitch of a rideable entity keeps returning to 0 degrees continously when riding it.

Started by Codmander on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Head pitch of a rideable entity keeps returning to 0 degrees continously when riding it.

I am making a plane that is supposed to move upwards when the head pitch is higher, and down when it's facing down.

The problem is that when a player is riding on an entity, it head pitch is set to horizontal every single tick, making it impossible to make the plane go up and down.