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

public static class EntityViewRenderEvent.FogColors extends 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.
  • Field Details

    • red

      private float red
    • green

      private float green
    • blue

      private float blue
  • Constructor Details

    • FogColors

      public FogColors(Camera camera, float partialTicks, float red, float green, float blue)
  • 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)