Index
All Classes and Interfaces|All Packages
A
- AbstractGameEvent - Class in tk.airshipcraft.commonlib.calendar.impl
-
The AbstractGameEvent abstract class provides a structure for creating different types of in-game events.
- AbstractGameEvent(Optional<String>, Optional<String>) - Constructor for class tk.airshipcraft.commonlib.calendar.impl.AbstractGameEvent
-
Creates a new AbstractGameEvent with the specified command and message.
- AbstractYLimitedArea - Class in tk.airshipcraft.commonlib.world
-
An abstract implementation of a Y-limited area.
- AbstractYLimitedArea(double, double) - Constructor for class tk.airshipcraft.commonlib.world.AbstractYLimitedArea
-
Constructs an
AbstractYLimitedArea
with specified lower and upper Y bounds. - ACRPlugin - Class in tk.airshipcraft.commonlib
-
Abstract class representing a CommonLib plugin.
- ACRPlugin() - Constructor for class tk.airshipcraft.commonlib.ACRPlugin
- add(String) - Method in class tk.airshipcraft.commonlib.gui.objects.Sidebar
-
Adds a line of text to the sidebar using the next available score.
- add(String, int) - Method in class tk.airshipcraft.commonlib.gui.objects.Sidebar
-
Adds a line of text with a specified score to the sidebar.
- addButton(ItemStack, int) - Method in class tk.airshipcraft.commonlib.gui.objects.Ui
-
Adds an item as a button to the UI at the specified slot.
- addChildTeam(ITeam) - Method in interface tk.airshipcraft.commonlib.gui.objects.ITeam
-
Adds a child team to this team.
- addClickAction(Inventory, int) - Method in class tk.airshipcraft.commonlib.gui.UiDesigner
-
Abstract method to add a click action for a GUI.
- addClickAction(Hologram) - Method in class tk.airshipcraft.commonlib.gui.Hologram
-
An abstract method that subclasses must implement to define the behavior when the hologram is clicked.
- addDays(int) - Method in class tk.airshipcraft.commonlib.calendar.clock.CustomDate
-
Adds the specified number of days to the current date.
- addEmojiToTitle(String) - Method in class tk.airshipcraft.commonlib.gui.objects.Bossbar
-
Adds an emoji or special character to the beginning of the boss bar's title.
- addPlayer(Player) - Method in class tk.airshipcraft.commonlib.gui.objects.Bossbar
-
Adds a player to this boss bar, making it visible to them.
- addTeam(String, ChatColor) - Method in class tk.airshipcraft.commonlib.gui.objects.BelowName
-
Adds a new team to the scoreboard with a specified name and color.
- advanceDays(int) - Method in interface tk.airshipcraft.commonlib.calendar.ICalendarManager
-
Advances the calendar by a specified number of days.
- advanceDays(int) - Method in class tk.airshipcraft.commonlib.calendar.impl.CalendarManager
-
Advances the in-game date by a specified number of days.
- animateProgress(double, int) - Method in class tk.airshipcraft.commonlib.gui.objects.Bossbar
-
Animates the progress of the boss bar from its current value to a specified target value over a given duration.
- applyStyle(ChatColor, ChatColor) - Method in class tk.airshipcraft.commonlib.gui.objects.Sidebar
-
Applies a specified color and style to the sidebar's title and text lines.
- AuthData - Class in tk.airshipcraft.commonlib.db.model
-
Represents the authentication data for a player, storing information related to the linkage of Minecraft accounts to Discord accounts.
- AuthData(UUID, String, String, UUID, boolean) - Constructor for class tk.airshipcraft.commonlib.db.model.AuthData
-
Constructs an AuthData object with the specified details.
- AuthDataDao - Interface in tk.airshipcraft.commonlib.db.dao
-
Interface for data access operations related to AuthData.
- AUTUMN - Enum constant in enum class tk.airshipcraft.commonlib.calendar.ISeasonManager.Season
-
Autumn season.
B
- beginTransaction(Connection) - Method in class tk.airshipcraft.commonlib.db.SqlConnectionManager
-
Begins a new database transaction.
- BelowName - Class in tk.airshipcraft.commonlib.gui.objects
-
A utility class for managing and customizing the below-name scoreboard in Minecraft.
- BelowName(ScoreboardManager) - Constructor for class tk.airshipcraft.commonlib.gui.objects.BelowName
-
Constructs a new BelowName instance using the provided ScoreboardManager.
- BiasedRandomPicker<E> - Class in tk.airshipcraft.commonlib.utils.math
-
This class allows for random selection of objects based on assigned probabilities.
- BiasedRandomPicker(Map<E, Double>) - Constructor for class tk.airshipcraft.commonlib.utils.math.BiasedRandomPicker
-
Constructs a BiasedRandomPicker with a map of objects and their associated probabilities.
- BlockUtils - Class in tk.airshipcraft.commonlib.utils
-
Utility class for categorizing different types of Minecraft blocks.
- BlockUtils() - Constructor for class tk.airshipcraft.commonlib.utils.BlockUtils
- BlockUtils.BlockType - Enum Class in tk.airshipcraft.commonlib.utils
-
Enum representing different types of Minecraft blocks grouped by category.
- Bossbar - Class in tk.airshipcraft.commonlib.gui.objects
-
Encapsulates the Bukkit API's BossBar feature, offering a simplified and enhanced interface for creating and manipulating boss bars.
- Bossbar(String, BarColor, BarStyle) - Constructor for class tk.airshipcraft.commonlib.gui.objects.Bossbar
-
Constructs a new Bossbar instance with the specified title, color, and style.
- broadcastMessage() - Method in class tk.airshipcraft.commonlib.calendar.impl.AbstractGameEvent
-
Creates a new AbstractGameEvent with the specified message.
- build() - Method in class tk.airshipcraft.commonlib.gui.GuiBuilder
-
Finalizes the GUI construction and retrieves the built Inventory instance.
C
- calculate(byte[], byte[]) - Method in class tk.airshipcraft.commonlib.utils.search.DukeJaroWinklerAlgorithm
-
Computes the Jaro-Winkler similarity score between two byte arrays.
- calculate(byte[], byte[]) - Method in class tk.airshipcraft.commonlib.utils.search.NormalizedLevenshteinAlgorithm
-
Calculates the normalized Levenshtein distance between two byte arrays.
- calculate(byte[], byte[]) - Method in enum class tk.airshipcraft.commonlib.utils.search.SearchAlgorithm
-
Calculates the string distance between two sequences of bytes using the associated algorithm.
- calculate(byte[], byte[]) - Method in interface tk.airshipcraft.commonlib.utils.search.StringDistance
-
Calculates the distance or similarity between two sequences of bytes.
- calculateRankUpsForNextToken(int, double) - Static method in class tk.airshipcraft.commonlib.utils.ProgressionCurve
-
Calculates the required number of rank-ups for a player to earn their next token.
- CalendarManager - Class in tk.airshipcraft.commonlib.calendar.impl
-
The CalendarManager class is responsible for managing the in-game calendar in Minecraft.
- CalendarManager(int, int, int) - Constructor for class tk.airshipcraft.commonlib.calendar.impl.CalendarManager
-
Initializes a new CalendarManager with a specified starting date or default date.
- callClickAction(Inventory, int) - Static method in class tk.airshipcraft.commonlib.gui.UiDesigner
-
Invokes the addClickAction method for all UiDesigner subclasses.
- callClickAction(Hologram) - Static method in class tk.airshipcraft.commonlib.gui.Hologram
-
Calls the
addClickAction
method for all hologram subclasses. - CANDLE - Enum constant in enum class tk.airshipcraft.commonlib.utils.BlockUtils.BlockType
-
Represents a candle block type.
- castOrNull(Class<T>, Object) - Static method in class tk.airshipcraft.commonlib.utils.NullCoalescing
-
Attempts to cast an object to a specified type and returns null if the cast is not possible.
- chain(NullCoalescing.NullChecker<T>) - Static method in class tk.airshipcraft.commonlib.utils.NullCoalescing
-
Executes a function and returns its value if not null; otherwise, returns null.
- chain(NullCoalescing.NullChecker<T>, T) - Static method in class tk.airshipcraft.commonlib.utils.NullCoalescing
-
Executes a function and returns its value if not null; otherwise, returns a fallback value.
- clamp(double, double, double) - Static method in class tk.airshipcraft.commonlib.utils.math.Maths
-
Limits a value between and including two values.
- clamp(float, float, float) - Static method in class tk.airshipcraft.commonlib.utils.math.Maths
-
Limits a value between and including two values.
- clamp(int, int, int) - Static method in class tk.airshipcraft.commonlib.utils.math.Maths
-
Limits a value between and including two values.
- clamp(long, long, long) - Static method in class tk.airshipcraft.commonlib.utils.math.Maths
-
Limits a value between and including two values.
- ClassPathScanner - Class in tk.airshipcraft.commonlib.utils.classes
-
A utility class for scanning the classpath to find classes of a particular type.
- ClassPathScanner() - Constructor for class tk.airshipcraft.commonlib.utils.classes.ClassPathScanner
-
Default constructor.
- ClassPathScanner(String...) - Constructor for class tk.airshipcraft.commonlib.utils.classes.ClassPathScanner
-
Constructor with package names to restrict the scanning scope.
- cleanupExpiredEntries() - Method in class tk.airshipcraft.commonlib.utils.cooldowns.KVTickCoolDownHandler
-
Cleans up expired cooldown entries.
- clear() - Method in class tk.airshipcraft.commonlib.gui.objects.Sidebar
-
Clears all lines of text from the sidebar.
- clearInventory(Inventory) - Method in class tk.airshipcraft.commonlib.gui.UiDesigner
-
Clears all items from the given inventory.
- close() - Method in class tk.airshipcraft.commonlib.db.SqlConnectionManager
-
Closes the data source and releases all pooled connections.
- coalesce(T...) - Static method in class tk.airshipcraft.commonlib.utils.NullCoalescing
-
Returns the first non-null value from the provided items.
- CommandManager - Class in tk.airshipcraft.commonlib.commands
-
This abstract class CommandManager extends BukkitCommand to facilitate the registration and management of custom commands in a Minecraft server.
- CommandManager(String, String, String, String[]) - Constructor for class tk.airshipcraft.commonlib.commands.CommandManager
-
Constructs and registers a new command with the provided details.
- commitTransaction(Connection) - Method in class tk.airshipcraft.commonlib.db.SqlConnectionManager
-
Commits the current transaction.
- CommonLib - Class in tk.airshipcraft.commonlib
-
Main class of the CommonLib library.
- CommonLib() - Constructor for class tk.airshipcraft.commonlib.CommonLib
- complete(String[]) - Method in class tk.airshipcraft.commonlib.utils.search.Trie
-
Provides auto-completion suggestions based on the input arguments, treating them as space-separated parts of a prefix.
- ConfigHelper - Class in tk.airshipcraft.commonlib.configuration
-
Manages the configuration for plugins that extend CommonLib.
- ConfigHelper(CommonLib, Class<?>) - Constructor for class tk.airshipcraft.commonlib.configuration.ConfigHelper
-
Constructs a ConfigHelper for the given plugin and configuration class.
- ConfigOption - Annotation Interface in tk.airshipcraft.commonlib.configuration
-
The
ConfigOption
annotation is used to mark fields in a class that represent configuration options. - convertStringToFieldType(String, Class<?>) - Static method in class tk.airshipcraft.commonlib.configuration.impl.PreferenceProcessor
-
Converts a string value to the specified field type.
- copy() - Method in class tk.airshipcraft.commonlib.particles.ParticleEffect
-
Creates a copy of this ParticleEffect.
- create(T) - Method in interface tk.airshipcraft.commonlib.db.GenericDao
-
Creates and saves a new entity.
- create(AuthData) - Method in interface tk.airshipcraft.commonlib.db.dao.AuthDataDao
-
Inserts new AuthData into the database.
- create(AuthData) - Method in class tk.airshipcraft.commonlib.db.dao.impl.SqlAuthDataDao
-
Creates a new AuthData record.
- create(User) - Method in class tk.airshipcraft.commonlib.db.dao.impl.SqlUserDao
-
Inserts a new user into the database.
- create(Warning) - Method in class tk.airshipcraft.commonlib.db.dao.impl.SqlWarningDao
-
Creates a new Warning in the database.
- create(Warning) - Method in interface tk.airshipcraft.commonlib.db.dao.WarningDao
- createGUI(String, InventoryType, int) - Static method in class tk.airshipcraft.commonlib.gui.UiDesigner
-
Creates a custom GUI (Graphical User Interface) inventory with a specific title and type.
- createItemStack(Material, int, String) - Static method in class tk.airshipcraft.commonlib.gui.UiDesigner
-
Creates an item stack with specified material, amount, and custom name.
- CustomDate - Class in tk.airshipcraft.commonlib.calendar.clock
-
Represents a date in the custom calendar system used in the AirshipCraft Minecraft server.
- CustomDate(int, int, int) - Constructor for class tk.airshipcraft.commonlib.calendar.clock.CustomDate
-
Initializes a new CustomDate.
D
- DatabaseConfig - Class in tk.airshipcraft.commonlib.db
-
Manages database configuration settings, providing methods to load from external sources and to access individual configuration properties.
- DatabaseConfig() - Constructor for class tk.airshipcraft.commonlib.db.DatabaseConfig
-
Initializes a new DatabaseConfig object with empty properties.
- daysUntil(CustomDate) - Method in class tk.airshipcraft.commonlib.calendar.clock.CustomDate
-
Calculates the number of days from this date to another date.
- daysUntil(CustomDate) - Method in interface tk.airshipcraft.commonlib.calendar.ICalendarManager
-
Returns the number of days until the specified date.
- daysUntil(CustomDate) - Method in class tk.airshipcraft.commonlib.calendar.impl.CalendarManager
-
Calculates the number of days until a specified date.
- decrementScore(String, int) - Method in class tk.airshipcraft.commonlib.gui.objects.Sidebar
-
Decrements the score of a given line by a specified amount.
- defaultValue() - Element in annotation interface tk.airshipcraft.commonlib.configuration.ConfigOption
-
The default value for this option.
- defaultValue() - Element in annotation interface tk.airshipcraft.commonlib.configuration.PlayerPref
-
Specifies an optional default value for the player preference.
- deleteById(ID) - Method in interface tk.airshipcraft.commonlib.db.GenericDao
-
Deletes the entity with the given identifier.
- deleteById(UUID) - Method in interface tk.airshipcraft.commonlib.db.dao.AuthDataDao
-
Deletes AuthData for a given player's UUID from the database.
- deleteById(UUID) - Method in class tk.airshipcraft.commonlib.db.dao.impl.SqlAuthDataDao
-
Deletes an existing AuthData record by its ID.
- deleteById(UUID) - Method in class tk.airshipcraft.commonlib.db.dao.impl.SqlUserDao
-
Deletes a user from the database by their UUID.
- deleteById(UUID) - Method in class tk.airshipcraft.commonlib.db.dao.impl.SqlWarningDao
-
Deletes a Warning from the database by its UUID.
- deleteById(UUID) - Method in interface tk.airshipcraft.commonlib.db.dao.WarningDao
- describe(Player) - Method in class tk.airshipcraft.commonlib.configuration.impl.PlayerPreference
-
Provides a string representation of the player's current preferences.
- describe(Player) - Method in interface tk.airshipcraft.commonlib.configuration.IPlayerPreference
-
Provides a string representation of the player's current preferences.
- describePart() - Method in class tk.airshipcraft.commonlib.configuration.impl.PlayerPreference
-
Provides a part of the description of player preferences specific to the subclass.
- describePreferences(Player) - Method in class tk.airshipcraft.commonlib.configuration.impl.PreferencesManager
-
Provides a descriptive string of a player's preferences.
- diffToNow(Instant) - Static method in class tk.airshipcraft.commonlib.utils.Time
-
Calculates the absolute duration between the current time and another specified instant.
- disableSubclasses() - Static method in class tk.airshipcraft.commonlib.ACRPlugin
-
Disables all subclasses of ACRPlugin.
- DUKE_JARO_WINKLER - Enum constant in enum class tk.airshipcraft.commonlib.utils.search.SearchAlgorithm
-
Jaro-Winkler distance algorithm.
- DukeJaroWinklerAlgorithm - Class in tk.airshipcraft.commonlib.utils.search
-
This class provides a highly optimized implementation of the Jaro-Winkler similarity algorithm, which is a measure of similarity between two byte arrays (and by extension, two strings).
- DukeJaroWinklerAlgorithm() - Constructor for class tk.airshipcraft.commonlib.utils.search.DukeJaroWinklerAlgorithm
- duration(TimeUnit, long) - Static method in class tk.airshipcraft.commonlib.utils.Time
E
- EllipseArea - Class in tk.airshipcraft.commonlib.world
-
Represents an elliptical area in a world, defined by a center point, and the radii along the X and Z axes.
- EllipseArea(double, double, Location, double, double) - Constructor for class tk.airshipcraft.commonlib.world.EllipseArea
-
Constructs a new
EllipseArea
with specified Y boundaries, center, and radii. - enableSubclasses() - Static method in class tk.airshipcraft.commonlib.ACRPlugin
-
Enables all subclasses of ACRPlugin.
- equals(Object) - Method in class tk.airshipcraft.commonlib.calendar.clock.CustomDate
-
Compares this CustomDate to another CustomDate.
- equals(Object) - Method in class tk.airshipcraft.commonlib.db.model.AuthData
-
Checks if the specified object is equal to this AuthData object.
- equals(Object) - Method in class tk.airshipcraft.commonlib.db.model.LocationObj
-
Checks if this object is equal to another object.
- equals(Object) - Method in class tk.airshipcraft.commonlib.db.model.User
-
Compares the User object with another object.
- equals(Object) - Method in class tk.airshipcraft.commonlib.db.model.Warning
-
Compares this Warning to another Warning.
- equals(Object) - Method in class tk.airshipcraft.commonlib.particles.ParticleEffect
-
Checks if two ParticleEffect objects are equal based on their properties.
- equals(Object) - Method in class tk.airshipcraft.commonlib.utils.Pair
- equals(Object, Object) - Static method in class tk.airshipcraft.commonlib.utils.NullCoalescing
-
Compares two objects for equality, handling nulls safely.
- equalsNotNull(Object, Object) - Static method in class tk.airshipcraft.commonlib.utils.NullCoalescing
-
Compares two objects for equality, where nulls are considered unequal.
- EventManager - Class in tk.airshipcraft.commonlib.calendar.impl
-
The EventManager class is responsible for managing and scheduling in-game events in the Minecraft world.
- EventManager() - Constructor for class tk.airshipcraft.commonlib.calendar.impl.EventManager
-
Initializes a new EventManager.
- execute(CommandSender, String, String[]) - Method in class tk.airshipcraft.commonlib.commands.CommandManager
-
This method is invoked when a command registered to this CommandManager is executed.
- execute(CommandSender, String[]) - Method in class tk.airshipcraft.commonlib.commands.CommandManager
-
Abstract method to be implemented by subclasses to define the command's behavior.
- execute(CommandSender, String[]) - Method in class tk.airshipcraft.commonlib.commands.PreferenceCommand
-
Executes the 'preference' command when invoked by a player or console.
- executeClickEvents(HologramClickEvent) - Method in class tk.airshipcraft.commonlib.gui.events.HologramClickListener
-
Handles the HologramClickEvent when it is fired.
- executeCommand() - Method in class tk.airshipcraft.commonlib.calendar.impl.AbstractGameEvent
-
Creates a new AbstractGameEvent with the specified command.
- exists(T, Consumer<T>) - Static method in class tk.airshipcraft.commonlib.utils.NullCoalescing
-
Executes a consumer if the provided value is not null.
F
- FastUUID - Class in tk.airshipcraft.commonlib.utils
-
A utility class for efficient parsing of
UUID
instances from strings and for converting UUID instances to strings. - fillSlots(Inventory, ItemStack) - Method in class tk.airshipcraft.commonlib.gui.UiDesigner
-
Fills all empty slots in the given inventory with the specified item stack.
- findAll() - Method in class tk.airshipcraft.commonlib.db.dao.impl.SqlAuthDataDao
-
Finds all AuthData records.
- findAll() - Method in class tk.airshipcraft.commonlib.db.dao.impl.SqlUserDao
-
Retrieves all users from the database.
- findAll() - Method in class tk.airshipcraft.commonlib.db.dao.impl.SqlWarningDao
-
Retrieves all Warnings from the database.
- findAll() - Method in interface tk.airshipcraft.commonlib.db.dao.WarningDao
- findAll() - Method in interface tk.airshipcraft.commonlib.db.GenericDao
-
Retrieves all entities of type T.
- findById(ID) - Method in interface tk.airshipcraft.commonlib.db.GenericDao
-
Retrieves an entity by its identifier.
- findById(UUID) - Method in class tk.airshipcraft.commonlib.db.dao.impl.SqlAuthDataDao
-
Finds an AuthData record by its ID.
- findById(UUID) - Method in class tk.airshipcraft.commonlib.db.dao.impl.SqlUserDao
-
Retrieves a user by their unique identifier (UUID).
- findById(UUID) - Method in class tk.airshipcraft.commonlib.db.dao.impl.SqlWarningDao
-
Retrieves a Warning by its unique ID.
- findById(UUID) - Method in interface tk.airshipcraft.commonlib.db.dao.WarningDao
- findByUser(UUID, String) - Method in class tk.airshipcraft.commonlib.db.dao.impl.SqlWarningDao
-
Retrieves all Warnings issued to a specific Minecraft or Discord user.
- findByUser(UUID, String) - Method in interface tk.airshipcraft.commonlib.db.dao.WarningDao
-
Retrieves all warnings issued to a specific Minecraft or Discord user.
- findByUsername(String) - Method in class tk.airshipcraft.commonlib.db.dao.impl.SqlUserDao
-
Finds a user by their username.
- findByUsername(String) - Method in interface tk.airshipcraft.commonlib.db.dao.UserDao
-
Retrieves a User entity by its username.
- flash(int) - Method in class tk.airshipcraft.commonlib.gui.objects.Bossbar
-
Flashes the boss bar by alternating its color and style at regular intervals for a specified duration.
- formatDuration(long) - Static method in class tk.airshipcraft.commonlib.utils.TextFormatting
-
Formats a duration in milliseconds into a human-readable string.
- formatDuration(long, TimeUnit) - Static method in class tk.airshipcraft.commonlib.utils.TextFormatting
-
Formats a duration in a specified time unit into a human-readable string.
- fromArmorStand(ArmorStand) - Static method in class tk.airshipcraft.commonlib.gui.Hologram
-
Retrieves the
Hologram
instance corresponding to the givenArmorStand
. - fromMinecraftDays(long) - Static method in class tk.airshipcraft.commonlib.calendar.clock.CustomDate
-
Converts the number of Minecraft days since a fixed epoch to a CustomDate.
G
- GenericDao<T,
ID> - Interface in tk.airshipcraft.commonlib.db -
The GenericDao interface defines the standard CRUD operations to be performed on a model object.
- get() - Method in interface tk.airshipcraft.commonlib.utils.NullCoalescing.NullChecker
-
Executes the operation and returns its result.
- getActualChunk() - Method in class tk.airshipcraft.commonlib.world.PseudoChunk
-
Retrieves the actual
Chunk
object that this pseudo chunk represents from the world. - getActualX() - Method in class tk.airshipcraft.commonlib.world.PseudoChunk
-
Gets the actual x-coordinate of the chunk's origin in the world (block coordinate).
- getActualZ() - Method in class tk.airshipcraft.commonlib.world.PseudoChunk
-
Gets the actual z-coordinate of the chunk's origin in the world (block coordinate).
- getAllPreferences() - Method in class tk.airshipcraft.commonlib.configuration.impl.PreferencesManager
-
Retrieves a set of all registered player preferences.
- getArmorStands() - Method in class tk.airshipcraft.commonlib.gui.Hologram
- getBlockType(Material) - Static method in class tk.airshipcraft.commonlib.utils.BlockUtils
-
Retrieves the block type of a given material.
- getBoolean(String) - Method in class tk.airshipcraft.commonlib.configuration.ConfigHelper
-
Gets the value of a configuration option as a short.
- getBooleanList(String) - Method in class tk.airshipcraft.commonlib.configuration.ConfigHelper
-
Gets the value of a configuration option as a List of Booleans.
- getByteList(String) - Method in class tk.airshipcraft.commonlib.configuration.ConfigHelper
-
Gets the value of a configuration option as a List of Bytes.
- getCalendarManager() - Static method in class tk.airshipcraft.commonlib.CommonLib
-
Returns the CalendarManager instance.
- getCenter() - Method in class tk.airshipcraft.commonlib.world.EllipseArea
-
Gets the center of the elliptical area.
- getCenter() - Method in class tk.airshipcraft.commonlib.world.GlobalYLimitedArea
-
Gets the center of the global Y-limited area.
- getCenter() - Method in interface tk.airshipcraft.commonlib.world.IArea
-
Provides the central point of this area, which can be used as an anchor for various operations.
- getCenter() - Method in class tk.airshipcraft.commonlib.world.RectangleArea
-
Gets the center location of the rectangular area.
- getChance(E) - Method in class tk.airshipcraft.commonlib.utils.math.BiasedRandomPicker
-
Retrieves the probability of an object being picked by this BiasedRandomPicker instance.
- getCharacterList(String) - Method in class tk.airshipcraft.commonlib.configuration.ConfigHelper
-
Gets the value of a configuration option as a List of Characters.
- getChildTeams() - Method in interface tk.airshipcraft.commonlib.gui.objects.ITeam
-
Gets a list of child teams associated with this team.
- getChunks() - Method in class tk.airshipcraft.commonlib.world.EllipseArea
-
Retrieves a collection of chunks that fall within or intersect the boundaries of the elliptical area.
- getChunks() - Method in class tk.airshipcraft.commonlib.world.GlobalYLimitedArea
-
This method returns null because the area is not confined to specific chunks, thus spanning an infinite amount of chunks in the X and Z dimensions.
- getChunks() - Method in interface tk.airshipcraft.commonlib.world.IArea
-
Retrieves a collection of all chunks that are within or intersect the boundaries of this area.
- getChunks() - Method in class tk.airshipcraft.commonlib.world.RectangleArea
-
Retrieves a collection of chunks that are within the rectangular area.
- getColor(String) - Method in class tk.airshipcraft.commonlib.configuration.ConfigHelper
-
Gets the value of a Color configuration option.
- getConnection() - Method in class tk.airshipcraft.commonlib.db.SqlConnectionManager
-
Retrieves a database connection from the connection pool.
- getCurrentDate() - Method in interface tk.airshipcraft.commonlib.calendar.ICalendarManager
-
Gets the current in-game date.
- getCurrentDate() - Method in class tk.airshipcraft.commonlib.calendar.impl.CalendarManager
-
Gets the current in-game date in the custom calendar format.
- getCurrentSeason() - Method in class tk.airshipcraft.commonlib.calendar.impl.SeasonManager
-
Determines the current season based on the current in-game date.
- getCurrentSeason() - Method in interface tk.airshipcraft.commonlib.calendar.ISeasonManager
-
Determines the current season based on the current in-game date.
- getDay() - Method in class tk.airshipcraft.commonlib.calendar.clock.CustomDate
-
Returns the day of the month represented by this CustomDate.
- getDiscordRecipient() - Method in class tk.airshipcraft.commonlib.db.model.Warning
-
Returns the Discord ID of the user being warned.
- getDouble(String) - Method in class tk.airshipcraft.commonlib.configuration.ConfigHelper
-
Gets the value of a configuration option as a double.
- getDoubleList(String) - Method in class tk.airshipcraft.commonlib.configuration.ConfigHelper
-
Gets the value of a configuration option as a List of Doubles.
- getFishCaught() - Method in class tk.airshipcraft.commonlib.db.model.User
-
Returns the total number of fish caught by the user.
- getFloatList(String) - Method in class tk.airshipcraft.commonlib.configuration.ConfigHelper
-
Gets the value of a configuration option as a List of Floats.
- getHandlerList() - Static method in class tk.airshipcraft.commonlib.gui.events.GuiClickEvent
-
Returns the HandlerList for this event type.
- getHandlerList() - Static method in class tk.airshipcraft.commonlib.gui.events.HologramClickEvent
-
Returns the HandlerList for this event type.
- getHandlers() - Method in class tk.airshipcraft.commonlib.gui.events.GuiClickEvent
-
Returns the handlers associated with this event.
- getHandlers() - Method in class tk.airshipcraft.commonlib.gui.events.HologramClickEvent
-
Returns the handlers associated with this event.
- getHologram() - Method in class tk.airshipcraft.commonlib.gui.events.HologramClickEvent
-
Retrieves the hologram that was clicked on by the player.
- getId() - Method in class tk.airshipcraft.commonlib.db.model.AuthData
-
Returns the UUID of the player.
- getId() - Method in class tk.airshipcraft.commonlib.db.model.LocationObj
-
Gets the unique identifier for the location.
- getId() - Method in class tk.airshipcraft.commonlib.db.model.User
-
Returns the user's unique identifier.
- getId() - Method in class tk.airshipcraft.commonlib.db.model.Warning
-
Returns the unique identifier for the warning.
- getIGN() - Method in class tk.airshipcraft.commonlib.db.model.AuthData
-
Returns the in-game name of the player.
- getInstance() - Static method in class tk.airshipcraft.commonlib.CommonLib
-
Returns the single instance of CommonLib.
- getInt(String) - Method in class tk.airshipcraft.commonlib.configuration.ConfigHelper
-
Gets the value of a configuration option as an int.
- getIntegerList(String) - Method in class tk.airshipcraft.commonlib.configuration.ConfigHelper
-
Gets the value of a configuration option as a List of Integers.
- getInventory() - Method in class tk.airshipcraft.commonlib.gui.events.GuiClickEvent
-
Gets the Inventory object associated with the GUI that was clicked.
- getInventory() - Method in class tk.airshipcraft.commonlib.gui.objects.Gui
-
Retrieves the Inventory object associated with this GUI.
- getInventory() - Method in class tk.airshipcraft.commonlib.gui.objects.Ui
-
Obtains the Inventory object representing this UI.
- getInventoryId() - Method in class tk.airshipcraft.commonlib.gui.objects.Ui
-
Gets the unique identifier of this UI instance.
- getInventoryName() - Method in class tk.airshipcraft.commonlib.gui.objects.Ui
-
Retrieves the name of the UI's inventory.
- getIssuer() - Method in class tk.airshipcraft.commonlib.db.model.Warning
-
Returns the UUID of the issuer.
- getItem() - Method in class tk.airshipcraft.commonlib.gui.events.GuiClickEvent
-
Retrieves the ItemStack at the slot that was clicked.
- getItemStack(String) - Method in class tk.airshipcraft.commonlib.configuration.ConfigHelper
-
Gets the value of an ItemStack configuration option.
- getJdbcUrl() - Method in class tk.airshipcraft.commonlib.db.DatabaseConfig
-
Gets the JDBC URL from the properties.
- getJoinDate() - Method in class tk.airshipcraft.commonlib.db.model.User
-
Returns the date when the user joined the server.
- getLastJoin() - Method in class tk.airshipcraft.commonlib.db.model.User
-
Returns the last time the user joined the server.
- getLastSeen() - Method in class tk.airshipcraft.commonlib.db.model.User
-
Returns the last time the user was seen on the server.
- getLatestVersion() - Method in interface tk.airshipcraft.commonlib.db.ITableConfiguration
-
Returns the latest version number of the database schema as defined by the plugin.
- getLeft() - Method in class tk.airshipcraft.commonlib.utils.Pair
-
Returns the left element of the pair.
- getLong(String) - Method in class tk.airshipcraft.commonlib.configuration.ConfigHelper
-
Gets the value of a configuration option as a byte.
- getLongList(String) - Method in class tk.airshipcraft.commonlib.configuration.ConfigHelper
-
Gets the value of a configuration option as a List of Longs.
- getLowerYBound() - Method in class tk.airshipcraft.commonlib.world.AbstractYLimitedArea
-
Retrieves the lower Y boundary of the area.
- getMapList(String) - Method in class tk.airshipcraft.commonlib.configuration.ConfigHelper
-
Gets the value of a configuration option as a List of Maps.
- getMaterialsFromType(BlockUtils.BlockType) - Static method in class tk.airshipcraft.commonlib.utils.BlockUtils
-
Retrieves all materials associated with a given block type.
- getMaximumPoolSize() - Method in class tk.airshipcraft.commonlib.db.DatabaseConfig
-
Gets the maximum pool size from the properties.
- getMigrationCommands(int) - Method in interface tk.airshipcraft.commonlib.db.ITableConfiguration
-
Provides a list of SQL commands for migrating the existing tables to a new version.
- getMinecraftRecipient() - Method in class tk.airshipcraft.commonlib.db.model.Warning
-
Returns the UUID of the Minecraft player being warned.
- getMonth() - Method in class tk.airshipcraft.commonlib.calendar.clock.CustomDate
-
Returns the month represented by this CustomDate.
- getName() - Method in interface tk.airshipcraft.commonlib.gui.objects.ITeam
-
Retrieves the name of the team.
- getNewTrie() - Static method in class tk.airshipcraft.commonlib.utils.search.Trie
-
Factory method to create a new Trie with initialized children.
- getOffsetX() - Method in class tk.airshipcraft.commonlib.particles.ParticleEffect
- getOffsetY() - Method in class tk.airshipcraft.commonlib.particles.ParticleEffect
- getOffsetZ() - Method in class tk.airshipcraft.commonlib.particles.ParticleEffect
- getOwner() - Method in class tk.airshipcraft.commonlib.gui.objects.Ui
-
Retrieves the InventoryHolder associated with this UI.
- getPage(List<String>, int, String) - Static method in class tk.airshipcraft.commonlib.utils.TextFormatting
-
Retrieves a specific page of text from a larger list, formatted for display.
- getParentTeam() - Method in interface tk.airshipcraft.commonlib.gui.objects.ITeam
-
Retrieves the parent team of this team, if any.
- getParticle() - Method in class tk.airshipcraft.commonlib.particles.ParticleEffect
- getParticleCount() - Method in class tk.airshipcraft.commonlib.particles.ParticleEffect
- getPassword() - Method in class tk.airshipcraft.commonlib.db.DatabaseConfig
-
Gets the database password from the properties.
- getPitch() - Method in class tk.airshipcraft.commonlib.db.model.LocationObj
-
Gets the pitch.
- getPlayer() - Method in class tk.airshipcraft.commonlib.gui.events.HologramClickEvent
-
Gets the player who clicked on the hologram.
- getPreference(Player) - Method in class tk.airshipcraft.commonlib.configuration.impl.PreferencesManager
-
Retrieves the preference object associated with a specific player.
- getPreferencesManager() - Method in class tk.airshipcraft.commonlib.CommonLib
-
Retrieves the preferences manager instance.
- getProperty(String) - Method in class tk.airshipcraft.commonlib.db.DatabaseConfig
-
Gets the value of a configuration property.
- getPseudoChunks() - Method in class tk.airshipcraft.commonlib.world.EllipseArea
-
Retrieves a collection of pseudo chunk coordinates that fall within or intersect the boundaries of the elliptical area.
- getPseudoChunks() - Method in class tk.airshipcraft.commonlib.world.GlobalYLimitedArea
-
This method returns null because the area spans an infinite number of pseudo chunks.
- getPseudoChunks() - Method in interface tk.airshipcraft.commonlib.world.IArea
-
Retrieves a collection of all pseudo chunk coordinates that are within or intersect the boundaries of this area.
- getPseudoChunks() - Method in class tk.airshipcraft.commonlib.world.RectangleArea
-
Retrieves a collection of pseudo chunks that are within the rectangular area.
- getRandom() - Method in class tk.airshipcraft.commonlib.utils.math.BiasedRandomPicker
-
Randomly selects an object from the pool, considering the assigned chances.
- getReason() - Method in class tk.airshipcraft.commonlib.db.model.Warning
-
Returns the reason for issuing the warning.
- getRedisPassword() - Method in class tk.airshipcraft.commonlib.db.DatabaseConfig
-
Gets the Redis server password from the properties.
- getRedisUri() - Method in class tk.airshipcraft.commonlib.db.DatabaseConfig
-
Gets the Redis server URI from the properties.
- getRemainingCoolDown(E) - Method in interface tk.airshipcraft.commonlib.utils.cooldowns.ICoolDownHandler
-
Retrieves the remaining cooldown time for the specified object.
- getRemainingCoolDown(E) - Method in class tk.airshipcraft.commonlib.utils.cooldowns.MilliSecCoolDownHandler
-
Gets the remaining cooldown time for an object.
- getRemainingCoolDown(E) - Method in class tk.airshipcraft.commonlib.utils.cooldowns.TickCoolDownHandler
- getRemainingCoolDown(E, K) - Method in interface tk.airshipcraft.commonlib.utils.cooldowns.IKVCoolDownHandler
-
Gets the remaining cooldown for the specified object and action.
- getRemainingCoolDown(T, K) - Method in class tk.airshipcraft.commonlib.utils.cooldowns.KVTickCoolDownHandler
- getRight() - Method in class tk.airshipcraft.commonlib.utils.Pair
-
Returns the right element of the pair.
- getRows() - Method in class tk.airshipcraft.commonlib.gui.objects.Ui
-
Retrieves the number of rows in the UI's inventory.
- getScoreboard() - Method in class tk.airshipcraft.commonlib.gui.objects.Sidebar
-
Retrieves the underlying Scoreboard object associated with this sidebar.
- getShortList(String) - Method in class tk.airshipcraft.commonlib.configuration.ConfigHelper
-
Gets the value of a configuration option as a List of Shorts.
- getSlot() - Method in class tk.airshipcraft.commonlib.gui.events.GuiClickEvent
-
Gets the index of the slot that was clicked in the GUI.
- getSpecificCoolDown(E, K) - Method in interface tk.airshipcraft.commonlib.utils.cooldowns.IKVCoolDownHandler
-
Gets the specific cooldown duration for a given object and action.
- getSpecificCoolDown(T, K) - Method in class tk.airshipcraft.commonlib.utils.cooldowns.KVTickCoolDownHandler
- getSpeed() - Method in class tk.airshipcraft.commonlib.particles.ParticleEffect
- getString(String) - Method in class tk.airshipcraft.commonlib.configuration.ConfigHelper
-
Gets the value of a configuration option as a String.
- getStringList(String) - Method in class tk.airshipcraft.commonlib.configuration.ConfigHelper
-
Gets the value of a configuration option as a List of Strings.
- getSubclasses() - Method in class tk.airshipcraft.commonlib.utils.classes.SubclassFinder
-
Searches through all loaded Bukkit plugins and retrieves classes that are subclasses of the superclass associated with this
SubclassFinder
. - getTableCreationCommands() - Method in interface tk.airshipcraft.commonlib.db.ITableConfiguration
-
Provides a list of SQL commands for creating the necessary tables for a plugin if they do not exist.
- getTeam(String) - Method in class tk.airshipcraft.commonlib.gui.objects.impl.TeamManager
-
Retrieves a team by its name.
- getTeamManager() - Method in class tk.airshipcraft.commonlib.CommonLib
-
Returns a new instance of the teamManager.
- getTextFromLine(int) - Method in class tk.airshipcraft.commonlib.gui.objects.Sidebar
-
Retrieves the text of a specific line from the sidebar.
- getTimestamp() - Method in class tk.airshipcraft.commonlib.db.model.Warning
-
Returns the timestamp when the warning was issued.
- getToken() - Method in class tk.airshipcraft.commonlib.db.model.AuthData
-
Returns the authentication token associated with the player.
- getTotalBlocksBroken() - Method in class tk.airshipcraft.commonlib.db.model.User
-
Returns the total number of blocks broken by the user.
- getTotalCoolDown() - Method in interface tk.airshipcraft.commonlib.utils.cooldowns.ICoolDownHandler
-
Returns the total maximum cooldown duration set for this handler.
- getTotalCoolDown() - Method in interface tk.airshipcraft.commonlib.utils.cooldowns.IKVCoolDownHandler
-
Returns the total maximum cooldown duration for any action in this handler.
- getTotalCoolDown() - Method in class tk.airshipcraft.commonlib.utils.cooldowns.KVTickCoolDownHandler
- getTotalCoolDown() - Method in class tk.airshipcraft.commonlib.utils.cooldowns.MilliSecCoolDownHandler
-
Retrieves the total cooldown duration set for this handler.
- getTotalCoolDown() - Method in class tk.airshipcraft.commonlib.utils.cooldowns.TickCoolDownHandler
- getTotalDeaths() - Method in class tk.airshipcraft.commonlib.db.model.User
-
Returns the total number of deaths by the user.
- getTotalKills() - Method in class tk.airshipcraft.commonlib.db.model.User
-
Returns the total number of kills by the user.
- getTotalPlaytime() - Method in class tk.airshipcraft.commonlib.db.model.User
-
Returns the total playtime of the user in milliseconds.
- getType() - Method in class tk.airshipcraft.commonlib.gui.objects.Ui
-
Gets the type of the UI's inventory.
- getUpperYBound() - Method in class tk.airshipcraft.commonlib.world.AbstractYLimitedArea
-
Retrieves the upper Y boundary of the area.
- getUsername() - Method in class tk.airshipcraft.commonlib.db.DatabaseConfig
-
Gets the database username from the properties.
- getUsername() - Method in class tk.airshipcraft.commonlib.db.model.AuthData
-
Returns the username associated with the player's Discord account.
- getUsername() - Method in class tk.airshipcraft.commonlib.db.model.User
-
Returns the user's username.
- getWhoClicked() - Method in class tk.airshipcraft.commonlib.gui.events.GuiClickEvent
-
Gets the player who interacted with the GUI.
- getWorld() - Method in class tk.airshipcraft.commonlib.world.EllipseArea
-
Retrieves the world where this elliptical area exists.
- getWorld() - Method in class tk.airshipcraft.commonlib.world.GlobalYLimitedArea
-
Retrieves the world where this Y-limited area exists.
- getWorld() - Method in interface tk.airshipcraft.commonlib.world.IArea
-
Retrieves the world where this area exists.
- getWorld() - Method in class tk.airshipcraft.commonlib.world.PseudoChunk
-
Gets the world where this pseudo chunk is located.
- getWorld() - Method in class tk.airshipcraft.commonlib.world.RectangleArea
-
Gets the world where the rectangular area is located.
- getWorldClock() - Static method in class tk.airshipcraft.commonlib.CommonLib
-
Returns the WorldClock instance.
- getWorldName() - Method in class tk.airshipcraft.commonlib.db.model.LocationObj
-
Gets the name of the world.
- getX() - Method in class tk.airshipcraft.commonlib.db.model.LocationObj
-
Gets the X-coordinate.
- getX() - Method in class tk.airshipcraft.commonlib.world.PseudoChunk
-
Gets the x-coordinate of this pseudo chunk.
- getXSize() - Method in class tk.airshipcraft.commonlib.world.EllipseArea
-
Gets the radius of the ellipse along the X-axis.
- getXSize() - Method in class tk.airshipcraft.commonlib.world.RectangleArea
-
Gets the size of the rectangular area along the X-axis.
- getY() - Method in class tk.airshipcraft.commonlib.db.model.LocationObj
-
Gets the Y-coordinate.
- getYaw() - Method in class tk.airshipcraft.commonlib.db.model.LocationObj
-
Gets the yaw.
- getYear() - Method in class tk.airshipcraft.commonlib.calendar.clock.CustomDate
-
Returns the year represented by this CustomDate.
- getZ() - Method in class tk.airshipcraft.commonlib.db.model.LocationObj
-
Gets the Z-coordinate.
- getZ() - Method in class tk.airshipcraft.commonlib.world.PseudoChunk
-
Gets the z-coordinate of this pseudo chunk.
- getZSize() - Method in class tk.airshipcraft.commonlib.world.EllipseArea
-
Gets the radius of the ellipse along the Z-axis.
- getZSize() - Method in class tk.airshipcraft.commonlib.world.RectangleArea
-
Gets the size of the rectangular area along the Z-axis.
- GlobalYLimitedArea - Class in tk.airshipcraft.commonlib.world
-
Represents a world-limited area with vertical bounds that extend infinitely along the X and Z axes.
- GlobalYLimitedArea(double, double, World) - Constructor for class tk.airshipcraft.commonlib.world.GlobalYLimitedArea
-
Constructs a new
GlobalYLimitedArea
with specified Y boundaries in a given world. - Gui - Class in tk.airshipcraft.commonlib.gui.objects
-
Abstract base class for creating custom Graphical User Interfaces (GUIs) in Minecraft.
- Gui(Inventory) - Constructor for class tk.airshipcraft.commonlib.gui.objects.Gui
-
Constructs a new Gui instance with the provided inventory.
- GuiBuilder - Class in tk.airshipcraft.commonlib.gui
-
A class to build and manage Graphical User Interfaces (GUIs) in Minecraft.
- GuiBuilder(int, String) - Constructor for class tk.airshipcraft.commonlib.gui.GuiBuilder
-
Constructs a new GUI with the specified size and title.
- GuiClickEvent - Class in tk.airshipcraft.commonlib.gui.events
-
Represents an event triggered when a player interacts with a Graphical User Interface (GUI) in the game.
- GuiClickEvent(Player, int, ItemStack, Inventory) - Constructor for class tk.airshipcraft.commonlib.gui.events.GuiClickEvent
-
Constructs a new GuiClickEvent with the specified details of the player's interaction with the GUI.
- GuiManager - Class in tk.airshipcraft.commonlib.gui
-
Provides management for GUI interactions within the server.
- GuiManager() - Constructor for class tk.airshipcraft.commonlib.gui.GuiManager
H
- handleClick(InventoryClickEvent, Player) - Method in class tk.airshipcraft.commonlib.gui.objects.Gui
-
Handles a click event within the GUI.
- handleCustomClick(GuiClickEvent) - Method in class tk.airshipcraft.commonlib.gui.objects.Gui
-
Abstract method for handling custom GuiClickEvent.
- handleInventoryClick(InventoryClickEvent) - Method in class tk.airshipcraft.commonlib.gui.events.InventoryClickListener
-
A utility method to handle the casting and processing of InventoryClickEvents.
- hashCode() - Method in class tk.airshipcraft.commonlib.calendar.clock.CustomDate
-
Returns a hash code for this CustomDate.
- hashCode() - Method in class tk.airshipcraft.commonlib.db.model.AuthData
-
Returns the hash code of the AuthData object.
- hashCode() - Method in class tk.airshipcraft.commonlib.db.model.LocationObj
-
Gets the hash code for this object.
- hashCode() - Method in class tk.airshipcraft.commonlib.db.model.User
-
Returns the hash code of the User object.
- hashCode() - Method in class tk.airshipcraft.commonlib.db.model.Warning
-
Returns a hash code for the Warning.
- hashCode() - Method in class tk.airshipcraft.commonlib.utils.Pair
- hasPreferences(Player) - Method in class tk.airshipcraft.commonlib.configuration.impl.PreferencesManager
-
Checks whether a specific player has preferences registered.
- hide() - Method in class tk.airshipcraft.commonlib.gui.Hologram
-
hides a visible Hologram
- hide(Player) - Method in class tk.airshipcraft.commonlib.gui.objects.Sidebar
-
Hides the sidebar from a specific player, reverting to their main scoreboard.
- Hologram - Class in tk.airshipcraft.commonlib.gui
-
Represents a hologram created using an
ArmorStand
in Minecraft. - Hologram(Location, String...) - Constructor for class tk.airshipcraft.commonlib.gui.Hologram
-
Creates a new Hologram at the given location with the given lines.
- HologramClickEvent - Class in tk.airshipcraft.commonlib.gui.events
-
Represents an event that is fired when a player clicks on a hologram within the game.
- HologramClickEvent(Hologram, Player) - Constructor for class tk.airshipcraft.commonlib.gui.events.HologramClickEvent
-
Constructs a HologramClickEvent with the specified hologram and the player who interacted with it.
- HologramClickListener - Class in tk.airshipcraft.commonlib.gui.events
-
Listener class for handling HologramClickEvents.
- HologramClickListener() - Constructor for class tk.airshipcraft.commonlib.gui.events.HologramClickListener
- hologramInstances - Static variable in class tk.airshipcraft.commonlib.gui.Hologram
-
A list of all Hologram instances created.
I
- IArea - Interface in tk.airshipcraft.commonlib.world
-
Defines the contract for area-related operations within the world.
- ICalendarManager - Interface in tk.airshipcraft.commonlib.calendar
-
Interface for managing the in-game calendar in Minecraft.
- ICoolDownHandler<E> - Interface in tk.airshipcraft.commonlib.utils.cooldowns
-
Interface for managing cooldowns of objects.
- IEventManager - Interface in tk.airshipcraft.commonlib.calendar
-
Interface for managing and scheduling in-game events in Minecraft.
- IGameEvent - Interface in tk.airshipcraft.commonlib.calendar
-
Represents a generic interface for in-game events within the AirshipCraft calendar system.
- IKVCoolDownHandler<E,
K> - Interface in tk.airshipcraft.commonlib.utils.cooldowns -
Interface defining the contract for cooldown handlers with key-value pairs.
- implode(List<String>, String) - Static method in class tk.airshipcraft.commonlib.utils.TextFormatting
-
Concatenates the elements of a list into a single string with a specified delimiter.
- implodeCommaAnd(List<String>) - Static method in class tk.airshipcraft.commonlib.utils.TextFormatting
-
Concatenates the elements of a list into a single string, using a comma as a delimiter, and "and" before the last element.
- implodeCommaAnd(List<String>, String, String) - Static method in class tk.airshipcraft.commonlib.utils.TextFormatting
-
Concatenates the elements of a list into a single string, using a comma as a delimiter, and "and" before the last element.
- incrementScore(String, int) - Method in class tk.airshipcraft.commonlib.gui.objects.Sidebar
-
Increments the score of a given line by a specified amount.
- insert(String) - Method in class tk.airshipcraft.commonlib.utils.search.Trie
-
Inserts a word into the trie.
- instabilizeVector(Vector, double) - Static method in class tk.airshipcraft.commonlib.utils.math.VectorMath
-
Adds a random amount to each component of a vector within a specified range.
- inventory - Variable in class tk.airshipcraft.commonlib.gui.objects.Gui
-
The Inventory object associated with this GUI, representing the interface layout and contents.
- InventoryClickListener - Class in tk.airshipcraft.commonlib.gui.events
-
Listener class for inventory click events in Bukkit.
- InventoryClickListener() - Constructor for class tk.airshipcraft.commonlib.gui.events.InventoryClickListener
- IPlayerPreference - Interface in tk.airshipcraft.commonlib.configuration
-
IPlayerPreference is an interface that defines the contract for managing player-specific preferences in a Minecraft server environment.
- isCancelled() - Method in class tk.airshipcraft.commonlib.gui.events.GuiClickEvent
-
Checks if the event has been cancelled.
- isCancelled() - Method in class tk.airshipcraft.commonlib.gui.events.HologramClickEvent
-
Checks if the event has been cancelled.
- isCandle(Material) - Static method in class tk.airshipcraft.commonlib.utils.BlockUtils
-
Checks if a material is a candle agnostic of its color.
- ISeasonManager - Interface in tk.airshipcraft.commonlib.calendar
-
Interface for managing seasonal changes in the Minecraft world.
- ISeasonManager.Season - Enum Class in tk.airshipcraft.commonlib.calendar
-
Enumeration of seasons.
- isHologram(ArmorStand) - Static method in class tk.airshipcraft.commonlib.gui.Hologram
-
Checks if a given armor stand is associated with a Hologram
- isInArea(Location) - Method in class tk.airshipcraft.commonlib.world.AbstractYLimitedArea
-
Determines whether a given location falls within the vertical bounds of the area.
- isInArea(Location) - Method in class tk.airshipcraft.commonlib.world.EllipseArea
-
Checks if a location is within the boundaries of the elliptical area.
- isInArea(Location) - Method in class tk.airshipcraft.commonlib.world.GlobalYLimitedArea
-
Checks if a location is within the vertical (Y) boundaries of this global area.
- isInArea(Location) - Method in interface tk.airshipcraft.commonlib.world.IArea
-
Determines whether a specific location falls within the boundaries of this area.
- isInArea(Location) - Method in class tk.airshipcraft.commonlib.world.RectangleArea
-
Checks if a location is within the rectangular area.
- isLeaf() - Method in class tk.airshipcraft.commonlib.utils.search.Trie
-
Checks if this node of the trie is a leaf node (does not have any children).
- isLeaf(Material) - Static method in class tk.airshipcraft.commonlib.utils.BlockUtils
-
Checks if a material is a leaf.
- isLineEmpty(int) - Method in class tk.airshipcraft.commonlib.gui.objects.Sidebar
-
Checks if a specific line on the sidebar is empty (i.e., has no set text).
- isLog(Material) - Static method in class tk.airshipcraft.commonlib.utils.BlockUtils
-
Checks if a material is a log agnostic of whether it is stripped or not.
- isNullOrEmpty(Component) - Static method in class tk.airshipcraft.commonlib.utils.TextFormatting
-
Determines whether a given base component is null or empty.
- isPlank(Material) - Static method in class tk.airshipcraft.commonlib.utils.BlockUtils
-
Checks if a material is a plank.
- isSign(Material) - Static method in class tk.airshipcraft.commonlib.utils.BlockUtils
-
Checks if a material is a sign agnostic if it is a wall sign or not.
- isStone(Material) - Static method in class tk.airshipcraft.commonlib.utils.BlockUtils
-
Checks if a material is a stone type.
- isUi(Inventory) - Static method in class tk.airshipcraft.commonlib.gui.objects.Ui
-
Checks if a given inventory is a custom UI created by this class.
- isVerified() - Method in class tk.airshipcraft.commonlib.db.model.AuthData
-
Checks if the player's account is verified.
- isWallSign(Material) - Static method in class tk.airshipcraft.commonlib.utils.BlockUtils
-
Checks if a material is a wall sign.
- isWood(Material) - Static method in class tk.airshipcraft.commonlib.utils.BlockUtils
-
Checks if a material is wood agnostic of whether it is stripped or not.
- ITableConfiguration - Interface in tk.airshipcraft.commonlib.db
-
The ITableConfiguration interface specifies the methods that must be implemented to define the SQL table creation and migration commands for a plugin.
- ITeam - Interface in tk.airshipcraft.commonlib.gui.objects
-
Interface for defining the structure and functionality of a team in a plugin environment.
K
- key() - Element in annotation interface tk.airshipcraft.commonlib.configuration.ConfigOption
-
The configuration key for this option.
- KVTickCoolDownHandler<T,
K> - Class in tk.airshipcraft.commonlib.utils.cooldowns -
Implementation of
IKVCoolDownHandler
using Minecraft ticks as the time unit. - KVTickCoolDownHandler(JavaPlugin, long) - Constructor for class tk.airshipcraft.commonlib.utils.cooldowns.KVTickCoolDownHandler
-
Constructs a new
KVTickCoolDownHandler
instance.
L
- LEAVES - Enum constant in enum class tk.airshipcraft.commonlib.utils.BlockUtils.BlockType
-
Represents a leaf block type.
- lerp(double, double, double) - Static method in class tk.airshipcraft.commonlib.utils.math.Maths
-
Applies a normalized value (previously obtained through normalization) to a new range.
- lerp(float, float, float) - Static method in class tk.airshipcraft.commonlib.utils.math.Maths
-
Applies a normalized value (previously obtained through normalization) to a new range.
- lerp(int, int, int) - Static method in class tk.airshipcraft.commonlib.utils.math.Maths
-
Applies a normalized value (previously obtained through normalization) to a new range.
- lerp(long, long, long) - Static method in class tk.airshipcraft.commonlib.utils.math.Maths
-
Applies a normalized value (previously obtained through normalization) to a new range.
- load(Player) - Method in class tk.airshipcraft.commonlib.configuration.impl.PlayerPreference
-
Loads the player's preferences from a persistent data store.
- load(Player) - Method in interface tk.airshipcraft.commonlib.configuration.IPlayerPreference
-
Loads the player's preferences from a persistent data store.
- load(Player, IPlayerPreference, FileConfiguration) - Static method in class tk.airshipcraft.commonlib.configuration.impl.PreferenceProcessor
-
Loads player preferences from a configuration file into an
IPlayerPreference
instance. - loadConfig() - Method in class tk.airshipcraft.commonlib.configuration.ConfigHelper
-
Loads the configuration from the config.yml file.
- loadFromDatabase(Player, IPlayerPreference, Connection) - Static method in class tk.airshipcraft.commonlib.configuration.impl.PreferenceProcessor
-
Loads player preferences from a MySQL database into an
IPlayerPreference
instance. - loadFromFile(String) - Method in class tk.airshipcraft.commonlib.db.DatabaseConfig
-
Loads database configuration properties from a specified file.
- loadPreferences(Player) - Method in class tk.airshipcraft.commonlib.configuration.impl.PreferencesManager
-
Loads the preferences for a specific player.
- loadState() - Method in class tk.airshipcraft.commonlib.calendar.clock.WorldClock
-
Loads the state from the file.
- LocationObj - Class in tk.airshipcraft.commonlib.db.model
-
Represents a location in the world.
- LocationObj() - Constructor for class tk.airshipcraft.commonlib.db.model.LocationObj
-
Default constructor.
- LocationObj(UUID, String, double, double, double) - Constructor for class tk.airshipcraft.commonlib.db.model.LocationObj
-
Constructs a new LocationObj with no pitch or yaw.
- LocationObj(UUID, String, double, double, double, float, float) - Constructor for class tk.airshipcraft.commonlib.db.model.LocationObj
-
Constructs a new LocationObj with specified details.
- LOG - Enum constant in enum class tk.airshipcraft.commonlib.utils.BlockUtils.BlockType
-
Represents a log block type.
- logDebug(String) - Method in class tk.airshipcraft.commonlib.CommonLib
-
Logs a debug message.
- logError(String) - Method in class tk.airshipcraft.commonlib.CommonLib
-
Logs an error message.
- logException(Exception) - Method in class tk.airshipcraft.commonlib.CommonLib
-
Logs an exception stack trace at the SEVERE level.
- logInfo(String) - Method in class tk.airshipcraft.commonlib.CommonLib
-
Logs an informational message.
- logSevere(String) - Method in class tk.airshipcraft.commonlib.CommonLib
-
Logs a severe message, indicating a critical problem.
- logWarning(String) - Method in class tk.airshipcraft.commonlib.CommonLib
-
Logs a warning message.
M
- match(String) - Method in class tk.airshipcraft.commonlib.utils.search.Trie
-
Searches the trie for words that match a given prefix.
- Maths - Class in tk.airshipcraft.commonlib.utils.math
-
A utility class offering a collection of mathematical functions commonly used in game development.
- Maths() - Constructor for class tk.airshipcraft.commonlib.utils.math.Maths
- MilliSecCoolDownHandler<E> - Class in tk.airshipcraft.commonlib.utils.cooldowns
-
Manages cooldowns for generic objects with millisecond precision.
- MilliSecCoolDownHandler(long) - Constructor for class tk.airshipcraft.commonlib.utils.cooldowns.MilliSecCoolDownHandler
-
Initializes a cooldown handler with a specified duration.
- msg(Player, String) - Static method in class tk.airshipcraft.commonlib.utils.TextFormatting
-
Deprecated.
- msg(Player, String, Object...) - Static method in class tk.airshipcraft.commonlib.utils.TextFormatting
-
Deprecated.
N
- NAMES - Static variable in enum class tk.airshipcraft.commonlib.utils.search.SearchAlgorithm
-
A map of search algorithm names to their corresponding
SearchAlgorithm
enum constants. - newMinecraftDay() - Method in interface tk.airshipcraft.commonlib.calendar.ICalendarManager
-
Advances the calendar by one day.
- newMinecraftDay() - Method in class tk.airshipcraft.commonlib.calendar.impl.CalendarManager
-
Advances the calendar by one day.
- nextBoolean() - Static method in class tk.airshipcraft.commonlib.utils.math.RandomMath
-
Generates a random boolean value.
- nextDouble(double, double) - Static method in class tk.airshipcraft.commonlib.utils.math.RandomMath
-
Generates a random double within the specified range [min, max).
- nextFloat(float, float) - Static method in class tk.airshipcraft.commonlib.utils.math.RandomMath
-
Generates a random float within the specified range [min, max).
- nextGaussian(double, double) - Static method in class tk.airshipcraft.commonlib.utils.math.RandomMath
-
Generates a random double from a Gaussian (normal) distribution with the given mean and standard deviation.
- nextInt(int, int) - Static method in class tk.airshipcraft.commonlib.utils.math.RandomMath
-
Generates a random integer within the specified range [min, max].
- nextLong(long, long) - Static method in class tk.airshipcraft.commonlib.utils.math.RandomMath
-
Generates a random long within the specified range [min, max].
- norm(double, double, double) - Static method in class tk.airshipcraft.commonlib.utils.math.Maths
-
Normalizes a value within a minimum and maximum range to a 0-1 range.
- norm(float, float, float) - Static method in class tk.airshipcraft.commonlib.utils.math.Maths
-
Normalizes a value within a minimum and maximum range to a 0-1 range.
- norm(int, int, int) - Static method in class tk.airshipcraft.commonlib.utils.math.Maths
-
Normalizes a value within a minimum and maximum range to a 0-1 range.
- norm(long, long, long) - Static method in class tk.airshipcraft.commonlib.utils.math.Maths
-
Normalizes a value within a minimum and maximum range to a 0-1 range.
- NORMALIZED_LEVENSHTEIN - Enum constant in enum class tk.airshipcraft.commonlib.utils.search.SearchAlgorithm
-
Normalized Levenshtein distance algorithm.
- NormalizedLevenshteinAlgorithm - Class in tk.airshipcraft.commonlib.utils.search
-
Implements the normalized Levenshtein distance algorithm, which calculates a similarity score based on the minimum number of single-character edits required to change one byte array into the other.
- NormalizedLevenshteinAlgorithm() - Constructor for class tk.airshipcraft.commonlib.utils.search.NormalizedLevenshteinAlgorithm
- normalizeVector(Vector) - Static method in class tk.airshipcraft.commonlib.utils.math.VectorMath
-
Normalizes a vector to have a length of 1 while maintaining its direction.
- notExists(T, Supplier<T>) - Static method in class tk.airshipcraft.commonlib.utils.NullCoalescing
-
If the provided value is null, uses the supplier to generate a new value.
- now() - Static method in class tk.airshipcraft.commonlib.utils.Time
-
Retrieves the current time as an
Instant
. - nowMillis() - Static method in class tk.airshipcraft.commonlib.utils.Time
-
Retrieves the current Unix time in milliseconds.
- nowSeconds() - Static method in class tk.airshipcraft.commonlib.utils.Time
-
Retrieves the current Unix time in seconds.
- NullCoalescing - Class in tk.airshipcraft.commonlib.utils
-
Provides utility methods for null-safe operations, inspired by JavaScript's nullish coalescing and optional chaining.
- NullCoalescing() - Constructor for class tk.airshipcraft.commonlib.utils.NullCoalescing
- NullCoalescing.NullChecker<T> - Interface in tk.airshipcraft.commonlib.utils
-
Functional interface for null-check operations.
O
- of(L, R) - Static method in class tk.airshipcraft.commonlib.utils.Pair
-
Creates a new Pair with the specified values.
- onCoolDown(E) - Method in interface tk.airshipcraft.commonlib.utils.cooldowns.ICoolDownHandler
-
Checks if the specified object is currently on cooldown.
- onCoolDown(E) - Method in class tk.airshipcraft.commonlib.utils.cooldowns.MilliSecCoolDownHandler
-
Checks if an object is currently on cooldown.
- onCoolDown(E) - Method in class tk.airshipcraft.commonlib.utils.cooldowns.TickCoolDownHandler
- onCoolDown(E, K) - Method in interface tk.airshipcraft.commonlib.utils.cooldowns.IKVCoolDownHandler
-
Checks whether the given object is currently on cooldown for a specific action identified by the key.
- onCoolDown(T, K) - Method in class tk.airshipcraft.commonlib.utils.cooldowns.KVTickCoolDownHandler
- onDisable() - Method in class tk.airshipcraft.commonlib.CommonLib
-
Cleans up resources and disables the plugins that extend this library.
- onEnable() - Method in class tk.airshipcraft.commonlib.CommonLib
-
Initializes the CommonLib library.
- onHologramClick(PlayerInteractAtEntityEvent, EntityDamageByEntityEvent) - Method in class tk.airshipcraft.commonlib.gui.Hologram
-
Handles click events on the hologram and triggers the appropriate actions.
- onInventoryClick(InventoryClickEvent) - Method in class tk.airshipcraft.commonlib.gui.events.InventoryClickListener
-
Processes InventoryClickEvents, checking if they occur within a custom UI.
- onInventoryClick(InventoryClickEvent) - Method in class tk.airshipcraft.commonlib.gui.GuiManager
-
Event handler that intercepts inventory click events within the server.
- onPlayerJoin(PlayerJoinEvent) - Method in class tk.airshipcraft.commonlib.CommonLib
-
Handles the player join event.
- onPlayerQuit(PlayerQuitEvent) - Method in class tk.airshipcraft.commonlib.CommonLib
-
Handles the PlayerQuitEvent to save their preferences.
- onPluginDisable() - Method in class tk.airshipcraft.commonlib.ACRPlugin
-
Abstract method to be implemented by subclasses.
- onPluginEnable() - Method in class tk.airshipcraft.commonlib.ACRPlugin
-
Abstract method to be implemented by subclasses.
- onTabComplete(CommandSender, String[]) - Method in class tk.airshipcraft.commonlib.commands.CommandManager
-
Abstract method to provide custom tab completion options.
- onTabComplete(CommandSender, String[]) - Method in class tk.airshipcraft.commonlib.commands.PreferenceCommand
-
Provides tab completion options for the 'preference' command.
- open(Player) - Method in class tk.airshipcraft.commonlib.gui.objects.Gui
-
Opens the GUI for a specified player.
- openInventoryForPlayer(Player, Inventory) - Method in class tk.airshipcraft.commonlib.gui.UiDesigner
-
Opens the specified inventory for the given player.
P
- Pair<L,
R> - Class in tk.airshipcraft.commonlib.utils -
A utility class representing a pair of objects.
- Pair(L, R) - Constructor for class tk.airshipcraft.commonlib.utils.Pair
-
Constructs a new Pair with the specified values.
- parse(String) - Static method in class tk.airshipcraft.commonlib.utils.TextFormatting
-
Parses a string for color codes.
- parse(String, Object...) - Static method in class tk.airshipcraft.commonlib.utils.TextFormatting
-
Parses a string with formatting and arguments.
- parseColor(String) - Static method in class tk.airshipcraft.commonlib.utils.TextFormatting
-
Parses a string for Minecraft color codes.
- parseColorAcc(String) - Static method in class tk.airshipcraft.commonlib.utils.TextFormatting
-
Replaces specific accent color codes within a string with their corresponding ChatColor values.
- parseColorAmp(String) - Static method in class tk.airshipcraft.commonlib.utils.TextFormatting
-
Converts ampersand color codes to Minecraft color codes.
- parseColorTags(String) - Static method in class tk.airshipcraft.commonlib.utils.TextFormatting
-
Replaces color tag placeholders within a string with their corresponding ChatColor values.
- parseTags(String) - Static method in class tk.airshipcraft.commonlib.utils.TextFormatting
-
Deprecated.
- parseUUIDDashed(CharSequence) - Static method in class tk.airshipcraft.commonlib.utils.FastUUID
-
Parses a UUID from the given character sequence.
- parseUUIDUUndashed(CharSequence) - Static method in class tk.airshipcraft.commonlib.utils.FastUUID
-
Parses a UUID from a character sequence without dashes.
- ParticleEffect - Class in tk.airshipcraft.commonlib.particles
-
Represents a customizable particle effect in Minecraft, providing methods to create, configure, and display particle effects in the game world.
- ParticleEffect(Particle, float, float, float, float, int) - Constructor for class tk.airshipcraft.commonlib.particles.ParticleEffect
-
Constructs a new ParticleEffect with specified properties, allowing for the creation of diverse visual effects ranging from simple to complex animations.
- ParticleUtils - Class in tk.airshipcraft.commonlib.particles
-
Utility class for spawning particles.
- ParticleUtils() - Constructor for class tk.airshipcraft.commonlib.particles.ParticleUtils
- PLANK - Enum constant in enum class tk.airshipcraft.commonlib.utils.BlockUtils.BlockType
-
Represents a plank block type.
- playEffect(Location) - Method in class tk.airshipcraft.commonlib.particles.ParticleEffect
-
Displays the configured particle effect at a specific location in the game world.
- PlayerPref - Annotation Interface in tk.airshipcraft.commonlib.configuration
-
The PlayerPref annotation is used to designate fields within classes that implement the IPlayerPreference interface as player preference settings.
- PlayerPreference - Class in tk.airshipcraft.commonlib.configuration.impl
-
Provides a skeletal implementation of the IPlayerPreference interface to facilitate the creation of player preference classes.
- PlayerPreference(Player) - Constructor for class tk.airshipcraft.commonlib.configuration.impl.PlayerPreference
-
Constructs a PlayerPreference instance associated with the given player.
- playerUuid - Variable in class tk.airshipcraft.commonlib.configuration.impl.PlayerPreference
-
Player UUID associated with this preference instance.
- playFireworkSound(Location) - Static method in class tk.airshipcraft.commonlib.particles.ParticleUtils
-
Plays a sound effect at the specified location.
- PreferenceCommand - Class in tk.airshipcraft.commonlib.commands
-
PreferenceCommand class extends CommandManager to provide custom command handling specifically for managing player preferences in the game.
- PreferenceCommand() - Constructor for class tk.airshipcraft.commonlib.commands.PreferenceCommand
-
Constructs a new PreferenceCommand.
- PreferenceProcessor - Class in tk.airshipcraft.commonlib.configuration.impl
-
Provides static utility methods to process player preferences using reflection.
- PreferenceProcessor() - Constructor for class tk.airshipcraft.commonlib.configuration.impl.PreferenceProcessor
- PreferencesManager - Class in tk.airshipcraft.commonlib.configuration.impl
-
Manages the preferences of all players on a Minecraft server.
- PreferencesManager() - Constructor for class tk.airshipcraft.commonlib.configuration.impl.PreferencesManager
- ProgressionCurve - Class in tk.airshipcraft.commonlib.utils
-
The
ProgressionCurve
class provides a calculation model to determine progression requirements within a game. - ProgressionCurve() - Constructor for class tk.airshipcraft.commonlib.utils.ProgressionCurve
- PseudoChunk - Class in tk.airshipcraft.commonlib.world
-
Represents a chunk-like structure that holds the coordinates for a chunk in a world without storing the actual chunk data.
- PseudoChunk(World, int, int) - Constructor for class tk.airshipcraft.commonlib.world.PseudoChunk
-
Constructs a new
PseudoChunk
with the given world and chunk coordinates. - putOnCoolDown(E) - Method in interface tk.airshipcraft.commonlib.utils.cooldowns.ICoolDownHandler
-
Sets the cooldown to its maximum duration for the specified object.
- putOnCoolDown(E) - Method in class tk.airshipcraft.commonlib.utils.cooldowns.MilliSecCoolDownHandler
-
Puts an object on cooldown, starting from the current system time.
- putOnCoolDown(E) - Method in class tk.airshipcraft.commonlib.utils.cooldowns.TickCoolDownHandler
- putOnCoolDown(E, K) - Method in interface tk.airshipcraft.commonlib.utils.cooldowns.IKVCoolDownHandler
-
Puts the specified object on cooldown for a specific action identified by the key.
- putOnCoolDown(T, K) - Method in class tk.airshipcraft.commonlib.utils.cooldowns.KVTickCoolDownHandler
R
- RandomMath - Class in tk.airshipcraft.commonlib.utils.math
-
Utility class for generating random numbers within specified ranges.
- raycast(Player, Vector, double) - Static method in class tk.airshipcraft.commonlib.utils.math.RayCast
-
Casts a ray from the player's eye location in the given direction, returning the first block or entity encountered.
- RayCast - Class in tk.airshipcraft.commonlib.utils.math
-
Provides functionality to perform ray casts in Minecraft, which is a process of simulating "rays" to detect blocks or entities along a line.
- raycastAllBlocks(LivingEntity, int) - Static method in class tk.airshipcraft.commonlib.utils.math.RayCast
-
Performs a raycast from the specified living entity and returns all blocks hit by the ray within the specified distance.
- raycastBetweenBlocks(Block, Block) - Static method in class tk.airshipcraft.commonlib.utils.math.RayCast
-
Raycasts between two blocks, returning a sequence of blocks that lie between them on a straight line.
- raycastToBlock(Player, Vector, double) - Static method in class tk.airshipcraft.commonlib.utils.math.RayCast
-
Performs a raycast to detect the first non-air block from the player's eye location in a specified direction.
- raycastWithFilter(LivingEntity, int, Predicate<Block>) - Static method in class tk.airshipcraft.commonlib.utils.math.RayCast
-
Performs a raycast from the specified living entity and returns the nearest block that satisfies the specified predicate within the specified distance.
- raycastWithinRadius(LivingEntity, int) - Static method in class tk.airshipcraft.commonlib.utils.math.RayCast
-
Performs a raycast from the specified living entity to the nearest solid block within a specified distance.
- RectangleArea - Class in tk.airshipcraft.commonlib.world
-
Represents a rectangular area in a Minecraft world with Y-level boundaries.
- RectangleArea(double, double, Location, double, double) - Constructor for class tk.airshipcraft.commonlib.world.RectangleArea
-
Constructs a new
RectangleArea
with specified Y boundaries, center, and size. - registerCommands() - Method in class tk.airshipcraft.commonlib.ACRPlugin
-
Abstract method to be implemented by subclasses.
- registerEvents() - Method in class tk.airshipcraft.commonlib.ACRPlugin
-
Abstract method to be implemented by subclasses.
- registerGui(Player, Gui) - Method in class tk.airshipcraft.commonlib.gui.GuiManager
-
Associates a GUI instance with a player for event handling.
- registerPluginTableConfiguration(ITableConfiguration) - Method in class tk.airshipcraft.commonlib.db.TableManager
-
Registers a plugin's table configuration with the TableManager.
- registerPreference(UUID, IPlayerPreference) - Method in class tk.airshipcraft.commonlib.configuration.impl.PreferencesManager
-
Registers or updates the preference object for a specific player.
- registerTeam(ITeam) - Method in class tk.airshipcraft.commonlib.gui.objects.impl.TeamManager
-
Registers a new team with the manager.
- releaseSavepoint(Connection, Savepoint) - Method in class tk.airshipcraft.commonlib.db.SqlConnectionManager
-
Releases a previously set savepoint.
- remove() - Method in class tk.airshipcraft.commonlib.gui.Hologram
-
removes the Hologram.
- remove(String) - Method in class tk.airshipcraft.commonlib.gui.objects.Sidebar
-
Removes a specific line of text from the sidebar.
- removeChildTeam(ITeam) - Method in interface tk.airshipcraft.commonlib.gui.objects.ITeam
-
Removes a specific child team from this team.
- removeCooldown(E) - Method in interface tk.airshipcraft.commonlib.utils.cooldowns.ICoolDownHandler
-
Removes the cooldown for the specified object, effectively resetting its cooldown status.
- removeCooldown(E) - Method in class tk.airshipcraft.commonlib.utils.cooldowns.MilliSecCoolDownHandler
-
Removes an object from the cooldown tracking, effectively resetting its cooldown status.
- removeCooldown(E) - Method in class tk.airshipcraft.commonlib.utils.cooldowns.TickCoolDownHandler
- removeCooldown(E, K) - Method in interface tk.airshipcraft.commonlib.utils.cooldowns.IKVCoolDownHandler
-
Removes the cooldown for the specified object and action.
- removeCooldown(T, K) - Method in class tk.airshipcraft.commonlib.utils.cooldowns.KVTickCoolDownHandler
- removePlayer(Player) - Method in class tk.airshipcraft.commonlib.gui.objects.Bossbar
-
Removes a player from this boss bar, hiding it from their view.
- renameLine(String, String) - Method in class tk.airshipcraft.commonlib.gui.objects.Sidebar
-
Renames an existing line or adds it if it does not exist.
- repairConfig() - Method in class tk.airshipcraft.commonlib.configuration.ConfigHelper
-
Repairs the configuration file on plugin restart.
- repeat(String, int) - Static method in class tk.airshipcraft.commonlib.utils.TextFormatting
-
Repeats the given string a specified number of times.
- reset(Player) - Method in class tk.airshipcraft.commonlib.configuration.impl.PlayerPreference
-
Provides a default implementation for resetting player preferences.
- reset(Player) - Method in interface tk.airshipcraft.commonlib.configuration.IPlayerPreference
-
Resets the player's preferences to their default values.
- resetConnection(Connection) - Method in class tk.airshipcraft.commonlib.db.SqlConnectionManager
-
Resets the connection to its default auto-commit state.
- resetPreferences(Player) - Method in class tk.airshipcraft.commonlib.configuration.impl.PreferencesManager
-
Resets the preferences for a specific player to their default values.
- rollbackTransaction(Connection) - Method in class tk.airshipcraft.commonlib.db.SqlConnectionManager
-
Rolls back the current transaction.
- rotateVectorCC(Vector, Vector, double) - Static method in class tk.airshipcraft.commonlib.utils.math.VectorMath
-
Rotates a vector counterclockwise around a specified axis by a specified angle.
- roundIn(double) - Static method in class tk.airshipcraft.commonlib.utils.math.Maths
-
Rounds a floating-point number towards zero to the nearest integer.
- roundOut(double) - Static method in class tk.airshipcraft.commonlib.utils.math.Maths
-
Rounds a floating-point number away from zero to the nearest integer.
S
- save(Player) - Method in class tk.airshipcraft.commonlib.configuration.impl.PlayerPreference
-
Saves the current state of the player's preferences to a persistent data store.
- save(Player) - Method in interface tk.airshipcraft.commonlib.configuration.IPlayerPreference
-
Saves the current state of the player's preferences to a persistent data store.
- save(Player, IPlayerPreference, FileConfiguration) - Static method in class tk.airshipcraft.commonlib.configuration.impl.PreferenceProcessor
-
Saves player preferences from an
IPlayerPreference
instance to a configuration file. - saveAllPreferences() - Method in class tk.airshipcraft.commonlib.configuration.impl.PreferencesManager
-
Saves all registered player preferences.
- saveConfig() - Method in class tk.airshipcraft.commonlib.configuration.ConfigHelper
-
Saves the current configuration to the config.yml file.
- savePreferences(Player) - Method in class tk.airshipcraft.commonlib.configuration.impl.PreferencesManager
-
Saves the preferences for a specific player.
- saveState() - Method in class tk.airshipcraft.commonlib.calendar.clock.WorldClock
-
Saves the state to the file.
- saveToDatabase(Player, IPlayerPreference, Connection) - Static method in class tk.airshipcraft.commonlib.configuration.impl.PreferenceProcessor
-
Saves player preferences from an
IPlayerPreference
instance to a MySQL database. - scaleVector(Vector, double) - Static method in class tk.airshipcraft.commonlib.utils.math.VectorMath
-
Scales a vector by a specified factor.
- scanClasses() - Method in class tk.airshipcraft.commonlib.utils.classes.ClassPathScanner
-
Scans for all .class files available in the classpath of the current thread's context class loader.
- scanClasses(Class<?>, String...) - Method in class tk.airshipcraft.commonlib.utils.classes.ClassPathScanner
-
Scans for all classes extending the specified superclass within the given package names.
- scanClasses(Class<T>, List<String>) - Method in class tk.airshipcraft.commonlib.utils.classes.ClassPathScanner
-
Scans for all classes extending the specified superclass within the given package names.
- scheduleEvent(CustomDate, AbstractGameEvent) - Method in interface tk.airshipcraft.commonlib.calendar.IEventManager
-
Schedules an event to occur on a specific in-game date.
- scheduleEvent(CustomDate, AbstractGameEvent) - Method in class tk.airshipcraft.commonlib.calendar.impl.EventManager
-
Schedules an event to occur on a specific in-game date.
- SearchAlgorithm - Enum Class in tk.airshipcraft.commonlib.utils.search
-
Enumerates available string distance algorithms which can be used to compare similarity or dissimilarity between two strings.
- SeasonManager - Class in tk.airshipcraft.commonlib.calendar.impl
-
The SeasonManager class is responsible for managing seasonal changes in the Minecraft world.
- SeasonManager(CalendarManager) - Constructor for class tk.airshipcraft.commonlib.calendar.impl.SeasonManager
-
Constructor for SeasonManager that requires a reference to a CalendarManager.
- setBelowName(Player, String) - Method in class tk.airshipcraft.commonlib.gui.objects.BelowName
-
Sets a custom text to display below the name of a specific player.
- setBorder(Inventory, ItemStack) - Method in class tk.airshipcraft.commonlib.gui.UiDesigner
-
Sets the border of the inventory with a specified item.
- setCancelled(boolean) - Method in class tk.airshipcraft.commonlib.gui.events.GuiClickEvent
-
Sets the cancellation state of the event.
- setCancelled(boolean) - Method in class tk.airshipcraft.commonlib.gui.events.HologramClickEvent
-
Sets the cancellation state of the event.
- setCurrentDate(CustomDate) - Method in interface tk.airshipcraft.commonlib.calendar.ICalendarManager
-
Sets the current in-game date.
- setCurrentDate(CustomDate) - Method in class tk.airshipcraft.commonlib.calendar.impl.CalendarManager
-
Sets the in-game date to a specific date.
- setDay(int) - Method in class tk.airshipcraft.commonlib.calendar.clock.CustomDate
-
Sets the day of the month represented by this CustomDate.
- setDiscordRecipient(String) - Method in class tk.airshipcraft.commonlib.db.model.Warning
-
Sets the Discord ID of the user being warned.
- setDisplayName(Player, String) - Method in class tk.airshipcraft.commonlib.gui.objects.BelowName
-
Sets the display name of the below-name scoreboard for a specific player.
- setFiller(Inventory, ItemStack) - Method in class tk.airshipcraft.commonlib.gui.UiDesigner
-
Fills all empty slots that are not part of the border in the inventory with a specified item.
- setFishCaught(int) - Method in class tk.airshipcraft.commonlib.db.model.User
-
Sets the total number of fish caught by the user.
- setId(UUID) - Method in class tk.airshipcraft.commonlib.db.model.AuthData
-
Sets the UUID of the player.
- setId(UUID) - Method in class tk.airshipcraft.commonlib.db.model.LocationObj
-
Sets the unique identifier for the location.
- setId(UUID) - Method in class tk.airshipcraft.commonlib.db.model.User
-
Sets the user's unique identifier.
- setId(UUID) - Method in class tk.airshipcraft.commonlib.db.model.Warning
-
Sets the unique identifier for the warning.
- setIGN(String) - Method in class tk.airshipcraft.commonlib.db.model.AuthData
-
Sets the in-game name of the player.
- setIssuer(UUID) - Method in class tk.airshipcraft.commonlib.db.model.Warning
-
Sets the UUID of the issuer.
- setItem(int, ItemStack) - Method in class tk.airshipcraft.commonlib.gui.GuiBuilder
-
Adds an item to the GUI at the specified slot.
- setJdbcUrl(String) - Method in class tk.airshipcraft.commonlib.db.DatabaseConfig
-
Sets the JDBC URL in the properties.
- setJoinDate(Timestamp) - Method in class tk.airshipcraft.commonlib.db.model.User
-
Sets the date when the user joined the server.
- setLastJoin(Timestamp) - Method in class tk.airshipcraft.commonlib.db.model.User
-
Sets the last time the user joined the server.
- setLastSeen(Timestamp) - Method in class tk.airshipcraft.commonlib.db.model.User
-
Sets the last time the user was seen on the server.
- setLine(String, int) - Method in class tk.airshipcraft.commonlib.gui.objects.Sidebar
-
Sets or updates the score for a specific line of text.
- setMaximumPoolSize(String) - Method in class tk.airshipcraft.commonlib.db.DatabaseConfig
-
Sets the maximum pool size in the properties.
- setMinecraftRecipient(UUID) - Method in class tk.airshipcraft.commonlib.db.model.Warning
-
Sets the UUID of the Minecraft player being warned.
- setMonth(int) - Method in class tk.airshipcraft.commonlib.calendar.clock.CustomDate
-
Sets the month represented by this CustomDate.
- setName(String) - Method in interface tk.airshipcraft.commonlib.gui.objects.ITeam
-
Sets the name of the team.
- setParentTeam(String, String) - Method in class tk.airshipcraft.commonlib.gui.objects.impl.TeamManager
-
Sets the parent team for a given team, establishing a hierarchical relationship.
- setParentTeam(ITeam) - Method in interface tk.airshipcraft.commonlib.gui.objects.ITeam
-
Sets the parent team for this team.
- setParticle(Particle) - Method in class tk.airshipcraft.commonlib.particles.ParticleEffect
-
Sets a new particle type for this effect.
- setPassword(String) - Method in class tk.airshipcraft.commonlib.db.DatabaseConfig
-
Sets the database password in the properties.
- setPitch(float) - Method in class tk.airshipcraft.commonlib.db.model.LocationObj
-
Sets the pitch.
- setProperty(String, String) - Method in class tk.airshipcraft.commonlib.db.DatabaseConfig
-
Sets the value of a configuration property.
- setReason(String) - Method in class tk.airshipcraft.commonlib.db.model.Warning
-
Sets the reason for issuing the warning.
- setRedisPassword(String) - Method in class tk.airshipcraft.commonlib.db.DatabaseConfig
-
Sets the Redis server password in the properties.
- setRedisUri(String) - Method in class tk.airshipcraft.commonlib.db.DatabaseConfig
-
Sets the Redis server URI in the properties.
- setSavepoint(Connection, String) - Method in class tk.airshipcraft.commonlib.db.SqlConnectionManager
-
Sets a savepoint in the current transaction.
- setSlot(Inventory, int, ItemStack) - Method in class tk.airshipcraft.commonlib.gui.UiDesigner
-
Set a specific slot in an inventory with a given item stack.
- setSlot(ItemStack, EquipmentSlot) - Method in class tk.airshipcraft.commonlib.gui.Hologram
-
Sets an item in a specified slot for the armor stand associated with this hologram.
- setTeam(Player, Team) - Method in class tk.airshipcraft.commonlib.gui.objects.BelowName
-
Assigns a player to a specific team on the below-name scoreboard.
- setTimestamp(long) - Method in class tk.airshipcraft.commonlib.db.model.Warning
-
Sets the timestamp when the warning was issued.
- setTitle(Inventory, String) - Method in class tk.airshipcraft.commonlib.gui.UiDesigner
-
Changes the title of the inventory.
- setToken(UUID) - Method in class tk.airshipcraft.commonlib.db.model.AuthData
-
Sets the authentication token for the player.
- setTotalBlocksBroken(int) - Method in class tk.airshipcraft.commonlib.db.model.User
-
Sets the total number of blocks broken by the user.
- setTotalDeaths(int) - Method in class tk.airshipcraft.commonlib.db.model.User
-
Sets the total number of deaths by the user.
- setTotalKills(int) - Method in class tk.airshipcraft.commonlib.db.model.User
-
Sets the total number of kills by the user.
- setTotalPlaytime(long) - Method in class tk.airshipcraft.commonlib.db.model.User
-
Sets the total playtime of the user in milliseconds.
- setupPluginTables() - Method in class tk.airshipcraft.commonlib.db.TableManager
-
Sets up the database tables for all registered plugins.
- setUsername(String) - Method in class tk.airshipcraft.commonlib.db.DatabaseConfig
-
Sets the database username in the properties.
- setUsername(String) - Method in class tk.airshipcraft.commonlib.db.model.AuthData
-
Sets the username associated with the player's Discord account.
- setUsername(String) - Method in class tk.airshipcraft.commonlib.db.model.User
-
Sets the user's username.
- setVerified(boolean) - Method in class tk.airshipcraft.commonlib.db.model.AuthData
-
Sets the verification status of the player's account.
- setWorldName(String) - Method in class tk.airshipcraft.commonlib.db.model.LocationObj
-
Sets the name of the world.
- setX(double) - Method in class tk.airshipcraft.commonlib.db.model.LocationObj
-
Sets the X-coordinate.
- setY(double) - Method in class tk.airshipcraft.commonlib.db.model.LocationObj
-
Sets the Y-coordinate.
- setYaw(float) - Method in class tk.airshipcraft.commonlib.db.model.LocationObj
-
Sets the yaw.
- setYear(int) - Method in class tk.airshipcraft.commonlib.calendar.clock.CustomDate
-
Sets the year represented by this CustomDate.
- setZ(double) - Method in class tk.airshipcraft.commonlib.db.model.LocationObj
-
Sets the Z-coordinate.
- show() - Method in class tk.airshipcraft.commonlib.gui.Hologram
-
shows an invisible Hologram
- show(Player) - Method in class tk.airshipcraft.commonlib.gui.objects.Sidebar
-
Shows the sidebar to a specific player.
- Sidebar - Class in tk.airshipcraft.commonlib.gui.objects
-
Represents a sidebar scoreboard in Minecraft, displayed on the side of a player's screen.
- Sidebar(String) - Constructor for class tk.airshipcraft.commonlib.gui.objects.Sidebar
-
Initializes a new Sidebar instance with a given title.
- SIGN - Enum constant in enum class tk.airshipcraft.commonlib.utils.BlockUtils.BlockType
-
Represents any sign type (wall sign or freestanding sign)
- spawnBulletParticles(Location, boolean) - Static method in class tk.airshipcraft.commonlib.particles.ParticleUtils
-
Spawns bullet particles at the specified location.
- spawnEnergyBeamParticles(Location, Location) - Static method in class tk.airshipcraft.commonlib.particles.ParticleUtils
-
Spawns energy beam particles along a line between two points.
- spawnRocketParticles(Location) - Static method in class tk.airshipcraft.commonlib.particles.ParticleUtils
-
Spawns rocket particles at the specified location.
- SPRING - Enum constant in enum class tk.airshipcraft.commonlib.calendar.ISeasonManager.Season
-
Spring season.
- SqlAuthDataDao - Class in tk.airshipcraft.commonlib.db.dao.impl
-
SQL implementation of the AuthDataDao interface.
- SqlAuthDataDao(SqlConnectionManager) - Constructor for class tk.airshipcraft.commonlib.db.dao.impl.SqlAuthDataDao
-
Constructs an instance of SqlAuthDataDao with a given SqlConnectionManager.
- SqlConnectionManager - Class in tk.airshipcraft.commonlib.db
-
Manages SQL database connections using HikariCP for connection pooling.
- SqlConnectionManager(DatabaseConfig) - Constructor for class tk.airshipcraft.commonlib.db.SqlConnectionManager
-
Initializes a new SqlConnectionManager with the provided database configuration.
- SqlUserDao - Class in tk.airshipcraft.commonlib.db.dao.impl
-
SQL implementation of the UserDao interface for accessing and manipulating user data in a database.
- SqlUserDao(SqlConnectionManager) - Constructor for class tk.airshipcraft.commonlib.db.dao.impl.SqlUserDao
-
Constructs a new SqlUserDao with a specified SqlConnectionManager.
- SqlWarningDao - Class in tk.airshipcraft.commonlib.db.dao.impl
-
Provides SQL-specific data access operations for Warning objects.
- SqlWarningDao(SqlConnectionManager) - Constructor for class tk.airshipcraft.commonlib.db.dao.impl.SqlWarningDao
-
Constructs a SqlWarningDao with a given SqlConnectionManager.
- start() - Method in class tk.airshipcraft.commonlib.calendar.clock.WorldClock
-
Starts the clock.
- startsWith(String, String) - Static method in class tk.airshipcraft.commonlib.utils.TextFormatting
-
Determines if one string starts with another.
- STONE - Enum constant in enum class tk.airshipcraft.commonlib.utils.BlockUtils.BlockType
-
Represents any kind of stone
- StringDistance - Interface in tk.airshipcraft.commonlib.utils.search
-
An interface for string distance algorithms that calculate the difference between two byte arrays.
- stringEquals(String, String) - Static method in class tk.airshipcraft.commonlib.utils.TextFormatting
-
Determines if two strings match in value.
- stringEqualsIgnoreCase(String, String) - Static method in class tk.airshipcraft.commonlib.utils.TextFormatting
-
Determines if two strings match regardless of case.
- STRIPPED_LOG - Enum constant in enum class tk.airshipcraft.commonlib.utils.BlockUtils.BlockType
-
Represents a stripped log block type.
- SubclassFinder - Class in tk.airshipcraft.commonlib.utils.classes
-
Provides functionality to search and retrieve subclasses of a given superclass dynamically.
- SubclassFinder(Class<?>) - Constructor for class tk.airshipcraft.commonlib.utils.classes.SubclassFinder
-
Constructs a new
SubclassFinder
that will search for subclasses of the provided superclass. - SUMMER - Enum constant in enum class tk.airshipcraft.commonlib.calendar.ISeasonManager.Season
-
Summer season.
T
- tabComplete(CommandSender, String, String[]) - Method in class tk.airshipcraft.commonlib.commands.CommandManager
-
Provides tab completion options for this command.
- TableManager - Class in tk.airshipcraft.commonlib.db
-
The TableManager class manages the creation and updating of database tables for various plugins using the CommonLib library.
- TableManager(SqlConnectionManager) - Constructor for class tk.airshipcraft.commonlib.db.TableManager
-
Creates a new TableManager instance with a specified connection manager.
- TeamManager - Class in tk.airshipcraft.commonlib.gui.objects.impl
-
Provides a centralized management system for teams across different plugins.
- TeamManager() - Constructor for class tk.airshipcraft.commonlib.gui.objects.impl.TeamManager
- teleport(Location) - Method in class tk.airshipcraft.commonlib.gui.Hologram
-
Teleports the Holograms or the armor stands that are an instance of Hologram
- TextFormatting - Class in tk.airshipcraft.commonlib.utils
-
Utility class for text formatting in Minecraft, providing methods for color parsing, duration formatting, and string manipulation.
- TextFormatting() - Constructor for class tk.airshipcraft.commonlib.utils.TextFormatting
- TickCoolDownHandler<E> - Class in tk.airshipcraft.commonlib.utils.cooldowns
-
Manages cooldowns for objects based on the game's tick system.
- TickCoolDownHandler(JavaPlugin, long) - Constructor for class tk.airshipcraft.commonlib.utils.cooldowns.TickCoolDownHandler
-
Initializes a cooldown handler for objects based on ticks, using an internal counter.
- Time - Class in tk.airshipcraft.commonlib.utils
-
Provides utility methods for working with time values in Java.
- titleize(String) - Static method in class tk.airshipcraft.commonlib.utils.TextFormatting
-
Creates a title string with a specific format including color codes and padding.
- titleize(String, String) - Static method in class tk.airshipcraft.commonlib.utils.TextFormatting
-
Creates a title string with a specific color code, format including color codes, and padding.
- tk.airshipcraft.commonlib - package tk.airshipcraft.commonlib
- tk.airshipcraft.commonlib.calendar - package tk.airshipcraft.commonlib.calendar
-
This package, a part of AirshipCraft's
CommonLib
core library, provides a comprehensive calendar and event system for Minecraft servers. - tk.airshipcraft.commonlib.calendar.clock - package tk.airshipcraft.commonlib.calendar.clock
- tk.airshipcraft.commonlib.calendar.impl - package tk.airshipcraft.commonlib.calendar.impl
- tk.airshipcraft.commonlib.commands - package tk.airshipcraft.commonlib.commands
-
This package contains classes related to command processing and management.
- tk.airshipcraft.commonlib.configuration - package tk.airshipcraft.commonlib.configuration
-
Provides classes and interfaces for managing configurations and player preferences within a Bukkit plugin environment.
- tk.airshipcraft.commonlib.configuration.impl - package tk.airshipcraft.commonlib.configuration.impl
-
Provides the classes necessary for managing player preferences within a Bukkit plugin.
- tk.airshipcraft.commonlib.db - package tk.airshipcraft.commonlib.db
-
Provides classes for database operations within the AirshipCraft plugin framework.
- tk.airshipcraft.commonlib.db.dao - package tk.airshipcraft.commonlib.db.dao
- tk.airshipcraft.commonlib.db.dao.impl - package tk.airshipcraft.commonlib.db.dao.impl
- tk.airshipcraft.commonlib.db.model - package tk.airshipcraft.commonlib.db.model
- tk.airshipcraft.commonlib.gui - package tk.airshipcraft.commonlib.gui
-
The GUI package in
tk.airshipcraft.commonlib
offers a robust framework for creating and managing graphical user interfaces (GUIs) within a Minecraft server environment. - tk.airshipcraft.commonlib.gui.events - package tk.airshipcraft.commonlib.gui.events
-
Contains classes and interfaces for handling events related to the graphical user interfaces (GUIs) in Minecraft.
- tk.airshipcraft.commonlib.gui.objects - package tk.airshipcraft.commonlib.gui.objects
-
Holds the essential objects and interfaces for the GUI system's various components, such as scoreboards, boss bars, and other custom UI elements.
- tk.airshipcraft.commonlib.gui.objects.impl - package tk.airshipcraft.commonlib.gui.objects.impl
-
Provides implementation details for the objects in the GUI system, such as teams which can be utilized within different UI components for grouping and organization.
- tk.airshipcraft.commonlib.particles - package tk.airshipcraft.commonlib.particles
- tk.airshipcraft.commonlib.utils - package tk.airshipcraft.commonlib.utils
- tk.airshipcraft.commonlib.utils.classes - package tk.airshipcraft.commonlib.utils.classes
- tk.airshipcraft.commonlib.utils.cooldowns - package tk.airshipcraft.commonlib.utils.cooldowns
-
Cooldown Management Tools
- tk.airshipcraft.commonlib.utils.math - package tk.airshipcraft.commonlib.utils.math
-
Provides a comprehensive suite of mathematical utilities tailored for game development in Minecraft.
- tk.airshipcraft.commonlib.utils.search - package tk.airshipcraft.commonlib.utils.search
-
The
tk.airshipcraft.commonlib.utils.search
package contains implementations of various string search and distance algorithms. - tk.airshipcraft.commonlib.world - package tk.airshipcraft.commonlib.world
-
Provides classes for defining and working with various geometric areas within the Minecraft world.
- toBukkitLocation() - Method in class tk.airshipcraft.commonlib.db.model.LocationObj
-
Converts this LocationObj to a Bukkit Location.
- toString() - Method in class tk.airshipcraft.commonlib.calendar.clock.CustomDate
-
Returns a string representation of this CustomDate.
- toString() - Method in class tk.airshipcraft.commonlib.db.model.AuthData
-
Returns a String representation of the AuthData object.
- toString() - Method in class tk.airshipcraft.commonlib.db.model.LocationObj
-
Gets a string representation of this object.
- toString() - Method in class tk.airshipcraft.commonlib.db.model.User
-
Returns a string representation of the User object.
- toString() - Method in class tk.airshipcraft.commonlib.db.model.Warning
-
Returns a String representation of the warning.
- toString() - Method in class tk.airshipcraft.commonlib.particles.ParticleEffect
-
Generates a string representation of the ParticleEffect, providing details about the particle type and its properties.
- toString() - Method in class tk.airshipcraft.commonlib.utils.Pair
- toStringDashed(UUID) - Static method in class tk.airshipcraft.commonlib.utils.FastUUID
-
Returns a string representation of the given UUID.
- toStringUndashed(UUID) - Static method in class tk.airshipcraft.commonlib.utils.FastUUID
-
Returns a string representation of the given UUID.
- Trie - Class in tk.airshipcraft.commonlib.utils.search
-
Implements a trie (prefix tree) data structure that provides fast retrieval of strings based on their prefixes.
- trigger() - Method in interface tk.airshipcraft.commonlib.calendar.IGameEvent
-
Triggers the specific action or series of actions associated with this game event.
- triggerEvents(CustomDate) - Method in interface tk.airshipcraft.commonlib.calendar.IEventManager
-
Triggers all events scheduled for the current in-game date.
- triggerEvents(CustomDate) - Method in class tk.airshipcraft.commonlib.calendar.impl.EventManager
-
Triggers all events scheduled for the current in-game date.
U
- Ui - Class in tk.airshipcraft.commonlib.gui.objects
-
Represents a custom User Interface (UI) in Minecraft, facilitating the creation and management of custom inventory interfaces.
- Ui(String, InventoryHolder, InventoryType, int) - Constructor for class tk.airshipcraft.commonlib.gui.objects.Ui
-
Constructs a new Ui instance with specified parameters.
- UiDesigner - Class in tk.airshipcraft.commonlib.gui
-
A utility class designed for crafting and handling Graphical User Interfaces (GUIs) within Minecraft.
- UiDesigner() - Constructor for class tk.airshipcraft.commonlib.gui.UiDesigner
-
Initializes a new SubclassFinder for UiDesigner subclasses.
- unregisterGui(Player) - Method in class tk.airshipcraft.commonlib.gui.GuiManager
-
Removes the association between a player and a GUI.
- unregisterTeam(String) - Method in class tk.airshipcraft.commonlib.gui.objects.impl.TeamManager
-
Unregisters a team from the manager.
- UNSTRIPPED_LOG - Enum constant in enum class tk.airshipcraft.commonlib.utils.BlockUtils.BlockType
-
Represents only unstripped log block variants.
- update(T) - Method in interface tk.airshipcraft.commonlib.db.GenericDao
-
Updates an existing entity.
- update(AuthData) - Method in interface tk.airshipcraft.commonlib.db.dao.AuthDataDao
-
Updates existing AuthData in the database.
- update(AuthData) - Method in class tk.airshipcraft.commonlib.db.dao.impl.SqlAuthDataDao
-
Updates an existing AuthData record.
- update(User) - Method in class tk.airshipcraft.commonlib.db.dao.impl.SqlUserDao
-
Updates an existing user in the database.
- update(Warning) - Method in class tk.airshipcraft.commonlib.db.dao.impl.SqlWarningDao
-
Updates an existing Warning in the database.
- update(Warning) - Method in interface tk.airshipcraft.commonlib.db.dao.WarningDao
- updateAfterDelay(BarColor, BarStyle, long) - Method in class tk.airshipcraft.commonlib.gui.objects.Bossbar
-
Updates the color and style of the boss bar after a specified delay.
- updateDisplayName(String) - Method in class tk.airshipcraft.commonlib.gui.objects.Sidebar
-
Updates the display name of the sidebar.
- updatePreferenceField(Player, String, Object) - Method in class tk.airshipcraft.commonlib.configuration.impl.PreferencesManager
-
Updates a specific field within a player's preferences.
- upperCaseFirst(String) - Static method in class tk.airshipcraft.commonlib.utils.TextFormatting
-
Capitalizes the first letter of the provided string.
- User - Class in tk.airshipcraft.commonlib.db.model
-
Represents a player on the Minecraft server.It holds attributes specific to the player's interaction within the server.
- User() - Constructor for class tk.airshipcraft.commonlib.db.model.User
-
Default constructor.
- User(UUID, String, Timestamp, Timestamp, Timestamp, long, int, int, int, int) - Constructor for class tk.airshipcraft.commonlib.db.model.User
-
Constructs a new User with specified details.
- UserDao - Interface in tk.airshipcraft.commonlib.db.dao
-
Interface for data access operations on User entities.
V
- valueOf(String) - Static method in enum class tk.airshipcraft.commonlib.calendar.ISeasonManager.Season
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class tk.airshipcraft.commonlib.utils.BlockUtils.BlockType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class tk.airshipcraft.commonlib.utils.search.SearchAlgorithm
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class tk.airshipcraft.commonlib.calendar.ISeasonManager.Season
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class tk.airshipcraft.commonlib.utils.BlockUtils.BlockType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class tk.airshipcraft.commonlib.utils.search.SearchAlgorithm
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VectorMath - Class in tk.airshipcraft.commonlib.utils.math
-
Utility class for vector mathematical operations.
- VectorMath() - Constructor for class tk.airshipcraft.commonlib.utils.math.VectorMath
W
- WALL_SIGN - Enum constant in enum class tk.airshipcraft.commonlib.utils.BlockUtils.BlockType
-
Represents a wall sign block type.
- Warning - Class in tk.airshipcraft.commonlib.db.model
-
Represents a warning issued to a player or user.
- Warning(UUID, UUID, UUID, String, String, long) - Constructor for class tk.airshipcraft.commonlib.db.model.Warning
-
Constructs a new Warning instance.
- WarningDao - Interface in tk.airshipcraft.commonlib.db.dao
-
The WarningDao interface defines the data access methods for Warning objects.
- WINTER - Enum constant in enum class tk.airshipcraft.commonlib.calendar.ISeasonManager.Season
-
Winter season.
- WOOD - Enum constant in enum class tk.airshipcraft.commonlib.utils.BlockUtils.BlockType
-
Represents a wood block (log or plank) type.
- WorldClock - Class in tk.airshipcraft.commonlib.calendar.clock
-
This class handles converting real-world time to in-game time and vice versa.
- WorldClock(CommonLib, CalendarManager, EventManager) - Constructor for class tk.airshipcraft.commonlib.calendar.clock.WorldClock
-
Initializes a new WorldClock.
All Classes and Interfaces|All Packages