-
Notifications
You must be signed in to change notification settings - Fork 2
Seasons Integration API
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.
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.
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.