Class ThermooSeasonEvents
java.lang.Object
com.github.thedeathlycow.thermoo.api.season.ThermooSeasonEvents
Events related to Seasons mod integration in Thermoo. Thermoo does not add seasonal functionality by itself, seasons
must be implemented by another mod like Fabric Seasons or Serene Seasons. This only provides the ability to query
seasons if you want to use them.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.fabricmc.fabric.api.event.Event<ThermooSeasonEvents.CurrentSeasonCallback> Retrieves the current season.static final net.fabricmc.fabric.api.event.Event<ThermooSeasonEvents.CurrentTropicalSeasonCallback> Retrieves the current tropical season at a positive in the world. -
Method Summary
-
Field Details
-
GET_CURRENT_SEASON
public static final net.fabricmc.fabric.api.event.Event<ThermooSeasonEvents.CurrentSeasonCallback> GET_CURRENT_SEASONRetrieves the current season. This event just places season integration into a common source.If any listener returns a non-empty season, then all further processing is cancelled and that season is returned.
Returns empty by default.
- See Also:
-
GET_CURRENT_TROPICAL_SEASON
public static final net.fabricmc.fabric.api.event.Event<ThermooSeasonEvents.CurrentTropicalSeasonCallback> GET_CURRENT_TROPICAL_SEASONRetrieves the current tropical season at a positive in the world. If the position queried is not in a tropical biome, or a seasons mod is not loaded, then empty should be returned.If any listener returns a non-empty season, then all further processing is cancelled and that season is returned.
Returns empty by default.
- See Also:
-