public abstract class EntityViewRenderEvent extends Event
Modifier and Type | Class and 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.
|
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.
|
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
private Entity |
entity |
private EntityRenderer |
renderer |
private double |
renderPartialTicks |
private IBlockState |
state |
Constructor and Description |
---|
EntityViewRenderEvent(EntityRenderer renderer,
Entity entity,
IBlockState state,
double renderPartialTicks) |
Modifier and Type | Method and Description |
---|---|
Entity |
getEntity() |
EntityRenderer |
getRenderer() |
double |
getRenderPartialTicks() |
IBlockState |
getState() |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
private final EntityRenderer renderer
private final Entity entity
private final IBlockState state
private final double renderPartialTicks
public EntityViewRenderEvent(EntityRenderer renderer, Entity entity, IBlockState state, double renderPartialTicks)
public EntityRenderer getRenderer()
public Entity getEntity()
public IBlockState getState()
public double getRenderPartialTicks()