Atmosphere Force
Description
Pushes heat, moisture and lift into the weather simulation at a location, so cloud and rain can form there. The air at the ground follows the new targets gradually, at the pace of physics.surface-tau in atmosphere.yml (120 weather seconds by default). Only the horizontal position counts.
This mechanic works on locations: each target location or target entity's position, or the caster's position when the line has no target.
Attributes
| Attribute | Aliases | Description | Default |
|---|---|---|---|
| temperature | temp, t | Degrees Celsius added to the ground air's target temperature at full strength. Negative values cool | 0.0 |
| vapor | humidity, v | Multiplier for the ground air's target moisture at full strength. 1.0 changes nothing, below 1.0 dries | 1.0 |
| updraft | lift, u | Rising air added to the lowest layers on every simulation step. Negative values push air down | 0.0 |
| radius | r | Radius in blocks, never smaller than one cell size on x and z | 128.0 |
| duration | d, ticks | Ticks of weather time (20 to a second), at least 20. Whole number | 200 |
| falloff | f | smooth or flat |
smooth |
radius Attribute
The force works on whole weather cells, grid.cell-size.xz blocks wide (32 by default, see Atmosphere Options), and counts distance between cells. A radius below one cell size is raised to one cell size: with falloff=smooth it affects only the location's cell, with falloff=flat also the four cells next to it.
falloff Attribute
smooth fades from full strength at the location's cell to nothing at the radius, as 1 - (distance / radius)^2. flat gives full strength within the radius and none beyond. flat works in any letter case, and any other text selects smooth.
duration Attribute
Weather time runs timing.time-acceleration times faster than real time, but at most 12 weather seconds per timing.step-period-ms step (see Options). With the defaults (4, 2000 ms), duration=600 (30 weather seconds) lasts about 8 real seconds.
Examples
MS_SummonStormCell:
Skills:
- atmosphereforce{temp=20;vapor=2.5;updraft=1.5;radius=160;duration=600} @Self
Enough heat, moisture and lift for a storm cell to grow around the caster.
MS_CalmTheSky:
Skills:
- atmosphereforce{temp=-8;vapor=0.3;radius=200;duration=800} @Self
Makes cloud and rain less likely around the caster.
Storm_Totem:
Type: ARMOR_STAND
Skills:
- atmosphereforce{t=12;v=1.8;u=1;r=300;d=1200;f=flat} ~onSpawn
The short keys, cast once when the mob spawns.
Aliases
- atmoforce
- forceweather