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.EventEvent that hooks into GameRenderer, allowing any feature to customize visual attributes the player sees.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEntityViewRenderEvent.CameraSetupEvent that allows mods to alter the angles of the player's camera.static classEntityViewRenderEvent.FogColorsEvent that allows any feature to customize the color of fog the player sees.static classEntityViewRenderEvent.FogDensityEvent that allows any feature to customize the fog density the player sees.private static classEntityViewRenderEvent.FogEventstatic classEntityViewRenderEvent.FOVModifierEvent that allows mods to alter the raw FOV itself.static classEntityViewRenderEvent.RenderFogEventEvent that allows any feature to customize the rendering of fog.
-
Field Summary
Fields Modifier and Type Field Description private ActiveRenderInfoinfoprivate GameRendererrendererprivate doublerenderPartialTicks
-
Constructor Summary
Constructors Constructor Description EntityViewRenderEvent(GameRenderer renderer, ActiveRenderInfo info, double renderPartialTicks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActiveRenderInfogetInfo()GameRenderergetRenderer()doublegetRenderPartialTicks()
-
-
-
Field Detail
-
renderer
private final GameRenderer renderer
-
info
private final ActiveRenderInfo info
-
renderPartialTicks
private final double renderPartialTicks
-
-
Constructor Detail
-
EntityViewRenderEvent
public EntityViewRenderEvent(GameRenderer renderer, ActiveRenderInfo info, double renderPartialTicks)
-
-
Method Detail
-
getRenderer
public GameRenderer getRenderer()
-
getInfo
public ActiveRenderInfo getInfo()
-
getRenderPartialTicks
public double getRenderPartialTicks()
-
-