Package net.minecraftforge.client.event
Class EntityViewRenderEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.EntityViewRenderEvent
- Direct Known Subclasses:
EntityViewRenderEvent.CameraSetup
,EntityViewRenderEvent.FogColors
,EntityViewRenderEvent.FogEvent
,EntityViewRenderEvent.FOVModifier
public abstract class EntityViewRenderEvent
extends net.minecraftforge.eventbus.api.Event
Event that hooks into GameRenderer, allowing any feature to customize visual attributes
the player sees.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Event that allows mods to alter the angles of the player's camera.static class
Event that allows any feature to customize the color of fog the player sees.static class
Event that allows any feature to customize the fog density the player sees.private static class
static class
Event that allows mods to alter the raw FOV itself.static class
Event that allows any feature to customize the rendering of fog.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
Modifier and TypeFieldDescriptionprivate final ActiveRenderInfo
private final GameRenderer
private final double
-
Constructor Summary
ConstructorDescriptionEntityViewRenderEvent
(GameRenderer renderer, ActiveRenderInfo info, double renderPartialTicks) -
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
renderer
-
info
-
renderPartialTicks
private final double renderPartialTicks
-
-
Constructor Details
-
EntityViewRenderEvent
public EntityViewRenderEvent(GameRenderer renderer, ActiveRenderInfo info, double renderPartialTicks)
-
-
Method Details
-
getRenderer
-
getInfo
-
getRenderPartialTicks
public double getRenderPartialTicks()
-