Class ThermooSeasonEvents

java.lang.Object
com.github.thedeathlycow.thermoo.api.season.ThermooSeasonEvents

public class ThermooSeasonEvents extends Object
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.
  • Field Details

    • GET_CURRENT_SEASON

      public static final net.fabricmc.fabric.api.event.Event<ThermooSeasonEvents.CurrentSeasonCallback> GET_CURRENT_SEASON
      Retrieves 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_SEASON
      Retrieves the current tropical season at a positive in the level. 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:
  • Constructor Details

    • ThermooSeasonEvents

      public ThermooSeasonEvents()