Package net.minecraftforge.client.event
Class EntityViewRenderEvent.FieldOfView
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.EntityViewRenderEvent
net.minecraftforge.client.event.EntityViewRenderEvent.FieldOfView
- Enclosing class:
- EntityViewRenderEvent
Event that allows mods to alter the raw FOV itself.
This directly affects to the FOV without being modified.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.client.event.EntityViewRenderEvent
EntityViewRenderEvent.CameraSetup, EntityViewRenderEvent.FieldOfView, EntityViewRenderEvent.FogColors, EntityViewRenderEvent.FogDensity, EntityViewRenderEvent.RenderFogEvent
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFieldOfView
(GameRenderer renderer, Camera camera, double renderPartialTicks, double fov) -
Method Summary
Methods inherited from class net.minecraftforge.client.event.EntityViewRenderEvent
getCamera, getPartialTicks, getRenderer
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
fov
private double fov
-
-
Constructor Details
-
FieldOfView
-
-
Method Details
-
getFOV
public double getFOV() -
setFOV
public void setFOV(double fov)
-