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

Started by BlueAwesomeDinosaur on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What are the maximum and minimum values for yaw and pitch of an entity

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?

Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.

Joined Sep 2018
Points:

User statistics:

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

Put "round" on it too