Interface ICalendarManager

All Known Implementing Classes:
CalendarManager

public interface ICalendarManager
Interface for managing the in-game calendar in Minecraft.
Since:
2024-01-04
Version:
2.0.0
Author:
notzune
  • Method Details

    • newMinecraftDay

      void newMinecraftDay()
      Advances the calendar by one day.
    • getCurrentDate

      CustomDate getCurrentDate()
      Gets the current in-game date.
      Returns:
      The current in-game date.
    • setCurrentDate

      void setCurrentDate(CustomDate newDate)
      Sets the current in-game date.
      Parameters:
      newDate - The new in-game date.
    • advanceDays

      void advanceDays(int days)
      Advances the calendar by a specified number of days.
      Parameters:
      days - The number of days to advance the calendar.
    • daysUntil

      int daysUntil(CustomDate date)
      Returns the number of days until the specified date.
      Parameters:
      date - The date to calculate the number of days until.
      Returns:
      The number of days until the specified date.