Class EntityViewRenderEvent.CameraSetup

  • Enclosing class:
    EntityViewRenderEvent

    public static class EntityViewRenderEvent.CameraSetup
    extends EntityViewRenderEvent
    Event that allows mods to alter the angles of the player's camera. Mainly useful for applying roll.
    • Field Detail

      • yaw

        private float yaw
      • pitch

        private float pitch
      • roll

        private float roll
    • Constructor Detail

      • CameraSetup

        public CameraSetup​(GameRenderer renderer,
                           ActiveRenderInfo info,
                           double renderPartialTicks,
                           float yaw,
                           float pitch,
                           float roll)
    • Method Detail

      • getYaw

        public float getYaw()
      • setYaw

        public void setYaw​(float yaw)
      • getPitch

        public float getPitch()
      • setPitch

        public void setPitch​(float pitch)
      • getRoll

        public float getRoll()
      • setRoll

        public void setRoll​(float roll)