Class 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
    • Field Detail

      • density

        private float density
    • Method Detail

      • getDensity

        public float getDensity()
      • setDensity

        public void setDensity​(float density)