Package net.minecraftforge.client.event
Class EntityViewRenderEvent.RenderFogEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.EntityViewRenderEvent
net.minecraftforge.client.event.EntityViewRenderEvent.FogEvent
net.minecraftforge.client.event.EntityViewRenderEvent.RenderFogEvent
- Enclosing class:
- EntityViewRenderEvent
Event that allows any feature to customize the rendering of fog.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.client.event.EntityViewRenderEvent
EntityViewRenderEvent.CameraSetup, EntityViewRenderEvent.FogColors, EntityViewRenderEvent.FogDensity, EntityViewRenderEvent.FOVModifier, EntityViewRenderEvent.RenderFogEvent
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
-
Constructor Summary
ConstructorDescriptionRenderFogEvent(FogRenderer.FogMode type, Camera info, float partialTicks, float distance)
-
Method Summary
Methods inherited from class net.minecraftforge.client.event.EntityViewRenderEvent.FogEvent
getType
Methods inherited from class net.minecraftforge.client.event.EntityViewRenderEvent
getInfo, getRenderer, getRenderPartialTicks
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
farPlaneDistance
private final float farPlaneDistance
-
-
Constructor Details
-
RenderFogEvent
-
-
Method Details
-
getFarPlaneDistance
public float getFarPlaneDistance()
-