Package net.minecraftforge.client.event
Class EntityViewRenderEvent.FogDensity
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.client.event.EntityViewRenderEvent
-
- net.minecraftforge.client.event.EntityViewRenderEvent.FogEvent
-
- net.minecraftforge.client.event.EntityViewRenderEvent.FogDensity
-
- Enclosing class:
- EntityViewRenderEvent
public static class EntityViewRenderEvent.FogDensity extends EntityViewRenderEvent.FogEvent
Event that allows any feature to customize the fog density the player sees. NOTE: In order to make this event have an effect, you must cancel the event
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.client.event.EntityViewRenderEvent
EntityViewRenderEvent.CameraSetup, EntityViewRenderEvent.FogColors, EntityViewRenderEvent.FogDensity, EntityViewRenderEvent.FOVModifier, EntityViewRenderEvent.RenderFogEvent
-
-
Field Summary
Fields Modifier and Type Field Description private float
density
-
Constructor Summary
Constructors Constructor Description FogDensity(FogRenderer.FogType type, ActiveRenderInfo info, float partialTicks, float density)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getDensity()
void
setDensity(float density)
-
Methods inherited from class net.minecraftforge.client.event.EntityViewRenderEvent.FogEvent
getType
-
Methods inherited from class net.minecraftforge.client.event.EntityViewRenderEvent
getInfo, getRenderer, getRenderPartialTicks
-
-
-
-
Constructor Detail
-
FogDensity
public FogDensity(FogRenderer.FogType type, ActiveRenderInfo info, float partialTicks, float density)
-
-