Class EntityViewRenderEvent.FogDensity

java.lang.Object
net.minecraftforge.eventbus.api.Event
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
  • Field Details

    • density

      private float density
  • Constructor Details

  • Method Details

    • getDensity

      public float getDensity()
    • setDensity

      public void setDensity(float density)