Class EntityViewRenderEvent.CameraSetup

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.EntityViewRenderEvent
net.minecraftforge.client.event.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 Details

    • yaw

      private float yaw
    • pitch

      private float pitch
    • roll

      private float roll
  • Constructor Details

    • CameraSetup

      public CameraSetup(GameRenderer renderer, Camera camera, double renderPartialTicks, float yaw, float pitch, float roll)
  • Method Details

    • 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)