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
Nested Classes Modifier and Type Class Description static class
EntityViewRenderEvent.CameraSetup
Event that allows mods to alter the angles of the player's camera.static class
EntityViewRenderEvent.FogColors
Event that allows any feature to customize the color of fog the player sees.static class
EntityViewRenderEvent.FogDensity
Event that allows any feature to customize the fog density the player sees.private static class
EntityViewRenderEvent.FogEvent
static class
EntityViewRenderEvent.FOVModifier
Event that allows mods to alter the raw FOV itself.static class
EntityViewRenderEvent.RenderFogEvent
Event that allows any feature to customize the rendering of fog.
-
Field Summary
Fields Modifier and Type Field Description private ActiveRenderInfo
info
private GameRenderer
renderer
private double
renderPartialTicks
-
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 ActiveRenderInfo
getInfo()
GameRenderer
getRenderer()
double
getRenderPartialTicks()
-
-
-
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()
-
-