What are the maximum and minimum values for yaw and pitch of an entity

Started by BlueAwesomeDinosaur on Tue, 03/31/2020 - 21:11

Topic category: Help with modding (Java Edition)

Last seen on 14:37, 5. Jun 2021
Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
What are the maximum and minimum values for yaw and pitch of an entity
Tue, 03/31/2020 - 21:11

I tried to make something set a random yaw and pitch for an entity, but it failed to compile correctly, so what are the maximum and minimum values for yaw and pitch of an entity?

Last seen on 22:32, 9. May 2021
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I had the same problem, you…
Mon, 04/06/2020 - 08:48

I had the same problem, you need to use a whole number for the entity rotation

This means no 0.5s or -10.8s The random Number thing can be made whole by multiplying it.

Last seen on 22:32, 9. May 2021
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Put "round" on it too  
Mon, 04/06/2020 - 08:50

Put "round" on it too