Package net.minecraftforge.client.event
Class EntityViewRenderEvent.FOVModifier
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.EntityViewRenderEvent
net.minecraftforge.client.event.EntityViewRenderEvent.FOVModifier
- 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.FogColors, EntityViewRenderEvent.FogDensity, EntityViewRenderEvent.FOVModifier, 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
ConstructorDescriptionFOVModifier(GameRenderer renderer, Camera info, double renderPartialTicks, double fov)
-
Method Summary
Methods inherited from class net.minecraftforge.client.event.EntityViewRenderEvent
getInfo, getRenderer, getRenderPartialTicks
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
-
FOVModifier
-
-
Method Details
-
getFOV
public double getFOV() -
setFOV
public void setFOV(double fov)
-