Package net.minecraftforge.client.event
Class EntityViewRenderEvent.FogColors
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.EntityViewRenderEvent
net.minecraftforge.client.event.EntityViewRenderEvent.FogColors
- Enclosing class:
- EntityViewRenderEvent
Event that allows any feature to customize the color of fog the player sees.
NOTE: Any change made to one of the color variables will affect the result seen in-game.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.client.event.EntityViewRenderEvent
EntityViewRenderEvent.CameraSetup, EntityViewRenderEvent.FieldOfView, EntityViewRenderEvent.FogColors, EntityViewRenderEvent.FogDensity, 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
-
Method Summary
Methods inherited from class net.minecraftforge.client.event.EntityViewRenderEvent
getCamera, getPartialTicks, getRenderer
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
red
private float red -
green
private float green -
blue
private float blue
-
-
Constructor Details
-
FogColors
-
-
Method Details
-
getRed
public float getRed() -
setRed
public void setRed(float red) -
getGreen
public float getGreen() -
setGreen
public void setGreen(float green) -
getBlue
public float getBlue() -
setBlue
public void setBlue(float blue)
-