Mechanics
MythicSeasons adds eleven mechanics to MythicMobs. Use them in any skill, including the skills that season files run through skill triggers.
Mechanics
| Mechanic | Description |
|---|---|
| SeasonPopulator | Sends nearby chunks again so season populators (snow, ice, flowers) show, or switches a populator rule on or off |
| SetFreezing | Holds a player frozen (frost overlay, optional freeze damage) or releases them |
| SetHealing | Blocks or allows a player's health regeneration |
| SetRSBurn | Marks a player's burning as caused by overheating, which changes the temperature display |
| ModifyTemp | Adds a named modifier to a player's body temperature that expires by itself |
| BlockHeat | Lets blocks near a player warm or cool them |
| AtmosphereWeather | Shows a player the simulated weather instead of the server weather, or gives the server weather back |
| AtmosphereWind | Pushes a player with the local wind |
| AtmosphereProfile | Forces a named atmosphere profile on a world for a time, or removes it |
| AtmosphereForce | Pushes heat, moisture and lift into the weather simulation at a location |
| SeasonArea | Shows a season in the chunks around a location for a while |
Targets
- SetFreezing, SetHealing, SetRSBurn, ModifyTemp, BlockHeat, AtmosphereWeather and AtmosphereWind act on each targeted player and skip other entities. A location targeter counts as no target.
- AtmosphereProfile acts on the world of each entity target. A location targeter counts as no target.
- AtmosphereForce and SeasonArea act at a location. An entity target counts as its position.
- SeasonPopulator accepts entities, locations and no target.
Area targeters such as @PlayersInWorld and @PlayersInRadius leave out the caster unless written with targetself=true, and players in Creative or Spectator mode unless the line sets targetcreative=true.
Attribute values
Attribute values cannot use placeholders. The exceptions are the amount of ModifyTemp, which may be a placeholder that gives a number, and the amount and range of BlockHeat on MythicMobs Premium. Mechanic names are not case sensitive.
Units
| Mechanic | Attribute | Unit |
|---|---|---|
| ModifyTemp | duration |
Seconds |
| BlockHeat | duration |
Seconds |
| AtmosphereProfile | duration |
Ticks, 20 to a second |
| AtmosphereForce | duration |
Ticks, 20 to a second of weather time (see timing.time-acceleration in atmosphere.yml) |
| SeasonArea | duration |
Ticks, 20 to a second |
| SeasonPopulator | radius |
Chunks |
| AtmosphereForce | radius |
Blocks |
| SeasonArea | radius |
Blocks |
| BlockHeat | range |
Blocks |
| ModifyTemp | amount |
Degrees Celsius |
| BlockHeat | amount |
Degrees Celsius |
| AtmosphereForce | temperature |
Degrees Celsius |
Same key, different meaning
| Key | Meaning |
|---|---|
value |
true or false in SetFreezing, SetHealing and SetRSBurn. The amount, a number, in ModifyTemp |
v |
The same value in SetFreezing, SetHealing and SetRSBurn. The vapor multiplier in AtmosphereForce. Not accepted by ModifyTemp |
d |
damage in SetFreezing. duration in ModifyTemp, BlockHeat, AtmosphereProfile, AtmosphereForce and SeasonArea |
a |
action in SeasonPopulator. amount in ModifyTemp and BlockHeat |
r |
rule in SeasonPopulator. radius in AtmosphereForce and SeasonArea. range in BlockHeat. SeasonPopulator writes its own radius as rad |
m |
multiplier in AtmosphereWind. blocks in BlockHeat |
t |
amount in ModifyTemp. temperature in AtmosphereForce. blocks in BlockHeat |
temp |
amount in ModifyTemp and BlockHeat. temperature in AtmosphereForce |
ticks, seconds and secs |
Aliases of duration. ticks in AtmosphereProfile, AtmosphereForce and SeasonArea, seconds and secs in ModifyTemp |
reset |
Returns the player to the server weather in AtmosphereWeather. An alias of clear in AtmosphereProfile |
clear |
An alias of reset in AtmosphereWeather. Removes forced profiles in AtmosphereProfile |
Names that are both a condition and a mechanic
Four names exist twice: atmosphereweather, atmospherewind, atmosphereprofile and atmoprofile. Under Conditions: or after ? the name is the condition and reads the weather. In Skills: it is the mechanic and changes it.
| Name | Condition | Mechanic |
|---|---|---|
atmosphereweather |
Atmosphere checks rain, snow, storm or cloud at the target | AtmosphereWeather shows the player the simulated weather |
atmospherewind |
AtmosphereWind checks the wind speed | AtmosphereWind pushes the player |
atmosphereprofile and atmoprofile |
AtmosphereProfile checks for a forced profile | AtmosphereProfile forces a profile |
The other aliases belong to one side only: atmosphere and atmoswind are conditions, and setatmoweather, atmoweather, atmowind, windpush and setatmoprofile are mechanics. atmoswind (condition) and atmowind (mechanic) differ by one letter.
MythicMobs weather mechanics in simulated worlds
Where the weather simulation runs, MythicSeasons stops the built-in MythicMobs mechanics weather and effect:thunderlevel: their lines do not run there.
This needs a MythicMobs build with the component provider API. Without it, MythicSeasons logs "This MythicMobs build has no component provider API" at startup, and both mechanics keep using the server weather.