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.FieldOfView,EntityViewRenderEvent.FogColors,EntityViewRenderEvent.FogEvent
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 ClassesModifier and TypeClassDescriptionstatic classEvent that allows mods to alter the angles of the player's camera.static classEvent that allows mods to alter the raw FOV itself.static classEvent that allows any feature to customize the color of fog the player sees.static classDeprecated, for removal: This API element is subject to removal in a future version.Use RenderFogEvent.private static classDeprecated, for removal: This API element is subject to removal in a future version.static classThis event allows for customization of parameters related to fog rendering.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
FieldsModifier and TypeFieldDescriptionprivate final Cameraprivate final doubleprivate final GameRenderer -
Constructor Summary
ConstructorsConstructorDescriptionEntityViewRenderEvent(GameRenderer renderer, Camera camera, double partialTicks) -
Method Summary
Modifier and TypeMethodDescriptiondoubleMethods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
renderer
-
camera
-
partialTicks
private final double partialTicks
-
-
Constructor Details
-
EntityViewRenderEvent
-
-
Method Details
-
getRenderer
-
getCamera
-
getPartialTicks
public double getPartialTicks()
-