Package net.minecraftforge.client.event
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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.client.event.EntityViewRenderEvent
EntityViewRenderEvent.CameraSetup, EntityViewRenderEvent.FogColors, EntityViewRenderEvent.FogDensity, EntityViewRenderEvent.FOVModifier, EntityViewRenderEvent.RenderFogEvent
-
-
Constructor Summary
Constructors Constructor Description CameraSetup(GameRenderer renderer, ActiveRenderInfo info, double renderPartialTicks, float yaw, float pitch, float roll)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getPitch()
float
getRoll()
float
getYaw()
void
setPitch(float pitch)
void
setRoll(float roll)
void
setYaw(float yaw)
-
Methods inherited from class net.minecraftforge.client.event.EntityViewRenderEvent
getInfo, getRenderer, getRenderPartialTicks
-
-
-
-
Constructor Detail
-
CameraSetup
public CameraSetup(GameRenderer renderer, ActiveRenderInfo info, double renderPartialTicks, float yaw, float pitch, float roll)
-
-