Uses of Class
tk.airshipcraft.commonlib.calendar.clock.CustomDate
Packages that use CustomDate
Package
Description
This package, a part of AirshipCraft's
CommonLib core library, provides a comprehensive calendar and event system
for Minecraft servers.-
Uses of CustomDate in tk.airshipcraft.commonlib.calendar
Methods in tk.airshipcraft.commonlib.calendar that return CustomDateModifier and TypeMethodDescriptionICalendarManager.getCurrentDate()Gets the current in-game date.Methods in tk.airshipcraft.commonlib.calendar with parameters of type CustomDateModifier and TypeMethodDescriptionintICalendarManager.daysUntil(CustomDate date) Returns the number of days until the specified date.voidIEventManager.scheduleEvent(CustomDate date, AbstractGameEvent event) Schedules an event to occur on a specific in-game date.voidICalendarManager.setCurrentDate(CustomDate newDate) Sets the current in-game date.voidIEventManager.triggerEvents(CustomDate currentDate) Triggers all events scheduled for the current in-game date. -
Uses of CustomDate in tk.airshipcraft.commonlib.calendar.clock
Methods in tk.airshipcraft.commonlib.calendar.clock that return CustomDateModifier and TypeMethodDescriptionstatic CustomDateCustomDate.fromMinecraftDays(long minecraftDays) Converts the number of Minecraft days since a fixed epoch to a CustomDate.Methods in tk.airshipcraft.commonlib.calendar.clock with parameters of type CustomDateModifier and TypeMethodDescriptionintCustomDate.daysUntil(CustomDate other) Calculates the number of days from this date to another date. -
Uses of CustomDate in tk.airshipcraft.commonlib.calendar.impl
Methods in tk.airshipcraft.commonlib.calendar.impl that return CustomDateModifier and TypeMethodDescriptionCalendarManager.getCurrentDate()Gets the current in-game date in the custom calendar format.Methods in tk.airshipcraft.commonlib.calendar.impl with parameters of type CustomDateModifier and TypeMethodDescriptionintCalendarManager.daysUntil(CustomDate targetDate) Calculates the number of days until a specified date.voidEventManager.scheduleEvent(CustomDate date, AbstractGameEvent event) Schedules an event to occur on a specific in-game date.voidCalendarManager.setCurrentDate(CustomDate newDate) Sets the in-game date to a specific date.voidEventManager.triggerEvents(CustomDate currentDate) Triggers all events scheduled for the current in-game date.