Class WeatherDefs.Weather

java.lang.Object
net.risingworld.api.definitions.WeatherDefs.Weather
Enclosing class:
WeatherDefs

public final class WeatherDefs.Weather extends Object
Represents a single weather effect
  • Field Details

    • id

      public int id
      Internal ID of this weather effect
    • name

      public String name
      Weather effect name
    • fogattenuation

      public int fogattenuation
    • fogheight

      public int fogheight
    • fogcolor

      public int fogcolor
      Fog albedo color (hex)
    • rainintensity

      public float rainintensity
    • snowintensity

      public float snowintensity
    • windambience

      public float windambience
      Overall wind intensity (0-1) for the ambience sound
    • windintensity

      public float windintensity
      Wind main intensity
    • windgustmin

      public float windgustmin
      Minimum intensity for gusts of wind
    • windgustmax

      public float windgustmax
      Maximum intensity for gusts of wind
    • waveamplitude

      public float waveamplitude
      Water wave amplitude (i.e wave height)
    • wavesteepness

      public float wavesteepness
      Water wave steepness
    • wavespeed

      public float wavespeed
      Water wave movement speed
    • wavelength

      public float wavelength
      Water wave length (higher values == shorter waves)
    • pollenintensity

      public float pollenintensity
    • temperaturedifference

      public int temperaturedifference
      Temperature difference in relation to current temperature
    • rainsoundintensity

      public float rainsoundintensity
      Rain sound intensity (0-1)
    • faunaactivity

      public float faunaactivity
      Fauna activity (0-1), 0 == no birds or insects, 1 == full bird sounds, insects etc.
    • isgoodweather

      public boolean isgoodweather
      Is this considered good weather?
    • sunvolumetrics

      public int sunvolumetrics
      Intensity for sun volumetric light (0-16)
    • clouddensity

      public float clouddensity
      Density of volumetric clouds (0-1)
    • cloudshape

      public float cloudshape
      Shape factor of volumetric clouds (0-1). 0 == overcast sky, 1 == clear sky
    • cloudscale

      public float cloudscale
      Scale for volumetric clouds (typically values between 20 and 200)
    • clouderosion

      public float clouderosion
      Erosion factor for volumetric clouds (0-1)
    • clouderosionscale

      public float clouderosionscale
      Erosion scale for volumetric clouds (typically high values, like 1000)
    • cloudaltitude

      public float cloudaltitude
      Altitude where volumetric clouds begin (Y position)
    • cloudthickness

      public float cloudthickness
      Height/thickness of volumetric clouds (vertically)
    • cloudambient

      public float cloudambient
      Volumetric cloud ambient light probe dimmer (0-1), default is 0.5
    • auroraintensity

      public float auroraintensity
      Intensity of aurora effects (aurora borealis)
    • seasons

      public Seasons.Season[] seasons
      Season when this weather effect may occur. Never null
    • nextweathers

      public WeatherDefs.Weather[] nextweathers
      Next possible weather effects. Never null (after initialization)
  • Method Details

    • synchronize

      public void synchronize()