Index

A B C D E F G H I K L M N O P Q R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values

A

AbstractStorageProvider<T,K> - Class in dev.crafty.core.storage
Abstract base implementation of StorageProvider that provides common functionality.
AbstractStorageProvider(Class<T>) - Constructor for class dev.crafty.core.storage.AbstractStorageProvider
Creates a new AbstractStorageProvider.
accept(A, B, C) - Method in interface dev.crafty.core.util.Optionals.TriConsumer
 
accept(A, B, C, D) - Method in interface dev.crafty.core.util.Optionals.QuadConsumer
 
actionId() - Method in record class dev.crafty.core.items.ItemAction
Returns the value of the actionId record component.
actions() - Method in record class dev.crafty.core.gui.GuiItem
Returns the value of the actions record component.
addItem(GuiItem) - Method in class dev.crafty.core.gui.Menu
 
addItems(GuiItem...) - Method in class dev.crafty.core.gui.Menu
 
AntiSpam - Class in dev.crafty.core.player
AntiSpam provides a mechanism to prevent players from sending repeated messages within a specified cooldown period.
AntiSpam() - Constructor for class dev.crafty.core.player.AntiSpam
 
AntiSpam.Builder - Class in dev.crafty.core.player
Builder class for configuring and sending messages with anti-spam checks.
apply(ItemStack[], SectionWrapper, Menu) - Method in class dev.crafty.core.gui.ItemSupplier
 
apply(ItemStack[], SectionWrapper, Menu) - Method in class dev.crafty.core.gui.suppliers.ConditionalItemSupplier
 
apply(ItemStack[], SectionWrapper, Menu) - Method in class dev.crafty.core.gui.suppliers.DynamicItemSupplier
 
apply(ItemStack[], SectionWrapper, Menu) - Method in class dev.crafty.core.gui.suppliers.MappedItemSupplier
 
apply(ItemStack[], SectionWrapper, Menu) - Method in class dev.crafty.core.gui.suppliers.PaginatedMappedItemSupplier
 
apply(ItemStack[], SectionWrapper, Menu) - Method in class dev.crafty.core.gui.suppliers.StaticItemSupplier
 
applyToAll(ItemStack[], ItemStack) - Method in class dev.crafty.core.gui.ItemSupplier
 
areAllPresent(Optional<?>...) - Static method in class dev.crafty.core.util.Optionals
 

B

Bridge - Interface in dev.crafty.core.bridge
Bridges provide a unified api for accessing multiple plugins.
BridgeManager - Class in dev.crafty.core.bridge
Manages the current bridges
BridgeManager() - Constructor for class dev.crafty.core.bridge.BridgeManager
 
bridgeName() - Method in interface dev.crafty.core.bridge.Bridge
Returns the type or category name of this bridge.
bridgeName() - Method in interface dev.crafty.core.bridge.economy.EconomyBridge
Returns the type or category name of this bridge.
bridgeName() - Method in interface dev.crafty.core.bridge.mobs.MobBridge
 
bridgeName() - Method in interface dev.crafty.core.bridge.placeholders.PlaceholderBridge
Returns the name of this bridge implementation.
build() - Method in class dev.crafty.core.config.CachedConfigObject.Builder
Builds a new CachedConfigObject instance with the configured parameters.
Builder() - Constructor for class dev.crafty.core.config.CachedConfigObject.Builder
 
Builder() - Constructor for class dev.crafty.core.player.AntiSpam.Builder
 
byName(String) - Static method in class dev.crafty.core.storage.wrappers.NamedObjectReference
 
byName(String, Class<T>) - Static method in class dev.crafty.core.storage.wrappers.NamedObjectReference
 

C

c() - Method in record class dev.crafty.core.items.ItemCraftingRecipeItem
Returns the value of the c record component.
CachedConfigObject<K,V> - Class in dev.crafty.core.config
An abstract class that provides a cached, file-backed configuration object.
CachedConfigObject() - Constructor for class dev.crafty.core.config.CachedConfigObject
 
CachedConfigObject.Builder<K,V> - Class in dev.crafty.core.config
Builder for creating instances of CachedConfigObject with custom configuration.
CachedStorageProvider<T,K> - Class in dev.crafty.core.storage
A decorator that adds caching to any storage provider.
CachedStorageProvider(StorageProvider<T, K>) - Constructor for class dev.crafty.core.storage.CachedStorageProvider
Creates a new CachedStorageProvider with default cache settings.
CachedStorageProvider(StorageProvider<T, K>, Caffeine<Object, Object>, Caffeine<Object, Object>) - Constructor for class dev.crafty.core.storage.CachedStorageProvider
Creates a new CachedStorageProvider with custom cache settings.
cancel(String) - Method in class dev.crafty.core.scheduler.SchedulerService
Cancels a scheduled action by its identifier.
canExecute(Player) - Method in record class dev.crafty.core.items.ItemActionCondition
 
canRegister() - Method in interface dev.crafty.core.bridge.Bridge
Checks if this bridge can be registered.
canRegister() - Method in class dev.crafty.core.bridge.economy.vault.VaultEconomyBridge
 
canRegister() - Method in class dev.crafty.core.bridge.mobs.mythicmobs.MythicMobsBridge
 
canRegister() - Method in class dev.crafty.core.bridge.placeholders.placeholderapi.PlaceholderApiBridge
 
clear() - Static method in class dev.crafty.core.config.serializer.SerializerRegistry
Clear all registered serializers.
clear() - Method in class dev.crafty.core.storage.CachedStorageProvider
Clears all cached entries from both the item and collection caches.
close() - Method in class dev.crafty.core.storage.AbstractStorageProvider
Closes the storage provider and releases any resources.
close() - Method in class dev.crafty.core.storage.CachedStorageProvider
Closes the storage provider and releases any resources.
close() - Method in interface dev.crafty.core.storage.PlayerDataProvider
 
close() - Method in class dev.crafty.core.storage.providers.MySqlStorageProvider
Closes the storage provider and releases any resources.
close() - Method in class dev.crafty.core.storage.providers.PlayerDataProviderImpl
 
close() - Method in class dev.crafty.core.storage.providers.PostgresStorageProvider
Closes the storage provider and releases any resources.
close() - Method in interface dev.crafty.core.storage.StorageProvider
Closes the storage provider and releases any resources.
closeAllProviders() - Method in class dev.crafty.core.storage.ProviderManager
Closes all storage providers.
collect(Player, String, String, CraftyPlugin) - Static method in class dev.crafty.core.util.Input
Collects a string input from a player using SignGUI.
collectTyped(Player, String, String, CraftyPlugin, Function<String, T>, Predicate<T>, String) - Static method in class dev.crafty.core.util.Input
Collects an input of a specified type from a player using SignGUI.
colorize(String) - Static method in class dev.crafty.core.util.Lang
 
colorizeList(List<String>) - Static method in class dev.crafty.core.util.Lang
 
colorizeListWithPlaceholders(Player, List<Component>) - Static method in class dev.crafty.core.util.Lang
Helper to do the same on a list of Components (like lore lines).
colorizeWithPlaceholders(Player, Component) - Static method in class dev.crafty.core.util.Lang
Apply PlaceholderAPI replacements on the plain text of the given component, then parse the result as MiniMessage, and apply optional style fixes.
commandManager - Variable in class dev.crafty.core.plugin.CraftyPlugin
 
Components - Class in dev.crafty.core.util
 
Components() - Constructor for class dev.crafty.core.util.Components
 
CONDITIONAL - Enum constant in enum class dev.crafty.core.gui.ItemType
 
ConditionalItemSupplier - Class in dev.crafty.core.gui.suppliers
 
ConditionalItemSupplier() - Constructor for class dev.crafty.core.gui.suppliers.ConditionalItemSupplier
 
conditions() - Method in record class dev.crafty.core.items.ItemAction
Returns the value of the conditions record component.
configFile() - Method in record class dev.crafty.core.config.serializer.ConfigSerializer.SerializationArgs
Returns the value of the configFile record component.
configFile(File) - Method in class dev.crafty.core.config.CachedConfigObject.Builder
Sets the config file to use.
Configs - Class in dev.crafty.core.util
 
Configs() - Constructor for class dev.crafty.core.util.Configs
 
configSection(String) - Method in class dev.crafty.core.config.CachedConfigObject.Builder
Sets the config section to use.
ConfigSerializer<T> - Interface in dev.crafty.core.config.serializer
Interface for serializing and deserializing objects to and from configuration sections.
ConfigSerializer.SerializationArgs<T> - Record Class in dev.crafty.core.config.serializer
 
ConfigurationFile - Annotation Interface in dev.crafty.core.config.annotation
Annotation to mark a class as a configuration holder.
ConfigurationManager - Class in dev.crafty.core.config
Manager for handling configuration files and annotations.
ConfigurationManager(Plugin) - Constructor for class dev.crafty.core.config.ConfigurationManager
Create a new configuration manager.
ConfigurationUtils - Class in dev.crafty.core.config
Utility class for working with the configuration system.
ConfigurationUtils() - Constructor for class dev.crafty.core.config.ConfigurationUtils
 
ConfigValue - Annotation Interface in dev.crafty.core.config.annotation
Annotation to mark a field as a configuration value.
ConfigWatcher - Class in dev.crafty.core.config
Utility class for watching configuration files for changes.
ConfigWatcher(Plugin, File, Runnable) - Constructor for class dev.crafty.core.config.ConfigWatcher
Create a new config watcher.
contains(Point3d) - Method in interface dev.crafty.core.geometry.Polygon
 
contains(Point3d) - Method in class dev.crafty.core.geometry.polygons.Polygon3d
 
contains(String) - Method in class dev.crafty.core.config.SectionWrapper
 
contains(Location) - Method in interface dev.crafty.core.geometry.Polygon
 
convert(Number, TimeUnit) - Method in enum class dev.crafty.core.number.units.TimeUnit
 
convert(Number, T) - Method in interface dev.crafty.core.number.UnitEnum
Converts a number from this unit to the target unit.
convertTo(T) - Method in record class dev.crafty.core.number.UnitNumber
Converts this UnitNumber to a different unit.
cooldown(Duration) - Method in class dev.crafty.core.player.AntiSpam.Builder
Sets the cooldown duration between messages with the same key.
craftyCore - Variable in class dev.crafty.core.plugin.CraftyPlugin
 
CraftyCore - Class in dev.crafty.core
Main class for the CraftyCore plugin.
CraftyCore() - Constructor for class dev.crafty.core.CraftyCore
 
CraftyLogger - Class in dev.crafty.core.bukkit
Enhanced logger
CraftyLogger(JavaPlugin) - Constructor for class dev.crafty.core.bukkit.CraftyLogger
 
CraftyPlugin - Class in dev.crafty.core.plugin
To be extended by any crafty plugin
CraftyPlugin() - Constructor for class dev.crafty.core.plugin.CraftyPlugin
 
createCachedProvider(StorageProvider<T, K>) - Static method in class dev.crafty.core.storage.StorageProviderFactory
Creates a cached storage provider that wraps the given provider.
createIfNotExists() - Element in annotation interface dev.crafty.core.config.annotation.ConfigurationFile
Whether to automatically create the configuration file if it doesn't exist.
createListSerializer(Class<List<T>>, Class<T>, BiFunction<SectionWrapper, String, Optional<List<T>>>) - Static method in class dev.crafty.core.config.serializer.SerializerFactory
Create a serializer for a list of items.
createMongoDbProvider(Class<T>, String, String) - Static method in class dev.crafty.core.storage.StorageProviderFactory
Creates a MongoDb storage provider.
createMySqlProvider(Class<T>, String, String, String, String) - Static method in class dev.crafty.core.storage.StorageProviderFactory
Creates a MySQL storage provider.
createPostgresProvider(Class<T>, String, String, String, String) - Static method in class dev.crafty.core.storage.StorageProviderFactory
Creates a PostgreSQL storage provider.
createProvider(StorageProviderFactory.StorageType, Class<T>, StorageProviderFactory.StorageConfig) - Static method in class dev.crafty.core.storage.StorageProviderFactory
Creates a storage provider based on the specified type.
createSection(String) - Method in class dev.crafty.core.config.SectionWrapper
 
createSimpleSerializer(Class<T>, BiFunction<SectionWrapper, String, Optional<T>>) - Static method in class dev.crafty.core.config.serializer.SerializerFactory
Create a serializer for a primitive type or other simple type that can be directly stored in a configuration section.
createYamlProvider(Class<T>, String) - Static method in class dev.crafty.core.storage.StorageProviderFactory
Creates a YAML storage provider.
createYamlProvider(Class<T>, Path) - Static method in class dev.crafty.core.storage.StorageProviderFactory
Creates a YAML storage provider.

D

debug(String, Object...) - Method in class dev.crafty.core.bukkit.CraftyLogger
 
defaultValue() - Element in annotation interface dev.crafty.core.config.annotation.ConfigValue
The default value to use if the configuration key is not found.
delete(String) - Method in interface dev.crafty.core.storage.PlayerDataProvider
 
delete(String) - Method in class dev.crafty.core.storage.providers.MongoDbStorageProvider
Deletes an object from the storage.
delete(String) - Method in class dev.crafty.core.storage.providers.MySqlStorageProvider
Deletes an object from the storage.
delete(String) - Method in class dev.crafty.core.storage.providers.PlayerDataProviderImpl
 
delete(String) - Method in class dev.crafty.core.storage.providers.PostgresStorageProvider
Deletes an object from the storage.
delete(String) - Method in class dev.crafty.core.storage.providers.YamlStorageProvider
Deletes an object from the storage.
delete(K) - Method in class dev.crafty.core.storage.CachedStorageProvider
Deletes an object from the storage.
delete(K) - Method in interface dev.crafty.core.storage.StorageProvider
Deletes an object from the storage.
denyMessage() - Method in record class dev.crafty.core.items.ItemActionCondition
Returns the value of the denyMessage record component.
deposit(UUID, double) - Method in interface dev.crafty.core.bridge.economy.EconomyBridge
Deposits a specified amount to the player's balance.
deposit(UUID, double) - Method in class dev.crafty.core.bridge.economy.vault.VaultEconomyBridge
 
deserialize(JsonParser, DeserializationContext) - Method in class dev.crafty.core.storage.wrappers.NamedObjectReferenceDeserializer
 
deserialize(SectionWrapper, String) - Method in class dev.crafty.core.config.serializer.builtin.ItemStackSerializer
 
deserialize(SectionWrapper, String) - Method in class dev.crafty.core.config.serializer.builtin.LocationSerializer
 
deserialize(SectionWrapper, String) - Method in interface dev.crafty.core.config.serializer.ConfigSerializer
Deserialize an object from a configuration section.
deserialize(SectionWrapper, String) - Method in class dev.crafty.core.geometry.serializers.Point2dSerializer
 
deserialize(SectionWrapper, String) - Method in class dev.crafty.core.geometry.serializers.Polygon3dSerializer
 
deserialize(SectionWrapper, String) - Method in class dev.crafty.core.items.serializers.ItemActionSerializer
 
deserialize(SectionWrapper, String) - Method in class dev.crafty.core.items.serializers.ItemCraftingRecipeSerializer
 
dev.crafty.core - package dev.crafty.core
 
dev.crafty.core.bridge - package dev.crafty.core.bridge
 
dev.crafty.core.bridge.economy - package dev.crafty.core.bridge.economy
 
dev.crafty.core.bridge.economy.vault - package dev.crafty.core.bridge.economy.vault
 
dev.crafty.core.bridge.mobs - package dev.crafty.core.bridge.mobs
 
dev.crafty.core.bridge.mobs.mythicmobs - package dev.crafty.core.bridge.mobs.mythicmobs
 
dev.crafty.core.bridge.placeholders - package dev.crafty.core.bridge.placeholders
 
dev.crafty.core.bridge.placeholders.placeholderapi - package dev.crafty.core.bridge.placeholders.placeholderapi
 
dev.crafty.core.bukkit - package dev.crafty.core.bukkit
 
dev.crafty.core.config - package dev.crafty.core.config
 
dev.crafty.core.config.annotation - package dev.crafty.core.config.annotation
 
dev.crafty.core.config.serializer - package dev.crafty.core.config.serializer
 
dev.crafty.core.config.serializer.builtin - package dev.crafty.core.config.serializer.builtin
 
dev.crafty.core.geometry - package dev.crafty.core.geometry
 
dev.crafty.core.geometry.polygons - package dev.crafty.core.geometry.polygons
 
dev.crafty.core.geometry.serializers - package dev.crafty.core.geometry.serializers
 
dev.crafty.core.gui - package dev.crafty.core.gui
 
dev.crafty.core.gui.suppliers - package dev.crafty.core.gui.suppliers
 
dev.crafty.core.i18n - package dev.crafty.core.i18n
 
dev.crafty.core.items - package dev.crafty.core.items
 
dev.crafty.core.items.serializers - package dev.crafty.core.items.serializers
 
dev.crafty.core.number - package dev.crafty.core.number
 
dev.crafty.core.number.units - package dev.crafty.core.number.units
 
dev.crafty.core.player - package dev.crafty.core.player
 
dev.crafty.core.plugin - package dev.crafty.core.plugin
 
dev.crafty.core.scheduler - package dev.crafty.core.scheduler
 
dev.crafty.core.storage - package dev.crafty.core.storage
 
dev.crafty.core.storage.providers - package dev.crafty.core.storage.providers
 
dev.crafty.core.storage.serialization - package dev.crafty.core.storage.serialization
 
dev.crafty.core.storage.wrappers - package dev.crafty.core.storage.wrappers
 
dev.crafty.core.task.api - package dev.crafty.core.task.api
 
dev.crafty.core.task.providers - package dev.crafty.core.task.providers
 
dev.crafty.core.util - package dev.crafty.core.util
 
duration() - Method in interface dev.crafty.core.scheduler.ScheduledAction
Returns the time between executions.
DYNAMIC - Enum constant in enum class dev.crafty.core.gui.ItemType
 
DynamicItemSupplier - Class in dev.crafty.core.gui.suppliers
 
DynamicItemSupplier() - Constructor for class dev.crafty.core.gui.suppliers.DynamicItemSupplier
 

E

EconomyBridge - Interface in dev.crafty.core.bridge.economy
Bridge for economy plugins.
empty() - Static method in record class dev.crafty.core.gui.GuiItem
 
EnhancedBaseCommand - Class in dev.crafty.core.bukkit
Automatically registers the command
EnhancedBaseCommand() - Constructor for class dev.crafty.core.bukkit.EnhancedBaseCommand
 
equals(Object) - Method in record class dev.crafty.core.config.serializer.ConfigSerializer.SerializationArgs
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.crafty.core.geometry.Point2d
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.crafty.core.geometry.Point3d
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.crafty.core.gui.GuiItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.crafty.core.gui.Menu.MappedItemConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.crafty.core.items.ItemAction
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.crafty.core.items.ItemActionCondition
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.crafty.core.items.ItemCraftingRecipe
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.crafty.core.items.ItemCraftingRecipeItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.crafty.core.number.UnitNumber
Indicates whether some other object is "equal to" this one.
error(String, Object...) - Method in class dev.crafty.core.bukkit.CraftyLogger
 
evaluateForBoolean(String) - Static method in class dev.crafty.core.util.Expressions
 
exists(String) - Method in interface dev.crafty.core.storage.PlayerDataProvider
 
exists(String) - Method in class dev.crafty.core.storage.providers.PlayerDataProviderImpl
 
exists(K) - Method in class dev.crafty.core.storage.AbstractStorageProvider
Checks if an object exists in the storage.
exists(K) - Method in class dev.crafty.core.storage.CachedStorageProvider
Checks if an object exists in the storage.
exists(K) - Method in interface dev.crafty.core.storage.StorageProvider
Checks if an object exists in the storage.
expression() - Method in record class dev.crafty.core.items.ItemActionCondition
Returns the value of the expression record component.
Expressions - Class in dev.crafty.core.util
 
Expressions() - Constructor for class dev.crafty.core.util.Expressions
 

F

fetchLatestVersion() - Static method in class dev.crafty.core.util.GitHubLatestVersionFetcher
 
file() - Element in annotation interface dev.crafty.core.config.annotation.ConfigurationFile
The path to the configuration file, relative to the plugin's data folder.
forMongoDb(String, String) - Static method in class dev.crafty.core.storage.StorageProviderFactory.StorageConfig
 
forMySql(String, String, String, String) - Static method in class dev.crafty.core.storage.StorageProviderFactory.StorageConfig
Creates a new StorageConfig for MySQL storage.
forPlayer(UUID) - Static method in class dev.crafty.core.storage.PlayerDataBuilder
 
forPlayer(UUID, Class<T>) - Method in class dev.crafty.core.storage.ProviderManager
Gets a player data provider for the specified player ID and value type.
forPluginConfig(Plugin, Runnable) - Static method in class dev.crafty.core.config.ConfigWatcher
Create a new config watcher for the plugin's config.yml file.
forPostgres(String, String, String, String) - Static method in class dev.crafty.core.storage.StorageProviderFactory.StorageConfig
Creates a new StorageConfig for PostgreSQL storage.
forYaml(String) - Static method in class dev.crafty.core.storage.StorageProviderFactory.StorageConfig
Creates a new StorageConfig for YAML storage.
fromJson(String, Class<T>) - Static method in class dev.crafty.core.storage.serialization.StorageSerializer
Converts a JSON string to an object.
fromJson(String, Class<T>, Class<?>...) - Static method in class dev.crafty.core.storage.serialization.StorageSerializer
Converts a JSON string to an object with generic type parameters.
fromMap(Map<String, Object>, Class<T>) - Static method in class dev.crafty.core.storage.serialization.StorageSerializer
Converts a Map to an object.
fromString(String) - Static method in class dev.crafty.core.util.Components
 
fromStringList(List<String>) - Static method in class dev.crafty.core.util.Components
 
fromYaml(String, Class<T>) - Static method in class dev.crafty.core.storage.serialization.StorageSerializer
Converts a YAML string to an object.

G

get() - Method in class dev.crafty.core.i18n.i18nManager.LocalizationQuery
 
get(String) - Method in class dev.crafty.core.config.SectionWrapper
 
get(String) - Method in interface dev.crafty.core.storage.PlayerDataProvider
 
get(String) - Method in class dev.crafty.core.storage.providers.MongoDbStorageProvider
Retrieves an object from the storage.
get(String) - Method in class dev.crafty.core.storage.providers.MySqlStorageProvider
Retrieves an object from the storage.
get(String) - Method in class dev.crafty.core.storage.providers.PlayerDataProviderImpl
 
get(String) - Method in class dev.crafty.core.storage.providers.PostgresStorageProvider
Retrieves an object from the storage.
get(String) - Method in class dev.crafty.core.storage.providers.YamlStorageProvider
Retrieves an object from the storage.
get(String, Class<T>) - Method in class dev.crafty.core.storage.PlayerDataBuilder
 
get(K) - Method in class dev.crafty.core.config.CachedConfigObject
Gets a value from the cache, loading from config if not present.
get(K) - Method in class dev.crafty.core.storage.CachedStorageProvider
Retrieves an object from the storage.
get(K) - Method in interface dev.crafty.core.storage.StorageProvider
Retrieves an object from the storage.
getAction(String) - Method in class dev.crafty.core.gui.Menu
 
getActions(SectionWrapper, Menu) - Method in class dev.crafty.core.gui.ItemSupplier
 
getAll() - Method in class dev.crafty.core.config.CachedConfigObject
Gets all values currently stored in the cache.
getAll() - Method in class dev.crafty.core.storage.CachedStorageProvider
Retrieves all objects from the storage.
getAll() - Method in class dev.crafty.core.storage.providers.MongoDbStorageProvider
Retrieves all objects from the storage.
getAll() - Method in class dev.crafty.core.storage.providers.MySqlStorageProvider
Retrieves all objects from the storage.
getAll() - Method in class dev.crafty.core.storage.providers.PostgresStorageProvider
Retrieves all objects from the storage.
getAll() - Method in class dev.crafty.core.storage.providers.YamlStorageProvider
Retrieves all objects from the storage.
getAll() - Method in interface dev.crafty.core.storage.StorageProvider
Retrieves all objects from the storage.
getBalance(UUID) - Method in interface dev.crafty.core.bridge.economy.EconomyBridge
Retrieves the balance of the specified player.
getBalance(UUID) - Method in class dev.crafty.core.bridge.economy.vault.VaultEconomyBridge
 
getBoolean(String) - Method in class dev.crafty.core.config.SectionWrapper
 
getBooleanList(String) - Method in class dev.crafty.core.config.SectionWrapper
 
getBridge(Class<T>) - Static method in class dev.crafty.core.bridge.BridgeManager
 
getConfigFile() - Method in class dev.crafty.core.config.CachedConfigObject
Returns the configuration file backing this cache.
getConfigManager() - Static method in class dev.crafty.core.config.ConfigurationUtils
Get the configuration manager.
getConfigSection() - Method in class dev.crafty.core.config.CachedConfigObject
Returns the section name in the config file where objects are stored.
getCurrentPage() - Method in class dev.crafty.core.gui.PaginationState
Get the current page number (0-based).
getCurrentPage(String) - Method in class dev.crafty.core.gui.Menu
Get the current page number for a mapped item source.
getCurrentPageDisplay() - Method in class dev.crafty.core.gui.PaginationState
Get the current page number (1-based) for display purposes.
getDataPath() - Method in class dev.crafty.core.CraftyCore
Get the data folder path for the plugin.
getDouble(String) - Method in class dev.crafty.core.config.SectionWrapper
 
getDoubleList(String) - Method in class dev.crafty.core.config.SectionWrapper
 
getEndIndex() - Method in class dev.crafty.core.gui.PaginationState
Get the ending index for the current page in the data collection.
getFloat(String) - Method in class dev.crafty.core.config.SectionWrapper
 
getFloatList(String) - Method in class dev.crafty.core.config.SectionWrapper
 
getInstance() - Static method in class dev.crafty.core.storage.ProviderManager
Gets the singleton instance of the ProviderManager.
getInt(String) - Method in class dev.crafty.core.config.SectionWrapper
 
getIntegerList(String) - Method in class dev.crafty.core.config.SectionWrapper
 
getItem() - Method in class dev.crafty.core.items.Item
Returns the ItemStack representing this custom item.
getItemsOnCurrentPage() - Method in class dev.crafty.core.gui.PaginationState
Get the number of items on the current page.
getItemsPerPage() - Method in class dev.crafty.core.gui.PaginationState
Get the number of items per page.
getItemSupplier(String) - Method in class dev.crafty.core.gui.Menu
 
getJsonMapper() - Static method in class dev.crafty.core.storage.serialization.StorageSerializer
Gets the JSON ObjectMapper instance.
getKeys(boolean) - Method in class dev.crafty.core.config.SectionWrapper
 
getList(String) - Method in class dev.crafty.core.config.SectionWrapper
 
getLocation(String) - Method in class dev.crafty.core.config.SectionWrapper
 
getLong(String) - Method in class dev.crafty.core.config.SectionWrapper
 
getLongList(String) - Method in class dev.crafty.core.config.SectionWrapper
 
getMappedItemConfig(String) - Method in class dev.crafty.core.gui.Menu
 
getMetadataFromItem(String, ItemStack) - Method in class dev.crafty.core.gui.Menu
 
getMongoDbProvider(Class<T>, String, String) - Method in class dev.crafty.core.storage.ProviderManager
Gets a MongoDb storage provider for the specified type.
getMySqlProvider(Class<T>, String, String, String, String) - Method in class dev.crafty.core.storage.ProviderManager
Gets a MySQL storage provider for the specified type.
getName() - Method in interface dev.crafty.core.bridge.Bridge
Returns the unique name of this bridge instance.
getName() - Method in class dev.crafty.core.bridge.economy.vault.VaultEconomyBridge
 
getName() - Method in class dev.crafty.core.bridge.mobs.mythicmobs.MythicMobsBridge
 
getName() - Method in class dev.crafty.core.bridge.placeholders.placeholderapi.PlaceholderApiBridge
 
getName() - Method in class dev.crafty.core.storage.wrappers.NamedObjectReference
 
getOrCreateConfigFile(CraftyPlugin, String) - Static method in class dev.crafty.core.util.Configs
 
getOrCreateSection(String) - Method in class dev.crafty.core.config.SectionWrapper
 
getPackage() - Method in class dev.crafty.core.plugin.CraftyPlugin
 
getPaginationState(String, int, int) - Method in class dev.crafty.core.gui.Menu
Get or create a pagination state for a mapped item source.
getPostgresProvider(Class<T>, String, String, String, String) - Method in class dev.crafty.core.storage.ProviderManager
Gets a PostgreSQL storage provider for the specified type.
getPrefetchedData(String, Class<T>) - Method in class dev.crafty.core.gui.Menu
Retrieve prefetched data by key.
getProvider(Class<T>) - Method in class dev.crafty.core.storage.ProviderManager
Gets a storage provider using the default configuration.
getProvider(Class<T>, String) - Method in class dev.crafty.core.storage.ProviderManager
Gets a storage provider using the default configuration.
getReferenceId() - Method in interface dev.crafty.core.storage.wrappers.NamedEntity
 
getRegisteredConfigs(Plugin) - Static method in class dev.crafty.core.config.ConfigurationUtils
Get all registered configuration objects for a plugin.
getRequiredPlugins() - Method in class dev.crafty.core.plugin.CraftyPlugin
 
getScheduledActions() - Method in class dev.crafty.core.plugin.CraftyPlugin
 
getSection(String) - Method in class dev.crafty.core.config.SectionWrapper
 
getSerializer() - Method in class dev.crafty.core.config.CachedConfigObject
Returns the serializer used to (de)serialize objects to/from the config.
getSerializer(Class<S>) - Method in interface dev.crafty.core.config.serializer.ConfigSerializer
 
getSerializer(Class<T>) - Static method in class dev.crafty.core.config.serializer.SerializerRegistry
Get a serializer for a specific type.
getStartIndex() - Method in class dev.crafty.core.gui.PaginationState
Get the starting index for the current page in the data collection.
getString(String) - Method in class dev.crafty.core.config.SectionWrapper
 
getStringList(String) - Method in class dev.crafty.core.config.SectionWrapper
 
getSupplier(ItemType) - Static method in class dev.crafty.core.gui.ItemSupplierRegistry
 
getTotalItems() - Method in class dev.crafty.core.gui.PaginationState
Get the total number of items.
getTotalPages() - Method in class dev.crafty.core.gui.PaginationState
Calculate the total number of pages.
getTotalPages(String) - Method in class dev.crafty.core.gui.Menu
Get the total number of pages for a mapped item source.
getTranslationKey() - Method in interface dev.crafty.core.i18n.i18nEnum
 
getType() - Method in class dev.crafty.core.config.serializer.builtin.ItemStackSerializer
 
getType() - Method in class dev.crafty.core.config.serializer.builtin.LocationSerializer
 
getType() - Method in interface dev.crafty.core.config.serializer.ConfigSerializer
Get the type of object this serializer handles.
getType() - Method in class dev.crafty.core.geometry.serializers.Point2dSerializer
 
getType() - Method in class dev.crafty.core.geometry.serializers.Polygon3dSerializer
 
getType() - Method in class dev.crafty.core.items.serializers.ItemActionSerializer
 
getType() - Method in class dev.crafty.core.items.serializers.ItemCraftingRecipeSerializer
 
getVertexCount() - Method in interface dev.crafty.core.geometry.Polygon
 
getVertexCount() - Method in class dev.crafty.core.geometry.polygons.Polygon3d
 
getViewer() - Method in class dev.crafty.core.gui.Menu
 
getYamlConfiguration() - Method in class dev.crafty.core.config.YamlConfigurationWrapper
 
getYamlMapper() - Static method in class dev.crafty.core.storage.serialization.StorageSerializer
Gets the YAML ObjectMapper instance.
getYamlProvider(Class<T>, String) - Method in class dev.crafty.core.storage.ProviderManager
Gets a YAML storage provider for the specified type.
GitHubLatestVersionFetcher - Class in dev.crafty.core.util
 
GitHubLatestVersionFetcher() - Constructor for class dev.crafty.core.util.GitHubLatestVersionFetcher
 
goNextPage() - Method in class dev.crafty.core.gui.PaginationState
Navigate to the next page if available.
goNextPage(String) - Method in class dev.crafty.core.gui.Menu
Navigate to the next page for a mapped item source.
goPreviousPage() - Method in class dev.crafty.core.gui.PaginationState
Navigate to the previous page if available.
goPreviousPage(String) - Method in class dev.crafty.core.gui.Menu
Navigate to the previous page for a mapped item source.
GuiItem - Record Class in dev.crafty.core.gui
Item that has click action for the gui
GuiItem(ItemStack, List<Consumer<InventoryClickEvent>>) - Constructor for record class dev.crafty.core.gui.GuiItem
Creates an instance of a GuiItem record class.
GuiStackManager - Class in dev.crafty.core.gui
Manages a stack of GUI menus for each player, allowing navigation between menus.
GuiStackManager() - Constructor for class dev.crafty.core.gui.GuiStackManager
 

H

handleInventoryClose(Player) - Static method in class dev.crafty.core.gui.GuiStackManager
Handles when a player closes an inventory without using the back button.
hashCode() - Method in record class dev.crafty.core.config.serializer.ConfigSerializer.SerializationArgs
Returns a hash code value for this object.
hashCode() - Method in record class dev.crafty.core.geometry.Point2d
Returns a hash code value for this object.
hashCode() - Method in record class dev.crafty.core.geometry.Point3d
Returns a hash code value for this object.
hashCode() - Method in record class dev.crafty.core.gui.GuiItem
Returns a hash code value for this object.
hashCode() - Method in record class dev.crafty.core.gui.Menu.MappedItemConfig
Returns a hash code value for this object.
hashCode() - Method in record class dev.crafty.core.items.ItemAction
Returns a hash code value for this object.
hashCode() - Method in record class dev.crafty.core.items.ItemActionCondition
Returns a hash code value for this object.
hashCode() - Method in record class dev.crafty.core.items.ItemCraftingRecipe
Returns a hash code value for this object.
hashCode() - Method in record class dev.crafty.core.items.ItemCraftingRecipeItem
Returns a hash code value for this object.
hashCode() - Method in record class dev.crafty.core.number.UnitNumber
Returns a hash code value for this object.
hasNextPage() - Method in class dev.crafty.core.gui.PaginationState
Check if there is a next page available.
hasNextPage(String) - Method in class dev.crafty.core.gui.Menu
Check if there is a next page available for a mapped item source.
hasPreviousPage() - Method in class dev.crafty.core.gui.PaginationState
Check if there is a previous page available.
hasPreviousPage(String) - Method in class dev.crafty.core.gui.Menu
Check if there is a previous page available for a mapped item source.
hasSerializer(Class<?>) - Static method in class dev.crafty.core.config.serializer.SerializerRegistry
Check if a serializer exists for a specific type.
hologramSupport() - Method in class dev.crafty.core.plugin.CraftyPlugin
 
HOUR - Enum constant in enum class dev.crafty.core.number.units.TimeUnit
 

I

i18n - Variable in class dev.crafty.core.plugin.CraftyPlugin
 
i18nEnum - Interface in dev.crafty.core.i18n
To be implemented by enums that hold the translation keys
i18nManager - Class in dev.crafty.core.i18n
Manages the translations for a plugin
i18nManager(CraftyPlugin) - Constructor for class dev.crafty.core.i18n.i18nManager
 
i18nManager.LocalizationQuery - Class in dev.crafty.core.i18n
 
id - Variable in class dev.crafty.core.gui.Menu
 
id() - Method in interface dev.crafty.core.scheduler.ScheduledAction
Returns the unique identifier for this scheduled action.
ifAllPresent(Optional<A>, Optional<B>, BiConsumer<A, B>) - Static method in class dev.crafty.core.util.Optionals
 
ifAllPresent(Optional<A>, Optional<B>, Optional<C>, Optionals.TriConsumer<A, B, C>) - Static method in class dev.crafty.core.util.Optionals
 
ifAllPresent(Optional<A>, Optional<B>, Optional<C>, Optional<D>, Optionals.QuadConsumer<A, B, C, D>) - Static method in class dev.crafty.core.util.Optionals
 
ifNotNull(T, Consumer<T>) - Static method in class dev.crafty.core.util.Nullables
 
ifNotNullOrElse(T, Consumer<T>, Runnable) - Static method in class dev.crafty.core.util.Nullables
 
info(String, Object...) - Method in class dev.crafty.core.bukkit.CraftyLogger
 
ingredients() - Method in record class dev.crafty.core.items.ItemCraftingRecipe
Returns the value of the ingredients record component.
initialize() - Method in class dev.crafty.core.storage.AbstractStorageProvider
Initializes the storage provider.
initialize() - Method in class dev.crafty.core.storage.CachedStorageProvider
Initializes the storage provider.
initialize() - Method in interface dev.crafty.core.storage.PlayerDataProvider
 
initialize() - Method in class dev.crafty.core.storage.providers.MongoDbStorageProvider
Initializes the storage provider.
initialize() - Method in class dev.crafty.core.storage.providers.MySqlStorageProvider
Initializes the storage provider.
initialize() - Method in class dev.crafty.core.storage.providers.PlayerDataProviderImpl
 
initialize() - Method in class dev.crafty.core.storage.providers.PostgresStorageProvider
Initializes the storage provider.
initialize() - Method in class dev.crafty.core.storage.providers.YamlStorageProvider
Initializes the storage provider.
initialize() - Method in interface dev.crafty.core.storage.StorageProvider
Initializes the storage provider.
initialize(Plugin, Runnable) - Static method in class dev.crafty.core.config.ConfigurationUtils
Initialize the configuration system.
Input - Class in dev.crafty.core.util
Utility class for collecting input from players using SignGUI.
Input() - Constructor for class dev.crafty.core.util.Input
 
INSTANCE - Static variable in class dev.crafty.core.CraftyCore
 
isBridgePresent(Class<? extends Bridge>) - Static method in class dev.crafty.core.bridge.BridgeManager
 
isConfigWatcherEnabled() - Method in class dev.crafty.core.plugin.CraftyPlugin
 
isEnabled() - Method in class dev.crafty.core.config.ConfigWatcher
Check if the watcher is enabled.
isInitialized() - Static method in class dev.crafty.core.config.ConfigurationUtils
Check if the configuration system is initialized.
isOptionalTrue(Optional<?>) - Static method in class dev.crafty.core.util.Optionals
 
isResolved() - Method in class dev.crafty.core.storage.wrappers.NamedObjectReference
 
isValidPage(int) - Method in class dev.crafty.core.gui.PaginationState
Check if a page number is valid.
item() - Method in record class dev.crafty.core.gui.GuiItem
Returns the value of the item record component.
Item - Class in dev.crafty.core.items
Abstract base class for custom items in the CraftyCore plugin.
Item(String, CraftyPlugin) - Constructor for class dev.crafty.core.items.Item
Constructs a new custom item.
ITEM_KEY - Static variable in class dev.crafty.core.items.Item
 
ItemAction - Record Class in dev.crafty.core.items
 
ItemAction(String, List<ItemActionCondition>) - Constructor for record class dev.crafty.core.items.ItemAction
Creates an instance of a ItemAction record class.
ItemActionCondition - Record Class in dev.crafty.core.items
 
ItemActionCondition(String, String) - Constructor for record class dev.crafty.core.items.ItemActionCondition
Creates an instance of a ItemActionCondition record class.
ItemActionSerializer - Class in dev.crafty.core.items.serializers
 
ItemActionSerializer() - Constructor for class dev.crafty.core.items.serializers.ItemActionSerializer
 
ItemCraftingRecipe - Record Class in dev.crafty.core.items
 
ItemCraftingRecipe(List<String>, List<ItemCraftingRecipeItem>) - Constructor for record class dev.crafty.core.items.ItemCraftingRecipe
Creates an instance of a ItemCraftingRecipe record class.
ItemCraftingRecipeItem - Record Class in dev.crafty.core.items
 
ItemCraftingRecipeItem(char, Material) - Constructor for record class dev.crafty.core.items.ItemCraftingRecipeItem
Creates an instance of a ItemCraftingRecipeItem record class.
ItemCraftingRecipeSerializer - Class in dev.crafty.core.items.serializers
 
ItemCraftingRecipeSerializer() - Constructor for class dev.crafty.core.items.serializers.ItemCraftingRecipeSerializer
 
items() - Method in record class dev.crafty.core.gui.Menu.MappedItemConfig
Returns the value of the items record component.
Items - Class in dev.crafty.core.util
 
Items() - Constructor for class dev.crafty.core.util.Items
 
ItemStackSerializer - Class in dev.crafty.core.config.serializer.builtin
Serializer for ItemStack objects.
ItemStackSerializer() - Constructor for class dev.crafty.core.config.serializer.builtin.ItemStackSerializer
 
ItemSupplier - Class in dev.crafty.core.gui
 
ItemSupplier(ItemType) - Constructor for class dev.crafty.core.gui.ItemSupplier
 
ItemSupplierRegistry - Class in dev.crafty.core.gui
 
ItemSupplierRegistry() - Constructor for class dev.crafty.core.gui.ItemSupplierRegistry
 
ItemType - Enum Class in dev.crafty.core.gui
Item type of the items for the gui Used in the config that will use the respective supplier to create the item

K

key() - Element in annotation interface dev.crafty.core.config.annotation.ConfigValue
The configuration key path.
key(String) - Method in class dev.crafty.core.player.AntiSpam.Builder
Sets the key used to identify the type of message for cooldown tracking.
keyFromString(String) - Method in class dev.crafty.core.config.CachedConfigObject
Converts a String key from the config to the correct key type.
keyFromStringFunction(Function<String, K>) - Method in class dev.crafty.core.config.CachedConfigObject.Builder
Sets the function to convert string keys to keys of type K.
keyToString(K) - Method in class dev.crafty.core.config.CachedConfigObject
Converts a key of type K to a String for config storage.
keyToStringFunction(Function<K, String>) - Method in class dev.crafty.core.config.CachedConfigObject.Builder
Sets the function to convert keys of type K to string keys.

L

Lang - Class in dev.crafty.core.util
 
Lang() - Constructor for class dev.crafty.core.util.Lang
 
load(Object) - Static method in class dev.crafty.core.config.ConfigurationUtils
Load configuration values into an object.
loadAll() - Method in class dev.crafty.core.config.CachedConfigObject
Loads all values from the config section into the cache, replacing any existing cache entries.
loadConfig(Class<?>) - Method in class dev.crafty.core.config.ConfigurationManager
Load a configuration file for a class.
loadConfig(Class<?>, Plugin) - Method in class dev.crafty.core.config.ConfigurationManager
Load a configuration file for a class using a specific plugin's data folder.
LocationSerializer - Class in dev.crafty.core.config.serializer.builtin
 
LocationSerializer() - Constructor for class dev.crafty.core.config.serializer.builtin.LocationSerializer
 
logger - Variable in class dev.crafty.core.CraftyCore
 
logger - Variable in class dev.crafty.core.plugin.CraftyPlugin
 

M

MAIN - Enum constant in enum class dev.crafty.core.task.api.TargetThread
Represents the main thread as the target execution context for a task.
MAPPED - Enum constant in enum class dev.crafty.core.gui.ItemType
 
MappedItemConfig(Function<T, Map<String, String>>, Function<T, Map<String, String>>, List<T>) - Constructor for record class dev.crafty.core.gui.Menu.MappedItemConfig
Creates an instance of a MappedItemConfig record class.
MappedItemSupplier - Class in dev.crafty.core.gui.suppliers
 
MappedItemSupplier() - Constructor for class dev.crafty.core.gui.suppliers.MappedItemSupplier
 
markSuppressClose(Player) - Static method in class dev.crafty.core.gui.GuiStackManager
 
material() - Method in record class dev.crafty.core.items.ItemCraftingRecipeItem
Returns the value of the material record component.
Menu - Class in dev.crafty.core.gui
 
Menu(String, Player, CraftyPlugin) - Constructor for class dev.crafty.core.gui.Menu
 
MENU_NAMESPACE - Static variable in class dev.crafty.core.gui.Menu
 
Menu.MappedItemConfig<T> - Record Class in dev.crafty.core.gui
 
message(String) - Method in class dev.crafty.core.player.AntiSpam.Builder
Sets the message to be sent.
metadata() - Method in record class dev.crafty.core.gui.Menu.MappedItemConfig
Returns the value of the metadata record component.
MILLISECOND - Enum constant in enum class dev.crafty.core.number.units.TimeUnit
 
minimumCoreVersion() - Method in class dev.crafty.core.plugin.CraftyPlugin
 
MINUTE - Enum constant in enum class dev.crafty.core.number.units.TimeUnit
 
MobBridge - Interface in dev.crafty.core.bridge.mobs
MobBridge defines an interface for bridging mob-related actions, such as spawning and despawning mobs, between different systems.
MONGODB - Enum constant in enum class dev.crafty.core.storage.StorageProviderFactory.StorageType
 
MongoDbStorageProvider<T> - Class in dev.crafty.core.storage.providers
An asynchronous MongoDB storage provider implementation using the Reactive Streams driver.
MongoDbStorageProvider(Class<T>, String, String) - Constructor for class dev.crafty.core.storage.providers.MongoDbStorageProvider
Constructs a new AsyncMongoStorageProvider.
MYSQL - Enum constant in enum class dev.crafty.core.storage.StorageProviderFactory.StorageType
 
MySqlStorageProvider<T> - Class in dev.crafty.core.storage.providers
A storage provider that stores objects in a MySQL database.
MySqlStorageProvider(Class<T>, String, String, String, String) - Constructor for class dev.crafty.core.storage.providers.MySqlStorageProvider
Creates a new MySqlStorageProvider.
MythicMobsBridge - Class in dev.crafty.core.bridge.mobs.mythicmobs
 
MythicMobsBridge() - Constructor for class dev.crafty.core.bridge.mobs.mythicmobs.MythicMobsBridge
 

N

NamedEntity - Interface in dev.crafty.core.storage.wrappers
Interface for objects that can be referenced by name.
NamedObjectReference<T> - Class in dev.crafty.core.storage.wrappers
A reference wrapper that automatically resolves objects using registered resolvers.
NamedObjectReference(String) - Constructor for class dev.crafty.core.storage.wrappers.NamedObjectReference
 
NamedObjectReference(T) - Constructor for class dev.crafty.core.storage.wrappers.NamedObjectReference
 
NamedObjectReferenceDeserializer - Class in dev.crafty.core.storage.wrappers
Custom deserializer for NamedObjectReference that handles both string values and object structures while preserving type information when available.
NamedObjectReferenceDeserializer() - Constructor for class dev.crafty.core.storage.wrappers.NamedObjectReferenceDeserializer
 
navigateBack(Player) - Static method in class dev.crafty.core.gui.GuiStackManager
Navigates back to the previous menu in the stack.
Nullables - Class in dev.crafty.core.util
 
Nullables() - Constructor for class dev.crafty.core.util.Nullables
 

O

of(Number, T) - Static method in record class dev.crafty.core.number.UnitNumber
 
of(T) - Static method in class dev.crafty.core.storage.wrappers.NamedObjectReference
Factory methods for creating references
onConfigReloaded() - Method in class dev.crafty.core.CraftyCore
Called when the configuration is reloaded.
onConfigReloaded() - Method in class dev.crafty.core.plugin.CraftyPlugin
 
onCraftyDisable() - Method in class dev.crafty.core.plugin.CraftyPlugin
 
onCraftyEnable() - Method in class dev.crafty.core.plugin.CraftyPlugin
 
onDisable() - Method in class dev.crafty.core.CraftyCore
 
onDisable() - Method in class dev.crafty.core.plugin.CraftyPlugin
 
onEnable() - Method in class dev.crafty.core.CraftyCore
 
onEnable() - Method in class dev.crafty.core.plugin.CraftyPlugin
 
onInteract(PlayerInteractEvent) - Method in class dev.crafty.core.items.Item
 
onInventoryClick(InventoryClickEvent) - Method in class dev.crafty.core.gui.Menu
 
onInventoryClose(InventoryCloseEvent) - Method in class dev.crafty.core.gui.Menu
 
open() - Method in class dev.crafty.core.gui.Menu
Opens the menu after ensuring all data is prefetched.
open(boolean) - Method in class dev.crafty.core.gui.Menu
Opens the menu after ensuring all data is prefetched.
Optionals - Class in dev.crafty.core.util
 
Optionals() - Constructor for class dev.crafty.core.util.Optionals
 
Optionals.QuadConsumer<A,B,C,D> - Interface in dev.crafty.core.util
 
Optionals.TriConsumer<A,B,C> - Interface in dev.crafty.core.util
 
orElse(String) - Method in class dev.crafty.core.i18n.i18nManager.LocalizationQuery
 
orElse(T, T) - Static method in class dev.crafty.core.util.Nullables
 

P

PAGINATED_MAPPED - Enum constant in enum class dev.crafty.core.gui.ItemType
 
PaginatedMappedItemSupplier - Class in dev.crafty.core.gui.suppliers
Supplies paginated mapped items for GUI menus.
PaginatedMappedItemSupplier() - Constructor for class dev.crafty.core.gui.suppliers.PaginatedMappedItemSupplier
 
PaginationState - Class in dev.crafty.core.gui
Manages pagination state and logic for GUI components.
PaginationState(int, int) - Constructor for class dev.crafty.core.gui.PaginationState
Creates a new pagination state.
parent() - Method in record class dev.crafty.core.config.serializer.ConfigSerializer.SerializationArgs
Returns the value of the parent record component.
path() - Method in record class dev.crafty.core.config.serializer.ConfigSerializer.SerializationArgs
Returns the value of the path record component.
placeholder(String, String) - Method in class dev.crafty.core.i18n.i18nManager.LocalizationQuery
Adds a placeholder to the localization query.
PlaceholderApiBridge - Class in dev.crafty.core.bridge.placeholders.placeholderapi
 
PlaceholderApiBridge() - Constructor for class dev.crafty.core.bridge.placeholders.placeholderapi.PlaceholderApiBridge
 
PlaceholderBridge - Interface in dev.crafty.core.bridge.placeholders
The PlaceholderBridge interface defines the contract for integrating placeholder functionality within the application.
PLATFORM - Enum constant in enum class dev.crafty.core.task.api.TargetThread
Represents a platform-specific thread as the target execution context for a task.
player - Variable in class dev.crafty.core.gui.Menu
 
player(Player) - Method in class dev.crafty.core.i18n.i18nManager.LocalizationQuery
 
PlayerDataBuilder - Class in dev.crafty.core.storage
 
PlayerDataProvider<T> - Interface in dev.crafty.core.storage
 
PlayerDataProviderImpl<T> - Class in dev.crafty.core.storage.providers
 
PlayerDataProviderImpl() - Constructor for class dev.crafty.core.storage.providers.PlayerDataProviderImpl
 
plugin - Variable in class dev.crafty.core.gui.Menu
 
pluginEnabled(String) - Method in interface dev.crafty.core.bridge.Bridge
 
Point2d - Record Class in dev.crafty.core.geometry
A 2D point
Point2d(double, double) - Constructor for record class dev.crafty.core.geometry.Point2d
Creates an instance of a Point2d record class.
Point2dSerializer - Class in dev.crafty.core.geometry.serializers
 
Point2dSerializer() - Constructor for class dev.crafty.core.geometry.serializers.Point2dSerializer
 
Point3d - Record Class in dev.crafty.core.geometry
A 3D point
Point3d(double, double, double) - Constructor for record class dev.crafty.core.geometry.Point3d
Creates an instance of a Point3d record class.
Polygon - Interface in dev.crafty.core.geometry
A polygon
Polygon3d - Class in dev.crafty.core.geometry.polygons
Polygon in 3D space
Polygon3d(List<Point2d>, double, double) - Constructor for class dev.crafty.core.geometry.polygons.Polygon3d
 
Polygon3dSerializer - Class in dev.crafty.core.geometry.serializers
 
Polygon3dSerializer() - Constructor for class dev.crafty.core.geometry.serializers.Polygon3dSerializer
 
populateObject(Object, Plugin) - Method in class dev.crafty.core.config.ConfigurationManager
Populate an object with values from its configuration file using a specific plugin's data folder.
POSTGRES - Enum constant in enum class dev.crafty.core.storage.StorageProviderFactory.StorageType
 
PostgresStorageProvider<T> - Class in dev.crafty.core.storage.providers
A storage provider that stores objects in a PostgreSQL database.
PostgresStorageProvider(Class<T>, String, String, String, String) - Constructor for class dev.crafty.core.storage.providers.PostgresStorageProvider
Creates a new PostgresStorageProvider.
postStartup() - Method in class dev.crafty.core.plugin.CraftyPlugin
 
preEnable() - Method in class dev.crafty.core.plugin.CraftyPlugin
Deprecated.
prefetchData() - Method in class dev.crafty.core.gui.Menu
Override this method to asynchronously fetch data needed for the menu.
ProviderManager - Class in dev.crafty.core.storage
Manages storage provider instances, handling creation, caching, and configuration.

Q

query(i18nEnum) - Method in class dev.crafty.core.i18n.i18nManager
 
quotePlaceholderValues(String, Player) - Static method in class dev.crafty.core.util.Lang
Used in expressions

R

refreshMappedItems() - Method in class dev.crafty.core.gui.Menu
Refresh the mapped items by recreating the inventory.
register(ConfigSerializer<T>) - Static method in class dev.crafty.core.config.serializer.SerializerRegistry
Register a serializer for a specific type.
register(ItemType, ItemSupplier) - Static method in class dev.crafty.core.gui.ItemSupplierRegistry
 
registerAction(String, BiConsumer<PlayerInteractEvent, ItemStack>) - Method in class dev.crafty.core.items.Item
Registers a custom action for this item.
registerAction(String, Consumer<InventoryClickEvent>) - Method in class dev.crafty.core.gui.Menu
 
registerActions() - Method in class dev.crafty.core.items.Item
 
registerAndLoad(Object, Plugin) - Static method in class dev.crafty.core.config.ConfigurationUtils
Register and load configuration values into an object using a specific plugin's data folder.
registerAndLoadConfig(Object) - Method in class dev.crafty.core.plugin.CraftyPlugin
 
registerBridge(Class<T>, T) - Static method in class dev.crafty.core.bridge.BridgeManager
 
registerBuiltInSerializers() - Static method in class dev.crafty.core.config.serializer.SerializerFactory
Register all the built-in serializers.
registerConfig(Plugin, Object) - Method in class dev.crafty.core.CraftyCore
Register a configuration object with CraftyCore.
registerInStack(Player, Menu) - Static method in class dev.crafty.core.gui.GuiStackManager
Registers a menu in the player's stack.
registerItemSupplier(String, Supplier<ItemStack>) - Method in class dev.crafty.core.gui.Menu
 
registerMappedItemConfig(String, Function<T, Map<String, String>>, Function<T, Map<String, String>>, List<T>) - Method in class dev.crafty.core.gui.Menu
 
registerPlaceholder(String, BiFunction<Player, String, String>) - Method in class dev.crafty.core.bridge.placeholders.placeholderapi.PlaceholderApiBridge
 
registerPlaceholder(String, BiFunction<Player, String, String>) - Method in interface dev.crafty.core.bridge.placeholders.PlaceholderBridge
Registers a new placeholder with the given identifier and replacement function.
registerPlaceholder(String, Function<Player, String>) - Method in class dev.crafty.core.gui.Menu
Register a local placeholder for this menu.
registerResolver(Class<T>, Function<String, T>) - Static method in class dev.crafty.core.storage.wrappers.NamedObjectReference
Register a resolver for a specific type.
registerSerializer(ConfigSerializer<T>) - Static method in class dev.crafty.core.config.ConfigurationUtils
Register a custom serializer.
reload() - Method in class dev.crafty.core.i18n.i18nManager
 
reload(Object) - Static method in class dev.crafty.core.config.ConfigurationUtils
Reload configuration values for an object from disk.
reload(Object, Plugin) - Static method in class dev.crafty.core.config.ConfigurationUtils
Reload configuration values for an object from disk using a specific plugin's data folder.
reloadAllConfigs() - Method in class dev.crafty.core.CraftyCore
Reload all registered configuration objects for all plugins.
reloadAllConfigs(String) - Static method in class dev.crafty.core.config.ConfigurationUtils
Reload all registered configuration objects for a plugin by name.
reloadAllConfigs(Plugin) - Static method in class dev.crafty.core.config.ConfigurationUtils
Reload all registered configuration objects for a specific plugin.
reloadAllConfigurations() - Method in class dev.crafty.core.plugin.CraftyPlugin
 
reloadConfig() - Method in class dev.crafty.core.CraftyCore
 
reloadConfig(Class<?>) - Method in class dev.crafty.core.config.ConfigurationManager
Reload a configuration file for a class from disk.
reloadConfigs(String) - Method in class dev.crafty.core.CraftyCore
Reload all registered configuration objects for a plugin.
reloadObject(Object) - Method in class dev.crafty.core.config.ConfigurationManager
Reload an object's configuration from disk and repopulate its fields.
reloadObject(Object, Plugin) - Method in class dev.crafty.core.config.ConfigurationManager
Reload an object's configuration from disk and repopulate its fields using a specific plugin's data folder.
remove(K) - Method in class dev.crafty.core.config.CachedConfigObject
Removes a value from the cache and the config file.
replacements() - Method in record class dev.crafty.core.gui.Menu.MappedItemConfig
Returns the value of the replacements record component.
replacePlaceholders(boolean) - Method in class dev.crafty.core.i18n.i18nManager.LocalizationQuery
 
replacePlaceholders(String) - Method in class dev.crafty.core.bridge.placeholders.placeholderapi.PlaceholderApiBridge
 
replacePlaceholders(String) - Method in interface dev.crafty.core.bridge.placeholders.PlaceholderBridge
Replaces all registered placeholders in the given input string with their corresponding values.
replacePlaceholders(String, Player) - Method in class dev.crafty.core.bridge.placeholders.placeholderapi.PlaceholderApiBridge
 
replacePlaceholders(String, Player) - Method in interface dev.crafty.core.bridge.placeholders.PlaceholderBridge
Replaces all registered placeholders in the given input string with their corresponding values, using the provided Player context for player-specific placeholders.
replacePlaceholders(String, Player) - Static method in class dev.crafty.core.util.Lang
Replaces placeholders in the given message using the PlaceholderAPI context.
replaceText(ItemStack, Map<String, String>) - Static method in class dev.crafty.core.util.Lang
 
required() - Element in annotation interface dev.crafty.core.config.annotation.ConfigValue
Whether the configuration value is required.
resolve() - Method in class dev.crafty.core.storage.wrappers.NamedObjectReference
Resolve using the type that was captured during creation.
resolve(Class<T>) - Method in class dev.crafty.core.storage.wrappers.NamedObjectReference
Resolve the object using the registered resolver for this type.
run() - Method in interface dev.crafty.core.scheduler.ScheduledAction
Executes the scheduled action's logic.
run() - Method in class dev.crafty.core.scheduler.SchedulerService
Executes all scheduled actions whose next execution time has been reached or passed.
run(Runnable, TargetThread) - Method in interface dev.crafty.core.task.api.Task
Executes a given task on a specified target thread.
run(Runnable, TargetThread) - Method in class dev.crafty.core.task.providers.TaskProvider
 
run(Callable<T>, Consumer<T>, TargetThread) - Method in interface dev.crafty.core.task.api.Task
Executes a given task on a specified target thread and returns the result.
run(Callable<T>, Consumer<T>, TargetThread) - Method in class dev.crafty.core.task.providers.TaskProvider
 
run(Callable<T>, Consumer<T>, Runnable, TargetThread) - Method in interface dev.crafty.core.task.api.Task
Executes a given task on a specified target thread and returns the result.
run(Callable<T>, Consumer<T>, Runnable, TargetThread) - Method in class dev.crafty.core.task.providers.TaskProvider
 

S

save() - Method in record class dev.crafty.core.config.serializer.ConfigSerializer.SerializationArgs
Returns the value of the save record component.
save() - Method in class dev.crafty.core.storage.PlayerDataBuilder
 
save(ConfigSerializer.SerializationArgs<T>) - Method in interface dev.crafty.core.config.serializer.ConfigSerializer
 
save(String, T) - Method in interface dev.crafty.core.storage.PlayerDataProvider
 
save(String, T) - Method in class dev.crafty.core.storage.providers.MongoDbStorageProvider
Saves an object to the storage.
save(String, T) - Method in class dev.crafty.core.storage.providers.MySqlStorageProvider
Saves an object to the storage.
save(String, T) - Method in class dev.crafty.core.storage.providers.PlayerDataProviderImpl
 
save(String, T) - Method in class dev.crafty.core.storage.providers.PostgresStorageProvider
Saves an object to the storage.
save(String, T) - Method in class dev.crafty.core.storage.providers.YamlStorageProvider
Saves an object to the storage.
save(K, T) - Method in class dev.crafty.core.storage.CachedStorageProvider
Saves an object to the storage.
save(K, T) - Method in interface dev.crafty.core.storage.StorageProvider
Saves an object to the storage.
saveResource(String, boolean) - Method in class dev.crafty.core.CraftyCore
Save a resource from the plugin's jar file to the plugin's data folder.
scanAndLoadConfigs(Plugin) - Static method in class dev.crafty.core.config.ConfigurationUtils
Scan a plugin for classes with the @ConfigurationFile annotation and automatically register and load them.
scanAndLoadConfigs(Plugin) - Method in class dev.crafty.core.CraftyCore
Scan a plugin for classes with the @ConfigurationFile annotation and automatically register and load them.
scanAndReloadConfigs(Plugin) - Method in class dev.crafty.core.CraftyCore
Scan a plugin for configuration classes and reload all of them.
schedule(ScheduledAction) - Method in class dev.crafty.core.scheduler.SchedulerService
Schedules a new action for execution.
schedule(Runnable, UnitNumber<TimeUnit>, TargetThread) - Method in class dev.crafty.core.task.providers.TaskProvider
 
schedule(Runnable, UnitNumber<TimeUnit>, TargetThread) - Method in interface dev.crafty.core.task.api.Task
Schedules a task for execution on a specified target thread after a specified delay.
schedule(Callable<T>, Consumer<T>, UnitNumber<TimeUnit>, TargetThread) - Method in interface dev.crafty.core.task.api.Task
Schedules a task for execution on a specified target thread after a specified delay and returns the result of the task execution.
schedule(Callable<T>, Consumer<T>, UnitNumber<TimeUnit>, TargetThread) - Method in class dev.crafty.core.task.providers.TaskProvider
 
schedule(Callable<T>, Consumer<T>, Runnable, UnitNumber<TimeUnit>, TargetThread) - Method in interface dev.crafty.core.task.api.Task
Schedules a task for execution on a specified target thread after a specified delay and returns the result of the task execution.
schedule(Callable<T>, Consumer<T>, Runnable, UnitNumber<TimeUnit>, TargetThread) - Method in class dev.crafty.core.task.providers.TaskProvider
 
ScheduledAction - Interface in dev.crafty.core.scheduler
Represents an action that can be scheduled for execution.
SchedulerService - Class in dev.crafty.core.scheduler
Service responsible for scheduling, executing, and managing ScheduledAction instances.
SchedulerService() - Constructor for class dev.crafty.core.scheduler.SchedulerService
Constructs a new SchedulerService and initializes the storage provider.
SECOND - Enum constant in enum class dev.crafty.core.number.units.TimeUnit
 
section() - Method in record class dev.crafty.core.config.serializer.ConfigSerializer.SerializationArgs
Returns the value of the section record component.
SectionWrapper - Class in dev.crafty.core.config
Wrapper for a ConfigurationSection that provides a more convenient interface for accessing configuration
SectionWrapper(ConfigurationSection) - Constructor for class dev.crafty.core.config.SectionWrapper
 
SelfRegisteringListener - Interface in dev.crafty.core.bukkit
Automatically registers itself as a listener
send() - Method in class dev.crafty.core.i18n.i18nManager.LocalizationQuery
 
send() - Method in class dev.crafty.core.player.AntiSpam.Builder
Sends the message to the player if the cooldown has expired for the given key.
send() - Static method in class dev.crafty.core.player.AntiSpam
Creates a new AntiSpam.Builder instance for sending a message with anti-spam protection.
SerializationArgs(T, SectionWrapper, YamlConfigurationWrapper, String, File) - Constructor for record class dev.crafty.core.config.serializer.ConfigSerializer.SerializationArgs
 
SerializationArgs(T, SectionWrapper, YamlConfigurationWrapper, String, File, boolean) - Constructor for record class dev.crafty.core.config.serializer.ConfigSerializer.SerializationArgs
Creates an instance of a SerializationArgs record class.
SerializationArgs(T, YamlConfigurationWrapper, String, File) - Constructor for record class dev.crafty.core.config.serializer.ConfigSerializer.SerializationArgs
 
serialize(ConfigSerializer.SerializationArgs<Point2d>) - Method in class dev.crafty.core.geometry.serializers.Point2dSerializer
Serializes a Point2d object into the given configuration section at the specified path.
serialize(ConfigSerializer.SerializationArgs<Polygon3d>) - Method in class dev.crafty.core.geometry.serializers.Polygon3dSerializer
 
serialize(ConfigSerializer.SerializationArgs<ItemAction>) - Method in class dev.crafty.core.items.serializers.ItemActionSerializer
 
serialize(ConfigSerializer.SerializationArgs<ItemCraftingRecipe>) - Method in class dev.crafty.core.items.serializers.ItemCraftingRecipeSerializer
 
serialize(ConfigSerializer.SerializationArgs<ItemStack>) - Method in class dev.crafty.core.config.serializer.builtin.ItemStackSerializer
 
serialize(ConfigSerializer.SerializationArgs<Location>) - Method in class dev.crafty.core.config.serializer.builtin.LocationSerializer
 
serialize(ConfigSerializer.SerializationArgs<T>) - Method in interface dev.crafty.core.config.serializer.ConfigSerializer
Serialize an object to a configuration section.
serializer(ConfigSerializer<V>) - Method in class dev.crafty.core.config.CachedConfigObject.Builder
Sets the serializer to use.
SerializerFactory - Class in dev.crafty.core.config.serializer
Factory for creating serializers for common types.
SerializerFactory() - Constructor for class dev.crafty.core.config.serializer.SerializerFactory
 
SerializerRegistry - Class in dev.crafty.core.config.serializer
Registry for configuration serializers.
SerializerRegistry() - Constructor for class dev.crafty.core.config.serializer.SerializerRegistry
 
set(String, Object) - Method in class dev.crafty.core.config.SectionWrapper
 
set(K, V) - Method in class dev.crafty.core.config.CachedConfigObject
Sets a value in the cache and saves it to the config file.
setConfigWatcherEnabled(boolean) - Method in class dev.crafty.core.CraftyCore
Enable or disable the automatic configuration watcher.
setConfigWatcherEnabled(boolean) - Method in class dev.crafty.core.plugin.CraftyPlugin
 
setDefaultMongoDbConfig(String, String) - Method in class dev.crafty.core.storage.ProviderManager
Sets the default MongoDB configuration.
setDefaultMySqlConfig(String, String, String, String) - Method in class dev.crafty.core.storage.ProviderManager
Sets the default MySQL configuration.
setDefaultPostgresConfig(String, String, String, String) - Method in class dev.crafty.core.storage.ProviderManager
Sets the default PostgreSQL configuration.
setDefaultYamlConfig(String) - Method in class dev.crafty.core.storage.ProviderManager
Sets the default YAML configuration.
setEnabled(boolean) - Method in class dev.crafty.core.config.ConfigWatcher
Set whether the watcher is enabled.
setItemGlow(ItemStack) - Static method in class dev.crafty.core.util.Items
 
setPage(int) - Method in class dev.crafty.core.gui.PaginationState
Jump directly to a specific page.
setPage(String, int) - Method in class dev.crafty.core.gui.Menu
Jump to a specific page for a mapped item source.
setup() - Method in class dev.crafty.core.gui.Menu
 
shape() - Method in record class dev.crafty.core.items.ItemCraftingRecipe
Returns the value of the shape record component.
size() - Static method in class dev.crafty.core.config.serializer.SerializerRegistry
Get the number of registered serializers.
spawnMob(String, Point3d, String) - Method in interface dev.crafty.core.bridge.mobs.MobBridge
Spawns a mob with the given name at the specified Point3d location, using a default level of 1.
spawnMob(String, Point3d, String, int) - Method in interface dev.crafty.core.bridge.mobs.MobBridge
Spawns a mob with the given name at the specified Point3d location.
spawnMob(String, Point3d, String, int) - Method in class dev.crafty.core.bridge.mobs.mythicmobs.MythicMobsBridge
 
spawnMob(String, Location) - Method in interface dev.crafty.core.bridge.mobs.MobBridge
Spawns a mob with the given name at the specified Bukkit Location.
start() - Method in class dev.crafty.core.config.ConfigWatcher
Start watching the configuration file for changes.
STATIC - Enum constant in enum class dev.crafty.core.gui.ItemType
 
StaticItemSupplier - Class in dev.crafty.core.gui.suppliers
 
StaticItemSupplier() - Constructor for class dev.crafty.core.gui.suppliers.StaticItemSupplier
 
stop() - Method in class dev.crafty.core.config.ConfigWatcher
Stop watching the configuration file for changes.
StorageConfig() - Constructor for class dev.crafty.core.storage.StorageProviderFactory.StorageConfig
 
StorageProvider<T,K> - Interface in dev.crafty.core.storage
Base interface for all storage providers.
StorageProviderFactory - Class in dev.crafty.core.storage
Factory for creating storage providers.
StorageProviderFactory() - Constructor for class dev.crafty.core.storage.StorageProviderFactory
 
StorageProviderFactory.StorageConfig - Class in dev.crafty.core.storage
Configuration for storage providers.
StorageProviderFactory.StorageType - Enum Class in dev.crafty.core.storage
Enum representing the available storage types.
StorageSerializer - Class in dev.crafty.core.storage.serialization
Utility class for serializing and deserializing objects using Jackson.
StorageSerializer() - Constructor for class dev.crafty.core.storage.serialization.StorageSerializer
 
store(String, T, Class<T>) - Method in class dev.crafty.core.storage.PlayerDataBuilder
 
storeBoolean(String, boolean) - Method in class dev.crafty.core.storage.PlayerDataBuilder
 
storeDouble(String, double) - Method in class dev.crafty.core.storage.PlayerDataBuilder
 
storeFloat(String, float) - Method in class dev.crafty.core.storage.PlayerDataBuilder
 
storeInt(String, int) - Method in class dev.crafty.core.storage.PlayerDataBuilder
 
storeLong(String, long) - Method in class dev.crafty.core.storage.PlayerDataBuilder
 
storePrefetchedData(String, T) - Method in class dev.crafty.core.gui.Menu
Store prefetched data with a key for later use in setup().
storeString(String, String) - Method in class dev.crafty.core.storage.PlayerDataBuilder
 

T

TargetThread - Enum Class in dev.crafty.core.task.api
An enumeration representing the target execution thread for asynchronous tasks.
task - Variable in class dev.crafty.core.plugin.CraftyPlugin
 
Task - Interface in dev.crafty.core.task.api
Provides asynchronous task execution and scheduling functionality.
TaskProvider - Class in dev.crafty.core.task.providers
 
TaskProvider() - Constructor for class dev.crafty.core.task.providers.TaskProvider
 
TICK - Enum constant in enum class dev.crafty.core.number.units.TimeUnit
 
TimeUnit - Enum Class in dev.crafty.core.number.units
Time units
to(Player) - Method in class dev.crafty.core.player.AntiSpam.Builder
Sets the target player to send the message to.
toArray(GuiItem...) - Method in class dev.crafty.core.gui.ItemSupplier
 
toArray(GuiItem, int) - Method in class dev.crafty.core.gui.ItemSupplier
 
toJson(Object) - Static method in class dev.crafty.core.storage.serialization.StorageSerializer
Converts an object to a JSON string.
toKey(UUID, String) - Method in interface dev.crafty.core.storage.PlayerDataProvider
 
toMap(Object) - Static method in class dev.crafty.core.storage.serialization.StorageSerializer
Converts an object to a Map.
toString() - Method in record class dev.crafty.core.config.serializer.ConfigSerializer.SerializationArgs
Returns a string representation of this record class.
toString() - Method in record class dev.crafty.core.geometry.Point2d
Returns a string representation of this record class.
toString() - Method in record class dev.crafty.core.geometry.Point3d
Returns a string representation of this record class.
toString() - Method in record class dev.crafty.core.gui.GuiItem
Returns a string representation of this record class.
toString() - Method in record class dev.crafty.core.gui.Menu.MappedItemConfig
Returns a string representation of this record class.
toString() - Method in class dev.crafty.core.gui.PaginationState
 
toString() - Method in record class dev.crafty.core.items.ItemAction
Returns a string representation of this record class.
toString() - Method in record class dev.crafty.core.items.ItemActionCondition
Returns a string representation of this record class.
toString() - Method in record class dev.crafty.core.items.ItemCraftingRecipe
Returns a string representation of this record class.
toString() - Method in record class dev.crafty.core.items.ItemCraftingRecipeItem
Returns a string representation of this record class.
toString() - Method in record class dev.crafty.core.number.UnitNumber
Returns a string representation of this record class.
toString() - Method in class dev.crafty.core.storage.wrappers.NamedObjectReference
 
toString(Component) - Static method in class dev.crafty.core.util.Components
 
toStringList(List<Component>) - Static method in class dev.crafty.core.util.Components
 
toYaml(Object) - Static method in class dev.crafty.core.storage.serialization.StorageSerializer
Converts an object to a YAML string.
trace(String, Object...) - Method in class dev.crafty.core.bukkit.CraftyLogger
 

U

unit() - Method in record class dev.crafty.core.number.UnitNumber
Returns the value of the unit record component.
UnitEnum<T> - Interface in dev.crafty.core.number
Interface for enums that represent a unit
UnitNumber<T> - Record Class in dev.crafty.core.number
Represents a number with a specific unit.
UnitNumber(Number, T) - Constructor for record class dev.crafty.core.number.UnitNumber
Creates a new UnitNumber with the specified value and unit.
unregister(Class<?>) - Static method in class dev.crafty.core.config.serializer.SerializerRegistry
Remove a serializer for a specific type.
unregisterConfigs(Plugin) - Method in class dev.crafty.core.CraftyCore
Unregister all configuration objects for a plugin.
unwrapSquareBrackets(Component) - Static method in class dev.crafty.core.util.Components
 

V

value() - Method in record class dev.crafty.core.config.serializer.ConfigSerializer.SerializationArgs
Returns the value of the value record component.
value() - Method in record class dev.crafty.core.number.UnitNumber
Returns the value of the value record component.
valueOf(String) - Static method in enum class dev.crafty.core.gui.ItemType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.crafty.core.number.units.TimeUnit
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.crafty.core.storage.StorageProviderFactory.StorageType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.crafty.core.task.api.TargetThread
Returns the enum constant of this class with the specified name.
values() - Static method in enum class dev.crafty.core.gui.ItemType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.crafty.core.number.units.TimeUnit
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.crafty.core.storage.StorageProviderFactory.StorageType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.crafty.core.task.api.TargetThread
Returns an array containing the constants of this enum class, in the order they are declared.
valueType - Variable in class dev.crafty.core.storage.AbstractStorageProvider
 
VaultEconomyBridge - Class in dev.crafty.core.bridge.economy.vault
 
VaultEconomyBridge() - Constructor for class dev.crafty.core.bridge.economy.vault.VaultEconomyBridge
 
VIRTUAL - Enum constant in enum class dev.crafty.core.task.api.TargetThread
Represents a virtual thread as the target execution context for a task.

W

warn(String, Object...) - Method in class dev.crafty.core.bukkit.CraftyLogger
 
withdraw(UUID, double) - Method in interface dev.crafty.core.bridge.economy.EconomyBridge
Withdraws a specified amount from the player's balance.
withdraw(UUID, double) - Method in class dev.crafty.core.bridge.economy.vault.VaultEconomyBridge
 
withValue(String, Consumer<T>, Class<T>) - Method in class dev.crafty.core.storage.PlayerDataBuilder
 

X

x() - Method in record class dev.crafty.core.geometry.Point2d
Returns the value of the x record component.
x() - Method in record class dev.crafty.core.geometry.Point3d
Returns the value of the x record component.

Y

y() - Method in record class dev.crafty.core.geometry.Point3d
Returns the value of the y record component.
YAML - Enum constant in enum class dev.crafty.core.storage.StorageProviderFactory.StorageType
 
YamlConfigurationWrapper - Class in dev.crafty.core.config
 
YamlConfigurationWrapper(YamlConfiguration) - Constructor for class dev.crafty.core.config.YamlConfigurationWrapper
 
YamlStorageProvider<T> - Class in dev.crafty.core.storage.providers
A storage provider that stores objects in YAML files.
YamlStorageProvider(Class<T>, Path) - Constructor for class dev.crafty.core.storage.providers.YamlStorageProvider
Creates a new YamlStorageProvider.
YamlStorageProvider(Class<T>, Path, String) - Constructor for class dev.crafty.core.storage.providers.YamlStorageProvider
Creates a new YamlStorageProvider with a custom file extension.

Z

z() - Method in record class dev.crafty.core.geometry.Point2d
Returns the value of the z record component.
z() - Method in record class dev.crafty.core.geometry.Point3d
Returns the value of the z record component.
A B C D E F G H I K L M N O P Q R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values