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
Modifier and TypeClassDescriptionstatic class
Event that allows mods to alter the angles of the player's camera.static class
Event that allows mods to alter the raw FOV itself.static class
Event that allows any feature to customize the color of fog the player sees.static class
Deprecated, for removal: This API element is subject to removal in a future version.Use RenderFogEvent.private static class
Deprecated, for removal: This API element is subject to removal in a future version.static class
This 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
Modifier and TypeFieldDescriptionprivate final Camera
private final double
private final GameRenderer
-
Constructor Summary
ConstructorDescriptionEntityViewRenderEvent
(GameRenderer renderer, Camera camera, double partialTicks) -
Method Summary
Modifier and TypeMethodDescriptiondouble
Methods 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()
-