Atmosphere

Description

Matches when the weather at the entity agrees with every attribute you set. With no attribute it is always true.

This condition works on any entity, at its position. Without an entity it is false.

It uses the first of the weather sources with an answer. Under Skills:, atmosphereweather is the AtmosphereWeather mechanic.

Attributes

Attribute Aliases Description Default
raining rain true or false: rain at the position. Falling snow counts. not checked
snowing snow true or false: snow falling at the position. not checked
storm thunder true or false: a thunderstorm at the position. not checked
incloud cloud true or false: the position is inside a cloud. not checked

Where each answer comes from

  • A permanent weather region decides raining and storm (clear is dry, rain raining, storm raining with thunder) and says nothing about snowing or incloud.
  • The atmosphere simulation answers raining, snowing and storm, and says yes only where the first solid cloud layer draws cloud above the position, or below the top of the simulated cloud when there is no solid layer (Weather). In a WorldGuard region with season-atmosphere set to deny it does not answer.
  • With no source, raining and storm follow the vanilla weather, and snowing is true while it rains in the world and the biome temperature at the position is below 0.15.
  • incloud is true inside the first solid cloud layer as drawn, even when clouds are not shown to players. See-through layers such as fog never count. Without the simulation, or another plugin's provider that answers it, incloud is always false.

Examples

SnowFlurries:
  Cooldown: 0.5
  Conditions:
  - atmosphere{raining=true;snowing=true} true
  Skills:
  - effect:particles{p=SNOWFLAKE;amount=10;hSpread=6;ySpread=4;speed=0.02;yOffset=3;audience=self} @Self

Falling snow counts as rain, so both tests pass while it snows.

MistOnYourFace:
  TargetConditions:
  - atmosphere{incloud=true} true
  Skills:
  - message{m="Mist beads on your face."}

CheckTheSky:
  Skills:
  - skill{s=MistOnYourFace} @PlayersInRadius{r=40}

Messages only the nearby players inside a cloud.

WeatherReport:
  Skills:
  - message{m="It is raining."} @Self ?atmosphere{raining=true}
  - message{m="No rain today."} @Self ?atmosphere{raining=false}

Inline, it tests the caster.

Aliases

  • atmosphereweather
Updated Nov 11, 2026