Skip to content

Seasons Integration API

TheDeathlyCow edited this page Apr 13, 2024 · 3 revisions

Thermoo also provides the ability for mods to integrate with Seasons mods. Thermoo does not actually add any functionality around seasons - it just provides mods the ability to handle them if they want. In 1.20.1, Fabric Seasons is supported out of the box with just Thermoo installed. However, for newer versions, you must use Thermoo Patches instead.

Thermoo Seasons

ThermooSeasons is a mod-agnostic enum provided by Thermoo to represent the four basic seasons - Spring, Summer, Autumn (or Fall), and Winter. It does not currently support the tropical wet or dry seasons.

Season Events

Currently, the only season event is GET_CURRENT_SEASON. This event returns an optional ThermooSeason with the current season. By default, this optional will be empty. Mods can use ThermooSeasons.getCurrentSeason(World) as a shorthand for invoking this event to query the current season.