Index

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

A

Add() - Method in class valorless.valorlessutils.crafting.CraftRecipe
Adds this recipe to the server.
addArgumentsToMap(Map<String, Object>, Object...) - Static method in class valorless.valorlessutils.json.StringUtils
 
addClassTag(Class<? extends Object>, Tag) - Method in class valorless.valorlessutils.json.CompactYamlRepresenter
 
AddCommand(String, String...) - Method in class valorless.valorlessutils.ValorlessUtils
Registers a command and optional aliases to this plugin.
addCustomChart(Metrics.CustomChart) - Method in class valorless.valorlessutils.Metrics
Adds a custom chart.
addCustomChart(Metrics.CustomChart) - Method in class valorless.valorlessutils.Metrics.MetricsBase
 
AddValidationEntry(String, Object) - Method in class valorless.valorlessutils.config.Config
Adds a key-value pair to the validation list.
AddValidationEntry(String, Vector2<T>) - Method in class valorless.valorlessutils.config.Config
Adds a Vector2 entry to the validation list.
AddValidationEntry(String, Vector3<T>) - Method in class valorless.valorlessutils.config.Config
Adds a Vector3 entry to the validation list.
AdvancedBarChart(String, Callable<Map<String, int[]>>) - Constructor for class valorless.valorlessutils.Metrics.AdvancedBarChart
Class constructor.
AdvancedPie(String, Callable<Map<String, Integer>>) - Constructor for class valorless.valorlessutils.Metrics.AdvancedPie
Class constructor.
amount - Variable in class valorless.valorlessutils.crafting.Ingredient
Amount needed when using Shapeless recipes
appendArgument() - Method in class valorless.valorlessutils.json.StringUtils.ArgumentsReplacer
 
appendField(String, int) - Method in class valorless.valorlessutils.Metrics.JsonObjectBuilder
Appends an integer field to the JSON.
appendField(String, int[]) - Method in class valorless.valorlessutils.Metrics.JsonObjectBuilder
Appends an integer array to the JSON.
appendField(String, String) - Method in class valorless.valorlessutils.Metrics.JsonObjectBuilder
Appends a string field to the JSON.
appendField(String, String[]) - Method in class valorless.valorlessutils.Metrics.JsonObjectBuilder
Appends a string array to the JSON.
appendField(String, Metrics.JsonObjectBuilder.JsonObject) - Method in class valorless.valorlessutils.Metrics.JsonObjectBuilder
Appends an object to the JSON.
appendField(String, Metrics.JsonObjectBuilder.JsonObject[]) - Method in class valorless.valorlessutils.Metrics.JsonObjectBuilder
Appends an object array to the JSON.
appendNull(String) - Method in class valorless.valorlessutils.Metrics.JsonObjectBuilder
Appends a null field to the JSON.
appendPrefix() - Method in class valorless.valorlessutils.json.StringUtils.ArgumentsReplacer
 
appendSuffix() - Method in class valorless.valorlessutils.json.StringUtils.ArgumentsReplacer
 
argument - Variable in class valorless.valorlessutils.json.StringUtils.ArgumentsReplacer
 
ArgumentsReplacer() - Constructor for class valorless.valorlessutils.json.StringUtils.ArgumentsReplacer
 
assertNonNull(T) - Static method in class valorless.valorlessutils.json.Unsafe
Performs an unchecked cast to the non-null variant of the specified type.

B

blockWithBase64(Block, String) - Static method in class valorless.valorlessutils.skulls.SkullCreator
Sets the block to a skull with the skin for the base64 string.
blockWithName(Block, String) - Static method in class valorless.valorlessutils.skulls.SkullCreator
Deprecated.
names don't make for good identifiers.
blockWithUrl(Block, String) - Static method in class valorless.valorlessutils.skulls.SkullCreator
Sets the block to a skull with the skin found at the provided mojang URL.
blockWithUuid(Block, UUID) - Static method in class valorless.valorlessutils.skulls.SkullCreator
Sets the block to a skull with the given UUID.
Bool() - Constructor for class valorless.valorlessutils.utils.Utils.Bool
 
bread() - Static method in class valorless.valorlessutils.ValorlessUtils
Gives all online players a custom enchanted "bread" item.
build() - Method in class valorless.valorlessutils.Metrics.JsonObjectBuilder
Builds the JSON string and invalidates this builder.
BukkitAwareObjectTypeAdapter - Class in valorless.valorlessutils.json
A Gson TypeAdapter that deserializes any kind of Json primitive (Objects/Maps, Lists, Strings, numbers, etc.), but additionally also deserializes any contained ConfigurationSerializables.
BukkitAwareObjectTypeAdapter(Gson) - Constructor for class valorless.valorlessutils.json.BukkitAwareObjectTypeAdapter
 
BYTE - Enum constant in enum class valorless.valorlessutils.tags.TagType
 
BYTE_ARRAY - Enum constant in enum class valorless.valorlessutils.tags.TagType
 

C

capitalizeAll(String) - Static method in class valorless.valorlessutils.json.StringUtils
 
cast(Object) - Static method in class valorless.valorlessutils.json.Unsafe
Performs an unchecked cast to the specified target type.
castNonNull(Object) - Static method in class valorless.valorlessutils.json.Unsafe
Performs an unchecked cast to the specified non-null target type.
Chance(double) - Static method in class valorless.valorlessutils.utils.Utils
Determines if an event occurs based on a given percentage chance.
Clamp(T, T, T) - Static method in class valorless.valorlessutils.utils.Utils
Clamps a value between a minimum and maximum value.
Clamp01(double) - Static method in class valorless.valorlessutils.utils.Utils
Clamps a double value between 0 and 1.
Clamp01(float) - Static method in class valorless.valorlessutils.utils.Utils
Clamps a float value between 0 and 1.
Clamp01(long) - Static method in class valorless.valorlessutils.utils.Utils
Clamps a long value between 0 and 1.
Clamp01(Integer) - Static method in class valorless.valorlessutils.utils.Utils
Clamps an Integer value between 0 and 1.
classTags - Variable in class valorless.valorlessutils.json.CompactYamlRepresenter
 
cleanUp() - Method in class valorless.valorlessutils.json.StringUtils.ArgumentsReplacer
 
clearConfigSection(ConfigurationSection) - Static method in class valorless.valorlessutils.json.ConfigUtils
 
combinedWith(MessageArguments) - Method in interface valorless.valorlessutils.json.MessageArguments
Creates a MessageArguments that combines this and the given other MessageArguments.
CompactYamlRepresenter - Class in valorless.valorlessutils.json
There are situations in which SnakeYaml uses the literal block style by default and thereby produces output with line breaks.
CompactYamlRepresenter() - Constructor for class valorless.valorlessutils.json.CompactYamlRepresenter
 
config - Static variable in class valorless.valorlessutils.ValorlessUtils
Plugin configuration handler.
Config - Class in valorless.valorlessutils.config
Handles plugin configuration files.
Config(JavaPlugin, String) - Constructor for class valorless.valorlessutils.config.Config
Constructs a new Config object.
Config.ValidationListEntry - Class in valorless.valorlessutils.config
Represents a key-value entry for configuration validation.
ConfigUtils - Class in valorless.valorlessutils.json
 
contains(String, int) - Static method in class valorless.valorlessutils.json.StringUtils
Checks if the given String contains the specified character.
contains(String) - Method in class valorless.valorlessutils.file.YamlFile
Checks if the YamlConfiguration contains a value at the specified path.
containsNewline(String) - Static method in class valorless.valorlessutils.json.StringUtils
 
containsWhitespace(String) - Static method in class valorless.valorlessutils.json.StringUtils
Checks if the given String contains whitespace characters.
convertSectionsToMaps(Map<? extends String, Object>) - Static method in class valorless.valorlessutils.json.ConfigUtils
 
convertSectionsToMaps(ConfigurationSection) - Static method in class valorless.valorlessutils.json.ConfigUtils
 
convertSubSectionsToMaps(ConfigurationSection) - Static method in class valorless.valorlessutils.json.ConfigUtils
 
CraftRecipe - Class in valorless.valorlessutils.crafting
Represents a custom crafting recipe in Minecraft.
CraftRecipe(JavaPlugin, String, CraftRecipe.RecipeType, List<Ingredient>, ItemStack, List<String>...) - Constructor for class valorless.valorlessutils.crafting.CraftRecipe
Constructs a new CraftRecipe.
CraftRecipe.RecipeType - Enum Class in valorless.valorlessutils.crafting
Enum representing the type of crafting recipe.
create(Gson) - Static method in class valorless.valorlessutils.json.BukkitAwareObjectTypeAdapter
Creates a BukkitAwareObjectTypeAdapter for the given Gson instance.
create(Gson) - Static method in class valorless.valorlessutils.json.YamlLikeObjectTypeAdapter
 
CreateBar(double, double, int) - Static method in class valorless.valorlessutils.text.TextFeatures
Creates a progress bar with specified parameters.
CreateBar(double, double, int, String, String, char, char) - Static method in class valorless.valorlessutils.text.TextFeatures
Creates a progress bar with specified parameters and customizable styles and colors.
createFile() - Method in class valorless.valorlessutils.file.FileStorage
Creates a new file.
createSkull() - Static method in class valorless.valorlessutils.skulls.SkullCreator
Creates a player skull, should work in both legacy and new Bukkit APIs.
CustomChart(String) - Constructor for class valorless.valorlessutils.Metrics.CustomChart
 

D

Debug - Class in valorless.valorlessutils
Utility class for debugging purposes.
Debug() - Constructor for class valorless.valorlessutils.Debug
 
Debug(JavaPlugin, String) - Static method in class valorless.valorlessutils.ValorlessUtils.Log
Logs a debug message if debug mode is enabled.
decode(String, int) - Static method in class valorless.valorlessutils.encoding.Encoder
Decodes an encoded message using the Caesar Cipher algorithm with a specified shift.
DEFAULT_KEY_PREFIX_CHAR - Static variable in class valorless.valorlessutils.json.StringUtils.ArgumentsReplacer
 
DEFAULT_KEY_SUFFIX_CHAR - Static variable in class valorless.valorlessutils.json.StringUtils.ArgumentsReplacer
 
defaultValue - Variable in class valorless.valorlessutils.config.Config.ValidationListEntry
 
deleteFile() - Method in class valorless.valorlessutils.file.FileStorage
Deletes the file associated with this instance.
deserialize(Map<? extends String, ?>) - Static method in class valorless.valorlessutils.json.ConfigUtils
 
DOUBLE - Enum constant in enum class valorless.valorlessutils.tags.TagType
 
DownloadLanguage(String) - Method in class valorless.valorlessutils.translate.Translator
Downloads a language file from GitHub and saves it to the plugin's data folder.
DrilldownPie(String, Callable<Map<String, Map<String, Integer>>>) - Constructor for class valorless.valorlessutils.Metrics.DrilldownPie
Class constructor.

E

encode(String, int) - Static method in class valorless.valorlessutils.encoding.Encoder
Encodes a message using the Caesar Cipher algorithm with a specified shift.
Encoder - Class in valorless.valorlessutils.encoding
Utility class providing simple Caesar Cipher encoding and decoding methods.
Encoder() - Constructor for class valorless.valorlessutils.encoding.Encoder
 
Equals(Vector2<T>) - Method in class valorless.valorlessutils.types.Vector2
Checks if the current Vector2 instance is equal to another Vector3 instance.
Equals(Vector3<T>) - Method in class valorless.valorlessutils.types.Vector3
Checks if the current Vector3 instance is equal to another Vector3 instance.
error(String) - Static method in class valorless.valorlessutils.json.Validate
 
error(String) - Static method in class valorless.valorlessutils.json.Validate.State
 
error(Supplier<String>) - Static method in class valorless.valorlessutils.json.Validate
 
error(Supplier<String>) - Static method in class valorless.valorlessutils.json.Validate.State
 
Error(JavaPlugin, String) - Static method in class valorless.valorlessutils.ValorlessUtils.Log
Logs an error message.
escapeNewlinesAndBackslash(String) - Static method in class valorless.valorlessutils.json.StringUtils
 

F

FACTORY - Static variable in class valorless.valorlessutils.json.BukkitAwareObjectTypeAdapter
 
FACTORY - Static variable in class valorless.valorlessutils.json.YamlLikeObjectTypeAdapter
 
FEBRUARY_2015 - Static variable in class valorless.valorlessutils.uuid.UUIDFetcher
Date when name changes were introduced
fileExists() - Method in class valorless.valorlessutils.file.FileStorage
Checks if the file associated with this instance exists.
FileExists(String) - Method in class valorless.valorlessutils.translate.Translator
Checks if the specified language file exists in the plugin's data folder.
FileStorage - Class in valorless.valorlessutils.file
 
FileStorage(File) - Constructor for class valorless.valorlessutils.file.FileStorage
Constructor for FileStorage class.
FLOAT - Enum constant in enum class valorless.valorlessutils.tags.TagType
 
fromConfigYaml(String, String) - Static method in class valorless.valorlessutils.json.ConfigUtils
 
fromJson(String) - Static method in class valorless.valorlessutils.json.JsonUtils
Deserializes a JSON string into an object using Bukkit-aware handling.
fromJson(Gson, String) - Static method in class valorless.valorlessutils.json.BukkitAwareObjectTypeAdapter
Shortcut to conveniently parse an object of unknown type from the given Json String using the BukkitAwareObjectTypeAdapter from the given Gson instance.
fromPlainJson(String) - Static method in class valorless.valorlessutils.json.JsonUtils
Deserializes a JSON string into a plain Java object.
fromString(String) - Static method in class valorless.valorlessutils.uuid.UUIDTypeAdapter
 
fromUUID(UUID) - Static method in class valorless.valorlessutils.uuid.UUIDTypeAdapter
 
FromValue(Integer) - Static method in class valorless.valorlessutils.utils.Utils.Bool
Converts an Integer value to a Boolean.
fromYaml(String) - Static method in class valorless.valorlessutils.json.YamlUtils
 

G

get(String) - Method in class valorless.valorlessutils.file.YamlFile
Gets a value from the YamlConfiguration.
get(String) - Method in interface valorless.valorlessutils.json.MessageArguments
Gets the message argument for the specified key.
get(String, Class<T>) - Method in class valorless.valorlessutils.file.YamlFile
Gets a typed value from the YamlConfiguration.
Get(String) - Method in class valorless.valorlessutils.config.Config
Retrieves a generic object from the config.
Get(JavaPlugin, ItemStack, String, TagType) - Static method in class valorless.valorlessutils.tags.Tags
Gets a value from the PersistentDataContainer using a specific key.
Get(JavaPlugin, PersistentDataContainer, String, PersistentDataType) - Static method in class valorless.valorlessutils.ValorlessUtils.Tags
Deprecated.
 
Get(JavaPlugin, PersistentDataContainer, String, TagType) - Static method in class valorless.valorlessutils.tags.Tags
Gets a value from the PersistentDataContainer using a specific key.
GetBool(String) - Method in class valorless.valorlessutils.config.Config
Retrieves a boolean from the config.
GetBool(ItemStack, String) - Static method in class valorless.valorlessutils.nbt.NBT
Retrieves a boolean value from the NBT data of an ItemStack.
GetBoolean(JavaPlugin, ItemStack, String) - Static method in class valorless.valorlessutils.tags.Tags
Gets a Boolean value from the PersistentDataContainer using a specific key.
getChartData() - Method in class valorless.valorlessutils.Metrics.AdvancedBarChart
 
getChartData() - Method in class valorless.valorlessutils.Metrics.AdvancedPie
 
getChartData() - Method in class valorless.valorlessutils.Metrics.CustomChart
 
getChartData() - Method in class valorless.valorlessutils.Metrics.DrilldownPie
 
getChartData() - Method in class valorless.valorlessutils.Metrics.MultiLineChart
 
getChartData() - Method in class valorless.valorlessutils.Metrics.SimpleBarChart
 
getChartData() - Method in class valorless.valorlessutils.Metrics.SimplePie
 
getChartData() - Method in class valorless.valorlessutils.Metrics.SingleLineChart
 
getConfig() - Method in class valorless.valorlessutils.file.YamlFile
Gets the underlying YamlConfiguration.
GetConfigurationSection(String) - Method in class valorless.valorlessutils.config.Config
Retrieves a ConfigurationSection from the config.
GetCustomName(ItemStack) - Static method in class valorless.valorlessutils.items.ItemUtils
Gets the custom display name.
GetDouble(String) - Method in class valorless.valorlessutils.config.Config
Retrieves a double from the config.
GetDouble(ItemStack, String) - Static method in class valorless.valorlessutils.nbt.NBT
Retrieves a double value from the NBT data of an ItemStack.
GetDouble(JavaPlugin, ItemStack, String) - Static method in class valorless.valorlessutils.tags.Tags
Gets a Double value from the PersistentDataContainer using a specific key.
GetDoubleList(String) - Method in class valorless.valorlessutils.config.Config
Retrieves a list of doubles from the config.
GetDoubleList(JavaPlugin, ItemStack, String) - Static method in class valorless.valorlessutils.tags.Tags
Gets a Double List value from the PersistentDataContainer using a specific key.
getFile() - Method in class valorless.valorlessutils.file.FileStorage
Gets the File object associated with this instance.
GetFile() - Method in class valorless.valorlessutils.config.Config
Returns the underlying YamlFile instance.
GetFloat(String) - Method in class valorless.valorlessutils.config.Config
Deprecated.
This method is outdated and will be removed in future versions.
GetFloat(ItemStack, String) - Static method in class valorless.valorlessutils.nbt.NBT
Retrieves a float value from the NBT data of an ItemStack.
GetFloat(JavaPlugin, ItemStack, String) - Static method in class valorless.valorlessutils.tags.Tags
Gets a Float value from the PersistentDataContainer using a specific key.
GetFloatList(JavaPlugin, ItemStack, String) - Static method in class valorless.valorlessutils.tags.Tags
Gets a Float List value from the PersistentDataContainer using a specific key.
GetIngredients() - Method in class valorless.valorlessutils.crafting.CraftRecipe
Gets the ingredients of the recipe.
GetInstance() - Static method in class valorless.valorlessutils.ValorlessUtils
Returns the instance of the ValorlessUtils plugin.
GetInt(String) - Method in class valorless.valorlessutils.config.Config
Retrieves an integer from the config.
GetInt(ItemStack, String) - Static method in class valorless.valorlessutils.nbt.NBT
Retrieves an integer value from the NBT data of an ItemStack.
GetIntArray(ItemStack, String) - Static method in class valorless.valorlessutils.nbt.NBT
Retrieves an integer array from the NBT data of an ItemStack.
GetInteger(JavaPlugin, ItemStack, String) - Static method in class valorless.valorlessutils.tags.Tags
Gets an Integer value from the PersistentDataContainer using a specific key.
GetIntegerList(JavaPlugin, ItemStack, String) - Static method in class valorless.valorlessutils.tags.Tags
Gets a Integer List value from the PersistentDataContainer using a specific key.
GetIntList(String) - Method in class valorless.valorlessutils.config.Config
Retrieves a list of integers from the config.
GetItemModel(ItemStack) - Static method in class valorless.valorlessutils.items.ItemUtils
Gets the namespaced key of the item's model.
GetItemName(ItemStack) - Static method in class valorless.valorlessutils.items.ItemUtils
Gets the internal item name.
GetItemStack(String) - Method in class valorless.valorlessutils.config.Config
Retrieves an ItemStack from the config.
GetLanguageFileContent(String) - Method in class valorless.valorlessutils.translate.Translator
Reads the content of a language file.
GetLanguageKey() - Method in class valorless.valorlessutils.translate.Translator
Gets the current language key.
GetList(String) - Method in class valorless.valorlessutils.config.Config
Retrieves a generic list from the config.
GetMaterial(String) - Method in class valorless.valorlessutils.config.Config
Retrieves a Material from the config.
GetMaxStackSize(ItemStack) - Static method in class valorless.valorlessutils.items.ItemUtils
Gets the maximum stack size defined on the item.
getName(UUID) - Static method in class valorless.valorlessutils.uuid.UUIDFetcher
Fetches the name synchronously and returns it
getName(UUID, Consumer<String>) - Static method in class valorless.valorlessutils.uuid.UUIDFetcher
Fetches the name asynchronously and passes it to the consumer
getNotEmpty(String) - Static method in class valorless.valorlessutils.json.StringUtils
Makes sure that the given String is not empty.
getOrDefault(String, T) - Method in class valorless.valorlessutils.file.YamlFile
Gets a value from the YamlConfiguration or a default value if the path does not exist.
getOrEmpty(String) - Static method in class valorless.valorlessutils.json.StringUtils
Makes sure that the given String is not null.
GetPermission() - Method in class valorless.valorlessutils.crafting.CraftRecipe
Gets the permission required to craft this recipe.
GetPersistentDataType(TagType) - Static method in enum class valorless.valorlessutils.tags.TagType
 
GetRarity(ItemStack) - Static method in class valorless.valorlessutils.items.ItemUtils
Gets the rarity of the item as a string.
getRequestJsonObject(BiConsumer<String, Throwable>, boolean) - Method in class valorless.valorlessutils.Metrics.CustomChart
 
GetResult() - Method in class valorless.valorlessutils.crafting.CraftRecipe
Gets the result of the recipe.
getSection(String) - Method in class valorless.valorlessutils.file.YamlFile
Gets a ConfigurationSection from the YamlConfiguration.
getServerVersion() - Static method in class valorless.valorlessutils.ValorlessUtils
Returns the resolved server version.
getServerVersionString() - Static method in class valorless.valorlessutils.ValorlessUtils
Returns the resolved server version as a string without the "v" prefix.
GetShape() - Method in class valorless.valorlessutils.crafting.CraftRecipe
Gets the shape of the recipe.
GetSound(String) - Static method in class valorless.valorlessutils.sound.SFX
 
GetString(String) - Method in class valorless.valorlessutils.config.Config
Retrieves a String from the config.
GetString(ItemStack, String) - Static method in class valorless.valorlessutils.nbt.NBT
Retrieves a string value from the NBT data of an ItemStack.
GetString(JavaPlugin, ItemStack, String) - Static method in class valorless.valorlessutils.tags.Tags
Gets a String value from the PersistentDataContainer using a specific key.
GetStringList(String) - Method in class valorless.valorlessutils.config.Config
Retrieves a list of strings from the config.
GetStringList(ItemStack, String) - Static method in class valorless.valorlessutils.nbt.NBT
Retrieves a List value from the NBT data of an ItemStack.
GetStringList(JavaPlugin, ItemStack, String) - Static method in class valorless.valorlessutils.tags.Tags
Gets a String List value from the PersistentDataContainer using a specific key.
getTag(Class<?>, Tag) - Method in class valorless.valorlessutils.json.CompactYamlRepresenter
 
getTimeZone() - Method in class valorless.valorlessutils.json.CompactYamlRepresenter
 
GetType() - Method in class valorless.valorlessutils.crafting.CraftRecipe
Gets the recipe type.
getUUID(String) - Static method in class valorless.valorlessutils.uuid.UUIDFetcher
Fetches the uuid synchronously and returns it
getUUID(String, Consumer<UUID>) - Static method in class valorless.valorlessutils.uuid.UUIDFetcher
Fetches the uuid asynchronously and passes it to the consumer
GetUUID(ItemStack, String) - Static method in class valorless.valorlessutils.nbt.NBT
Retrieves a UUID value from the NBT data of an ItemStack.
getUUIDAt(String, long) - Static method in class valorless.valorlessutils.uuid.UUIDFetcher
Fetches the uuid synchronously for a specified name and time
getUUIDAt(String, long, Consumer<UUID>) - Static method in class valorless.valorlessutils.uuid.UUIDFetcher
Fetches the uuid synchronously for a specified name and time and passes the result to the consumer
getValues(ConfigurationSection) - Static method in class valorless.valorlessutils.json.ConfigUtils
 
GetVector2(String) - Method in class valorless.valorlessutils.config.Config
Retrieves a Vector2 from the config.
GetVector3(String) - Method in class valorless.valorlessutils.config.Config
Retrieves a Vector3 from the config.

H

Has(ItemStack, String) - Static method in class valorless.valorlessutils.nbt.NBT
Checks if the NBT data of an ItemStack contains a given key.
Has(JavaPlugin, ItemStack, String) - Static method in class valorless.valorlessutils.tags.Tags
Checks if a key exists in the PersistentDataContainer.
Has(JavaPlugin, ItemStack, String, TagType) - Static method in class valorless.valorlessutils.tags.Tags
Checks if a key exists in the PersistentDataContainer.
Has(JavaPlugin, PersistentDataContainer, String, PersistentDataType) - Static method in class valorless.valorlessutils.ValorlessUtils.Tags
Deprecated.
 
Has(JavaPlugin, PersistentDataContainer, String, TagType) - Static method in class valorless.valorlessutils.tags.Tags
Checks if a key exists in the PersistentDataContainer.
HasCustomName(ItemStack) - Static method in class valorless.valorlessutils.items.ItemUtils
Checks if the item has a custom display name.
HasItemName(ItemStack) - Static method in class valorless.valorlessutils.items.ItemUtils
Checks if the item has an internal item name.
HasKey(String) - Method in class valorless.valorlessutils.config.Config
Checks if a key exists in the config.
HasMaxStackSize(ItemStack) - Static method in class valorless.valorlessutils.items.ItemUtils
Checks if the item has a custom max stack size.
HasRarity(ItemStack) - Static method in class valorless.valorlessutils.items.ItemUtils
Checks if the item has a rarity value.
HavenBagsPlacementBlocker - Class in valorless.valorlessutils.havenbags
A safeguard listener that prevents players from placing "HavenBags" items or skin tokens as blocks when the HavenBags plugin is not enabled.
HavenBagsPlacementBlocker() - Constructor for class valorless.valorlessutils.havenbags.HavenBagsPlacementBlocker
 

I

Info(JavaPlugin, String) - Static method in class valorless.valorlessutils.ValorlessUtils.Log
Logs an informational message.
Ingredient - Class in valorless.valorlessutils.crafting
Represents an ingredient used in crafting recipes.
Ingredient(String, ItemStack) - Constructor for class valorless.valorlessutils.crafting.Ingredient
Constructs an Ingredient object with an identification letter and an ItemStack.
The ingredient's material will also be set to the material of 'item'.
Ingredient(String, Material) - Constructor for class valorless.valorlessutils.crafting.Ingredient
Constructs an Ingredient object with an identification letter and a Material.
init() - Static method in class valorless.valorlessutils.havenbags.HavenBagsPlacementBlocker
Initializes the placement blocker by loading the HavenBags config and registering the event listener.
initialized(T) - Static method in class valorless.valorlessutils.json.Unsafe
Performs an unchecked cast to the Initialized non-null variant of the specified type.
INTEGER - Enum constant in enum class valorless.valorlessutils.tags.TagType
 
INTEGER_ARRAY - Enum constant in enum class valorless.valorlessutils.tags.TagType
 
IsBag(ItemStack) - Static method in class valorless.valorlessutils.havenbags.HavenBagsPlacementBlocker
Checks whether the given item is a HavenBag.
isEmpty(String) - Static method in class valorless.valorlessutils.json.StringUtils
 
isFinite(double) - Static method in class valorless.valorlessutils.json.Validate
 
isFinite(double) - Static method in class valorless.valorlessutils.json.Validate.State
 
isFinite(double, String) - Static method in class valorless.valorlessutils.json.Validate
 
isFinite(double, String) - Static method in class valorless.valorlessutils.json.Validate.State
 
isFinite(double, Supplier<String>) - Static method in class valorless.valorlessutils.json.Validate
 
isFinite(double, Supplier<String>) - Static method in class valorless.valorlessutils.json.Validate.State
 
isFinite(float) - Static method in class valorless.valorlessutils.json.Validate
 
isFinite(float) - Static method in class valorless.valorlessutils.json.Validate.State
 
isFinite(float, String) - Static method in class valorless.valorlessutils.json.Validate
 
isFinite(float, String) - Static method in class valorless.valorlessutils.json.Validate.State
 
isFinite(float, Supplier<String>) - Static method in class valorless.valorlessutils.json.Validate
 
isFinite(float, Supplier<String>) - Static method in class valorless.valorlessutils.json.Validate.State
 
IsSkinToken(ItemStack) - Static method in class valorless.valorlessutils.havenbags.HavenBagsPlacementBlocker
Checks whether the given item is a skin token.
IsStringNullOrEmpty(String) - Static method in class valorless.valorlessutils.utils.Utils
Checks if a given string is null or empty, considering various conditions including whitespace and length.
IsStringNullOrEmpty(String) - Static method in class valorless.valorlessutils.ValorlessUtils.Utils
Deprecated.
Will be removed in a future version.
isTrue(boolean) - Static method in class valorless.valorlessutils.json.Validate
 
isTrue(boolean) - Static method in class valorless.valorlessutils.json.Validate.State
 
isTrue(boolean, String) - Static method in class valorless.valorlessutils.json.Validate
 
isTrue(boolean, String) - Static method in class valorless.valorlessutils.json.Validate.State
 
isTrue(boolean, Supplier<String>) - Static method in class valorless.valorlessutils.json.Validate
 
isTrue(boolean, Supplier<String>) - Static method in class valorless.valorlessutils.json.Validate.State
 
isTrue(T, Predicate<T>) - Static method in class valorless.valorlessutils.json.Validate
 
isTrue(T, Predicate<T>) - Static method in class valorless.valorlessutils.json.Validate.State
 
isTrue(T, Predicate<T>, String) - Static method in class valorless.valorlessutils.json.Validate
 
isTrue(T, Predicate<T>, String) - Static method in class valorless.valorlessutils.json.Validate.State
 
isTrue(T, Predicate<T>, Supplier<String>) - Static method in class valorless.valorlessutils.json.Validate
 
isTrue(T, Predicate<T>, Supplier<String>) - Static method in class valorless.valorlessutils.json.Validate.State
 
item - Variable in class valorless.valorlessutils.crafting.Ingredient
The ItemStack representing the ingredient.
itemFromBase64(String) - Static method in class valorless.valorlessutils.skulls.SkullCreator
Creates a player skull item with the skin based on a base64 string.
itemFromName(String) - Static method in class valorless.valorlessutils.skulls.SkullCreator
Deprecated.
names don't make for good identifiers.
itemFromUrl(String) - Static method in class valorless.valorlessutils.skulls.SkullCreator
Creates a player skull item with the skin at a Mojang URL.
itemFromUuid(UUID) - Static method in class valorless.valorlessutils.skulls.SkullCreator
Creates a player skull item with the skin based on a player's UUID.
ItemUtils - Class in valorless.valorlessutils.items
Utility class for interacting with ItemMeta fields introduced in Minecraft 1.20.5+.
ItemUtils() - Constructor for class valorless.valorlessutils.items.ItemUtils
 
itemWithBase64(ItemStack, String) - Static method in class valorless.valorlessutils.skulls.SkullCreator
Modifies a skull to use the skin based on the given base64 string.
itemWithName(ItemStack, String) - Static method in class valorless.valorlessutils.skulls.SkullCreator
Deprecated.
names don't make for good identifiers.
itemWithUrl(ItemStack, String) - Static method in class valorless.valorlessutils.skulls.SkullCreator
Modifies a skull to use the skin at the given Mojang URL.
itemWithUuid(ItemStack, UUID) - Static method in class valorless.valorlessutils.skulls.SkullCreator
Modifies a skull to use the skin of the player with a given UUID.

J

JsonFile - Class in valorless.valorlessutils.file
 
JsonFile(JavaPlugin, File) - Constructor for class valorless.valorlessutils.file.JsonFile
Constructor for JsonFile class.
JsonObjectBuilder() - Constructor for class valorless.valorlessutils.Metrics.JsonObjectBuilder
 
JsonUtils - Class in valorless.valorlessutils.json
Utility class for working with JSON using Gson.

K

key - Variable in class valorless.valorlessutils.config.Config.ValidationListEntry
 
key - Variable in class valorless.valorlessutils.json.StringUtils.ArgumentsReplacer
 

L

letter - Variable in class valorless.valorlessutils.crafting.Ingredient
The identification letter of the ingredient.
LimitCharacters(String, int) - Static method in class valorless.valorlessutils.text.TextFeatures
Limits the characters in a text to a specified length.
LimitDecimal(String, int) - Static method in class valorless.valorlessutils.text.TextFeatures
Limits the decimal places in a number to a specified length.
loadConfigSafely(FileConfiguration, String) - Static method in class valorless.valorlessutils.json.ConfigUtils
 
loadConfiguration(File) - Static method in class valorless.valorlessutils.file.FileStorage
 
LoadFallbackLanguage() - Method in class valorless.valorlessutils.translate.Translator
Loads the fallback language file from the plugin's data folder.
Log() - Constructor for class valorless.valorlessutils.ValorlessUtils.Log
 
LONG - Enum constant in enum class valorless.valorlessutils.tags.TagType
 
LONG_ARRAY - Enum constant in enum class valorless.valorlessutils.tags.TagType
 

M

material - Variable in class valorless.valorlessutils.crafting.Ingredient
The Material of the ingredient.
MessageArguments - Interface in valorless.valorlessutils.json
Provides message arguments by key.
Metrics - Class in valorless.valorlessutils
 
Metrics(JavaPlugin, int) - Constructor for class valorless.valorlessutils.Metrics
Creates a new Metrics instance.
METRICS_VERSION - Static variable in class valorless.valorlessutils.Metrics.MetricsBase
The version of the Metrics class.
Metrics.AdvancedBarChart - Class in valorless.valorlessutils
 
Metrics.AdvancedPie - Class in valorless.valorlessutils
 
Metrics.CustomChart - Class in valorless.valorlessutils
 
Metrics.DrilldownPie - Class in valorless.valorlessutils
 
Metrics.JsonObjectBuilder - Class in valorless.valorlessutils
An extremely simple JSON builder.
Metrics.JsonObjectBuilder.JsonObject - Class in valorless.valorlessutils
A super simple representation of a JSON object.
Metrics.MetricsBase - Class in valorless.valorlessutils
 
Metrics.MultiLineChart - Class in valorless.valorlessutils
 
Metrics.SimpleBarChart - Class in valorless.valorlessutils
 
Metrics.SimplePie - Class in valorless.valorlessutils
 
Metrics.SingleLineChart - Class in valorless.valorlessutils
 
MetricsBase(String, String, int, boolean, Consumer<Metrics.JsonObjectBuilder>, Consumer<Metrics.JsonObjectBuilder>, Consumer<Runnable>, Supplier<Boolean>, BiConsumer<String, Throwable>, Consumer<String>, boolean, boolean, boolean) - Constructor for class valorless.valorlessutils.Metrics.MetricsBase
Creates a new MetricsBase class instance.
MultiLineChart(String, Callable<Map<String, Integer>>) - Constructor for class valorless.valorlessutils.Metrics.MultiLineChart
Class constructor.

N

NBT - Class in valorless.valorlessutils.nbt
 
NBT() - Constructor for class valorless.valorlessutils.nbt.NBT
 
nonPrintableStyle - Variable in class valorless.valorlessutils.json.CompactYamlRepresenter
 
noNullElements(T, String) - Static method in class valorless.valorlessutils.json.Validate
 
noNullElements(T, String) - Static method in class valorless.valorlessutils.json.Validate.State
 
noNullElements(T, Supplier<String>) - Static method in class valorless.valorlessutils.json.Validate
 
noNullElements(T, Supplier<String>) - Static method in class valorless.valorlessutils.json.Validate.State
 
normalize(String) - Static method in class valorless.valorlessutils.json.StringUtils
Normalizes the given identifier.
normalize(List<? extends String>) - Static method in class valorless.valorlessutils.json.StringUtils
 
normalizeKeepCase(String) - Static method in class valorless.valorlessutils.json.StringUtils
Normalizes the given identifier.
notEmpty(String) - Static method in class valorless.valorlessutils.json.Validate
 
notEmpty(String) - Static method in class valorless.valorlessutils.json.Validate.State
 
notEmpty(String, String) - Static method in class valorless.valorlessutils.json.Validate
 
notEmpty(String, String) - Static method in class valorless.valorlessutils.json.Validate.State
 
notEmpty(String, Supplier<String>) - Static method in class valorless.valorlessutils.json.Validate
 
notEmpty(String, Supplier<String>) - Static method in class valorless.valorlessutils.json.Validate.State
 
notNaN(double) - Static method in class valorless.valorlessutils.json.Validate
 
notNaN(double) - Static method in class valorless.valorlessutils.json.Validate.State
 
notNaN(double, String) - Static method in class valorless.valorlessutils.json.Validate
 
notNaN(double, String) - Static method in class valorless.valorlessutils.json.Validate.State
 
notNaN(double, Supplier<String>) - Static method in class valorless.valorlessutils.json.Validate
 
notNaN(double, Supplier<String>) - Static method in class valorless.valorlessutils.json.Validate.State
 
notNaN(float) - Static method in class valorless.valorlessutils.json.Validate
 
notNaN(float) - Static method in class valorless.valorlessutils.json.Validate.State
 
notNaN(float, String) - Static method in class valorless.valorlessutils.json.Validate
 
notNaN(float, String) - Static method in class valorless.valorlessutils.json.Validate.State
 
notNaN(float, Supplier<String>) - Static method in class valorless.valorlessutils.json.Validate
 
notNaN(float, Supplier<String>) - Static method in class valorless.valorlessutils.json.Validate.State
 
notNull(T) - Static method in class valorless.valorlessutils.json.Validate
 
notNull(T) - Static method in class valorless.valorlessutils.json.Validate.State
 
notNull(T, String) - Static method in class valorless.valorlessutils.json.Validate
 
notNull(T, String) - Static method in class valorless.valorlessutils.json.Validate.State
 
notNull(T, Supplier<String>) - Static method in class valorless.valorlessutils.json.Validate
 
notNull(T, Supplier<String>) - Static method in class valorless.valorlessutils.json.Validate.State
 
NULL - Enum constant in enum class valorless.valorlessutils.Server.Version
 
nullable(T) - Static method in class valorless.valorlessutils.json.Unsafe
Casts the given object to the nullable variant of the specified type.
nullableAsNonNull(T) - Static method in class valorless.valorlessutils.json.Unsafe
Performs an unchecked cast to the non-null variant of the specified type.

O

ofMap(Map<? extends String, ?>) - Static method in interface valorless.valorlessutils.json.MessageArguments
Creates a MessageArguments that is backed by the given Map.
onBlockPlace(BlockPlaceEvent) - Method in class valorless.valorlessutils.havenbags.HavenBagsPlacementBlocker
Event handler that prevents bag items or skin tokens from being placed as blocks if HavenBags is missing or disabled.
onDisable() - Method in class valorless.valorlessutils.ValorlessUtils
 
onEnable() - Method in class valorless.valorlessutils.ValorlessUtils
 
onLoad() - Method in class valorless.valorlessutils.ValorlessUtils
Called when the plugin is being loaded.
onPrepareItemCraft(PrepareItemCraftEvent) - Method in class valorless.valorlessutils.crafting.CraftRecipe
Event handler for when a player prepares an item for crafting.

P

Percent(double, double) - Static method in class valorless.valorlessutils.utils.Utils
Calculates the percentage of a given value relative to a maximum value.
Percent(float, float) - Static method in class valorless.valorlessutils.utils.Utils
Calculates the percentage of a given float value relative to a maximum float value.
Play(String, float, float, Player) - Static method in class valorless.valorlessutils.sound.SFX
Play a sound at the location of the player with the given volume and pitch.
Play(String, float, float, Location) - Static method in class valorless.valorlessutils.sound.SFX
Play a sound at a location with the given volume and pitch.
plugin - Static variable in class valorless.valorlessutils.ValorlessUtils
 
PluginReloader - Class in valorless.valorlessutils.reloader
Utility class for safely reloading plugins at runtime.
PluginReloader() - Constructor for class valorless.valorlessutils.reloader.PluginReloader
 
prefixed(String) - Method in interface valorless.valorlessutils.json.MessageArguments
Creates a MessageArguments that prefixes the keys of this MessageArguments.
prepareResult() - Method in class valorless.valorlessutils.json.StringUtils.ArgumentsReplacer
 
PrintStackTrace(JavaPlugin) - Static method in class valorless.valorlessutils.Debug
Prints the full stack trace of the current thread to the plugin's error log.

R

RandomRange(double, double) - Static method in class valorless.valorlessutils.utils.Utils
Generates a random double within the specified range (inclusive).
RandomRange(int, int) - Static method in class valorless.valorlessutils.utils.Utils
Generates a random integer within the specified range (inclusive).
read(JsonReader) - Method in class valorless.valorlessutils.json.BukkitAwareObjectTypeAdapter
 
read(JsonReader) - Method in class valorless.valorlessutils.json.YamlLikeObjectTypeAdapter
 
read(JsonReader) - Method in class valorless.valorlessutils.uuid.UUIDTypeAdapter
 
readObject(Class<T>) - Method in class valorless.valorlessutils.file.JsonFile
Reads an object from the JSON file.
reload() - Method in class valorless.valorlessutils.file.YamlFile
Reloads the YamlConfiguration from the associated file.
Reload() - Method in class valorless.valorlessutils.config.Config
Reloads the configuration file and validates it.
reloadPlugin(String, long, boolean) - Static method in class valorless.valorlessutils.reloader.PluginReloader
Reloads a plugin by name, disabling it immediately and scheduling it to be re-enabled after the given delay.
reloadPlugin(JavaPlugin, long, boolean) - Static method in class valorless.valorlessutils.reloader.PluginReloader
Reloads a plugin from a JavaPlugin reference.
reloadPlugin(Plugin, long, boolean) - Static method in class valorless.valorlessutils.reloader.PluginReloader
Reloads a plugin from a generic Plugin reference.
Remove() - Method in class valorless.valorlessutils.crafting.CraftRecipe
Removes this recipe from the server.
Remove(ItemStack, String) - Static method in class valorless.valorlessutils.nbt.NBT
Removes a key from the NBT data of an ItemStack.
Remove(JavaPlugin, ItemStack, String) - Static method in class valorless.valorlessutils.tags.Tags
 
removeWhitespace(String) - Static method in class valorless.valorlessutils.json.StringUtils
Removes all whitespace characters inside the given source String.
replaceArguments(String, char, char, MessageArguments) - Method in class valorless.valorlessutils.json.StringUtils.ArgumentsReplacer
 
replaceArguments(String, Object...) - Static method in class valorless.valorlessutils.json.StringUtils
 
replaceArguments(String, Map<? extends String, ?>) - Static method in class valorless.valorlessutils.json.StringUtils
 
replaceArguments(String, MessageArguments) - Method in class valorless.valorlessutils.json.StringUtils.ArgumentsReplacer
 
replaceArguments(String, MessageArguments) - Static method in class valorless.valorlessutils.json.StringUtils
 
replaceArguments(Collection<? extends String>, Object...) - Static method in class valorless.valorlessutils.json.StringUtils
 
replaceArguments(Collection<? extends String>, Map<? extends String, ?>) - Static method in class valorless.valorlessutils.json.StringUtils
 
replaceArguments(Collection<? extends String>, MessageArguments) - Static method in class valorless.valorlessutils.json.StringUtils
 
replaceFirst(String, String, CharSequence) - Static method in class valorless.valorlessutils.json.StringUtils
 
replaceWhitespace(String, String) - Static method in class valorless.valorlessutils.json.StringUtils
Replaces all whitespace characters inside the given source String.
representScalar(Tag, String, DumperOptions.ScalarStyle) - Method in class valorless.valorlessutils.json.CompactYamlRepresenter
 
resolveArgument(String) - Method in class valorless.valorlessutils.json.StringUtils.ArgumentsReplacer
 
ResolveVersion() - Static method in class valorless.valorlessutils.Server
Attempts to resolve the current running server version.
resultBuilder - Variable in class valorless.valorlessutils.json.StringUtils.ArgumentsReplacer
 

S

save() - Method in class valorless.valorlessutils.file.YamlFile
Saves the YamlConfiguration to the associated file.
SaveConfig() - Method in class valorless.valorlessutils.config.Config
Saves the configuration file.
serialize(ConfigurationSerializable) - Static method in class valorless.valorlessutils.json.ConfigUtils
 
serializeDeeply(Map<?, Object>) - Static method in class valorless.valorlessutils.json.ConfigUtils
 
serializeDeeply(ConfigurationSerializable) - Static method in class valorless.valorlessutils.json.ConfigUtils
 
Server - Class in valorless.valorlessutils
Utility class for handling and comparing Minecraft server versions.
Server() - Constructor for class valorless.valorlessutils.Server
 
Server.Version - Enum Class in valorless.valorlessutils
Enum representing supported Minecraft server versions.
set(String, Object) - Method in class valorless.valorlessutils.file.YamlFile
Sets a value in the YamlConfiguration.
Set(String, Object) - Method in class valorless.valorlessutils.config.Config
Sets a key-value pair in the config.
Set(JavaPlugin, ItemStack, String, Object, TagType) - Static method in class valorless.valorlessutils.tags.Tags
Sets a value in the PersistentDataContainer using a specific key.
Use before or after setting metadata.
Set(JavaPlugin, PersistentDataContainer, String, Object, PersistentDataType) - Static method in class valorless.valorlessutils.ValorlessUtils.Tags
Deprecated.
 
Set(JavaPlugin, PersistentDataContainer, String, Object, TagType) - Static method in class valorless.valorlessutils.tags.Tags
Sets a value in the PersistentDataContainer using a specific key.
Set(T, T) - Method in class valorless.valorlessutils.types.Vector2
Sets the values of both components in the vector.
Set(T, T, T) - Method in class valorless.valorlessutils.types.Vector3
Sets the values of all components in the vector.
Set(Vector, T) - Method in class valorless.valorlessutils.types.Vector2
Sets the value of a specific component in the vector.
Set(Vector, T) - Method in class valorless.valorlessutils.types.Vector3
Sets the value of a specific component in the vector.
setAll(ConfigurationSection, Map<?, ?>) - Static method in class valorless.valorlessutils.json.ConfigUtils
 
SetAmount(int) - Method in class valorless.valorlessutils.crafting.Ingredient
Set the amount of the Ingredient required, for Shapeless recipes.
SetBool(ItemStack, String, boolean) - Static method in class valorless.valorlessutils.nbt.NBT
Sets a boolean value in the NBT data of an ItemStack.
SetBoolean(JavaPlugin, ItemStack, String, Boolean) - Static method in class valorless.valorlessutils.tags.Tags
Sets a value in the PersistentDataContainer using a specific key.
Use before or after setting metadata.
SetCustomName(ItemStack, String) - Static method in class valorless.valorlessutils.items.ItemUtils
Sets the custom display name.
SetDouble(ItemStack, String, Double) - Static method in class valorless.valorlessutils.nbt.NBT
Sets a double value in the NBT data of an ItemStack.
SetDouble(JavaPlugin, ItemStack, String, Double) - Static method in class valorless.valorlessutils.tags.Tags
Sets a value in the PersistentDataContainer using a specific key.
Use before or after setting metadata.
SetDoubleList(JavaPlugin, ItemStack, String, List<Double>) - Static method in class valorless.valorlessutils.tags.Tags
Sets a value in the PersistentDataContainer using a specific key.
Use before or after setting metadata.
SetFloat(ItemStack, String, Float) - Static method in class valorless.valorlessutils.nbt.NBT
Sets a float value in the NBT data of an ItemStack.
SetFloat(JavaPlugin, ItemStack, String, Float) - Static method in class valorless.valorlessutils.tags.Tags
Sets a value in the PersistentDataContainer using a specific key.
Use before or after setting metadata.
SetFloatList(JavaPlugin, ItemStack, String, List<Float>) - Static method in class valorless.valorlessutils.tags.Tags
Sets a value in the PersistentDataContainer using a specific key.
Use before or after setting metadata.
setGson(Gson) - Method in class valorless.valorlessutils.file.JsonFile
Sets a custom Gson instance.
setIfNull(String, Object) - Method in class valorless.valorlessutils.file.YamlFile
Sets a value in the YamlConfiguration only if the path does not already exist.
SetIngredients(List<Ingredient>) - Method in class valorless.valorlessutils.crafting.CraftRecipe
Sets the ingredients of the recipe.
SetInt(ItemStack, String, Integer) - Static method in class valorless.valorlessutils.nbt.NBT
Sets an integer value in the NBT data of an ItemStack.
SetIntArray(ItemStack, String, int[]) - Static method in class valorless.valorlessutils.nbt.NBT
Sets an integer array in the NBT data of an ItemStack.
SetInteger(JavaPlugin, ItemStack, String, Integer) - Static method in class valorless.valorlessutils.tags.Tags
Sets a value in the PersistentDataContainer using a specific key.
Use before or after setting metadata.
SetIntegerList(JavaPlugin, ItemStack, String, List<Integer>) - Static method in class valorless.valorlessutils.tags.Tags
Sets a value in the PersistentDataContainer using a specific key.
Use before or after setting metadata.
SetItemModel(ItemStack, String) - Static method in class valorless.valorlessutils.items.ItemUtils
Sets the item model using a string in the format "namespace:key".
SetItemModel(ItemStack, NamespacedKey) - Static method in class valorless.valorlessutils.items.ItemUtils
Sets the item model using a NamespacedKey.
SetItemName(ItemStack, String) - Static method in class valorless.valorlessutils.items.ItemUtils
Sets the internal item name.
SetLanguage(String) - Method in class valorless.valorlessutils.translate.Translator
Sets the language for translation.
SetMaxStackSize(ItemStack, Integer) - Static method in class valorless.valorlessutils.items.ItemUtils
Sets a custom maximum stack size for the item.
SetPermission(String) - Method in class valorless.valorlessutils.crafting.CraftRecipe
Sets the permission required to craft this recipe by string.
SetPermission(Permission) - Method in class valorless.valorlessutils.crafting.CraftRecipe
Sets the permission required to craft this recipe directly.
SetRarity(ItemStack, String) - Static method in class valorless.valorlessutils.items.ItemUtils
Sets the rarity of the item.
SetResult(ItemStack) - Method in class valorless.valorlessutils.crafting.CraftRecipe
Sets the result of the recipe.
SetShape(List<String>) - Method in class valorless.valorlessutils.crafting.CraftRecipe
Sets the shape of a shaped recipe.
SetString(ItemStack, String, String) - Static method in class valorless.valorlessutils.nbt.NBT
Sets a string value in the NBT data of an ItemStack.
SetString(JavaPlugin, ItemStack, String, String) - Static method in class valorless.valorlessutils.tags.Tags
Sets a value in the PersistentDataContainer using a specific key.
Use before or after setting metadata.
SetStringList(ItemStack, String, List<String>) - Static method in class valorless.valorlessutils.nbt.NBT
Sets a List of strings in the NBT data of an ItemStack.
SetStringList(JavaPlugin, ItemStack, String, List<String>) - Static method in class valorless.valorlessutils.tags.Tags
Sets a value in the PersistentDataContainer using a specific key.
Use before or after setting metadata.
setTimeZone(TimeZone) - Method in class valorless.valorlessutils.json.CompactYamlRepresenter
 
SetType(CraftRecipe.RecipeType) - Method in class valorless.valorlessutils.crafting.CraftRecipe
Sets the recipe type (shaped or shapeless).
setup(String, char, char, MessageArguments) - Method in class valorless.valorlessutils.json.StringUtils.ArgumentsReplacer
 
SetUUID(ItemStack, String, UUID) - Static method in class valorless.valorlessutils.nbt.NBT
Sets a UUID value in the NBT data of an ItemStack.
SetVector2(String, Vector2<T>) - Method in class valorless.valorlessutils.config.Config
Sets a Vector2 value in the config.
SetVector3(String, Vector3<T>) - Method in class valorless.valorlessutils.config.Config
Sets a Vector3 value in the config.
SFX - Class in valorless.valorlessutils.sound
 
SFX() - Constructor for class valorless.valorlessutils.sound.SFX
 
Shaped - Enum constant in enum class valorless.valorlessutils.crafting.CraftRecipe.RecipeType
 
Shapeless - Enum constant in enum class valorless.valorlessutils.crafting.CraftRecipe.RecipeType
 
SHORT - Enum constant in enum class valorless.valorlessutils.tags.TagType
 
shutdown() - Method in class valorless.valorlessutils.Metrics.MetricsBase
 
shutdown() - Method in class valorless.valorlessutils.Metrics
Shuts down the underlying scheduler service.
SimpleBarChart(String, Callable<Map<String, Integer>>) - Constructor for class valorless.valorlessutils.Metrics.SimpleBarChart
Class constructor.
SimplePie(String, Callable<String>) - Constructor for class valorless.valorlessutils.Metrics.SimplePie
Class constructor.
SingleLineChart(String, Callable<Integer>) - Constructor for class valorless.valorlessutils.Metrics.SingleLineChart
Class constructor.
SkullCreator - Class in valorless.valorlessutils.skulls
A library for the Bukkit API to create player skulls from names, base64 strings, and texture URLs.
splitLines(String) - Static method in class valorless.valorlessutils.json.StringUtils
 
splitLines(String, boolean) - Static method in class valorless.valorlessutils.json.StringUtils
 
STRING - Enum constant in enum class valorless.valorlessutils.tags.TagType
 
StringUtils - Class in valorless.valorlessutils.json
Utility functions related to Strings.
StringUtils.ArgumentsReplacer - Class in valorless.valorlessutils.json
 
stripTrailingNewlines(String) - Static method in class valorless.valorlessutils.json.StringUtils
 

T

TAG_CONTAINER - Enum constant in enum class valorless.valorlessutils.tags.TagType
 
Tags - Class in valorless.valorlessutils.tags
Tags utility class for working with PersistentDataContainers.
Tags() - Constructor for class valorless.valorlessutils.tags.Tags
 
Tags() - Constructor for class valorless.valorlessutils.ValorlessUtils.Tags
Deprecated.
 
TagType - Enum Class in valorless.valorlessutils.tags
 
TextFeatures - Class in valorless.valorlessutils.text
 
TextFeatures() - Constructor for class valorless.valorlessutils.text.TextFeatures
 
thisPlugin - Static variable in class valorless.valorlessutils.ValorlessUtils
Instance of this plugin for static access.
timeZone - Variable in class valorless.valorlessutils.json.CompactYamlRepresenter
 
toCompactYaml(Object) - Static method in class valorless.valorlessutils.json.YamlUtils
 
toConfigYaml(String, Object) - Static method in class valorless.valorlessutils.json.ConfigUtils
 
toConfigYamlWithoutTrailingNewline(String, Object) - Static method in class valorless.valorlessutils.json.ConfigUtils
 
toFlatConfigYaml(Map<?, ?>) - Static method in class valorless.valorlessutils.json.ConfigUtils
 
toJson(Object) - Static method in class valorless.valorlessutils.json.JsonUtils
Converts an object to a JSON string using the standard Gson instance.
toPrettyJson(Object) - Static method in class valorless.valorlessutils.json.JsonUtils
Converts an object to a pretty-printed JSON string.
toString() - Method in class valorless.valorlessutils.crafting.CraftRecipe
Returns a string representation of this CraftRecipe.
toString() - Method in class valorless.valorlessutils.crafting.Ingredient
Returns a string representation of the Ingredient object.
toString() - Method in class valorless.valorlessutils.Metrics.JsonObjectBuilder.JsonObject
 
toStringOrEmpty(Object) - Static method in class valorless.valorlessutils.json.StringUtils
Converts the given Object to a String via its Object.toString() method.
toStringOrNull(Object) - Static method in class valorless.valorlessutils.json.StringUtils
Converts the given Object to a String via its Object.toString() method.
ToValue(Boolean) - Static method in class valorless.valorlessutils.utils.Utils.Bool
Converts a Boolean value to an Integer.
Translate(String) - Method in class valorless.valorlessutils.translate.Translator
Translates a given key to the corresponding language.
Translator - Class in valorless.valorlessutils.translate
 
Translator(String) - Constructor for class valorless.valorlessutils.translate.Translator
Constructor for Translator class.

U

uncheckedNull() - Static method in class valorless.valorlessutils.json.Unsafe
Returns a null value that bypasses compiler and tooling checks.
Unsafe - Class in valorless.valorlessutils.json
Utilities related to unchecked casts and nullness suppressions.
Utils - Class in valorless.valorlessutils.utils
Utility class consisting of various functions.
Utils() - Constructor for class valorless.valorlessutils.utils.Utils
 
Utils() - Constructor for class valorless.valorlessutils.ValorlessUtils.Utils
Deprecated.
 
Utils.Bool - Class in valorless.valorlessutils.utils
Utility class for converting between Boolean and Integer values.
UUIDFetcher - Class in valorless.valorlessutils.uuid
 
UUIDFetcher() - Constructor for class valorless.valorlessutils.uuid.UUIDFetcher
 
UUIDTypeAdapter - Class in valorless.valorlessutils.uuid
 
UUIDTypeAdapter() - Constructor for class valorless.valorlessutils.uuid.UUIDTypeAdapter
 

V

v1_17 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_17_1 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_18 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_18_1 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_18_2 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_19 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_19_1 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_19_2 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_19_3 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_19_4 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_20 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_20_1 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_20_3 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_20_4 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_20_5 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_20_6 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_21 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_21_1 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_21_2 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_21_3 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_21_4 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_21_5 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_21_6 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_21_7 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_21_8 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_21_9 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
v1_22 - Enum constant in enum class valorless.valorlessutils.Server.Version
 
Validate - Class in valorless.valorlessutils.json
 
Validate() - Method in class valorless.valorlessutils.config.Config
Validates the configuration file against the validation list.
Validate.State - Class in valorless.valorlessutils.json
 
ValidationListEntry(String, Object) - Constructor for class valorless.valorlessutils.config.Config.ValidationListEntry
 
valorless.valorlessutils - package valorless.valorlessutils
 
valorless.valorlessutils.config - package valorless.valorlessutils.config
 
valorless.valorlessutils.crafting - package valorless.valorlessutils.crafting
 
valorless.valorlessutils.encoding - package valorless.valorlessutils.encoding
 
valorless.valorlessutils.file - package valorless.valorlessutils.file
 
valorless.valorlessutils.havenbags - package valorless.valorlessutils.havenbags
 
valorless.valorlessutils.items - package valorless.valorlessutils.items
 
valorless.valorlessutils.json - package valorless.valorlessutils.json
 
valorless.valorlessutils.nbt - package valorless.valorlessutils.nbt
 
valorless.valorlessutils.reloader - package valorless.valorlessutils.reloader
 
valorless.valorlessutils.skulls - package valorless.valorlessutils.skulls
 
valorless.valorlessutils.sound - package valorless.valorlessutils.sound
 
valorless.valorlessutils.tags - package valorless.valorlessutils.tags
 
valorless.valorlessutils.text - package valorless.valorlessutils.text
 
valorless.valorlessutils.translate - package valorless.valorlessutils.translate
 
valorless.valorlessutils.types - package valorless.valorlessutils.types
 
valorless.valorlessutils.utils - package valorless.valorlessutils.utils
 
valorless.valorlessutils.uuid - package valorless.valorlessutils.uuid
 
ValorlessUtils - Class in valorless.valorlessutils
Main plugin class for ValorlessUtils.
ValorlessUtils() - Constructor for class valorless.valorlessutils.ValorlessUtils
 
ValorlessUtils.Log - Class in valorless.valorlessutils
Logging utility methods.
ValorlessUtils.Tags - Class in valorless.valorlessutils
Deprecated.
Replaced with Tags.
ValorlessUtils.Utils - Class in valorless.valorlessutils
Deprecated.
Use Utils instead.
valueOf(String) - Static method in enum class valorless.valorlessutils.crafting.CraftRecipe.RecipeType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class valorless.valorlessutils.Server.Version
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class valorless.valorlessutils.tags.TagType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class valorless.valorlessutils.types.Vector
Returns the enum constant of this class with the specified name.
values() - Static method in enum class valorless.valorlessutils.crafting.CraftRecipe.RecipeType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class valorless.valorlessutils.Server.Version
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class valorless.valorlessutils.tags.TagType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class valorless.valorlessutils.types.Vector
Returns an array containing the constants of this enum class, in the order they are declared.
Vector - Enum Class in valorless.valorlessutils.types
An enumeration representing vector components in 3D space.
Vector2<T extends Number> - Class in valorless.valorlessutils.types
A generic class representing a 2D vector with components of a number type.
Vector2(T, T) - Constructor for class valorless.valorlessutils.types.Vector2
Constructs a Vector2 instance with the specified values for its X and Y components.
Vector3<T extends Number> - Class in valorless.valorlessutils.types
A generic class representing a 3D vector with components of a number type.
Vector3(T, T, T) - Constructor for class valorless.valorlessutils.types.Vector3
Constructs a Vector3 instance with the specified values for its X, Y, and Z components.
VersionCompare(Server.Version, Server.Version) - Static method in class valorless.valorlessutils.Server
Compares two Server.Version enums based on their ordinal order.
VersionEqualTo(Server.Version) - Static method in class valorless.valorlessutils.Server
Checks if the current server version is exactly equal to a specified version.
VersionHigherOrEqualTo(Server.Version) - Static method in class valorless.valorlessutils.Server
Checks if the current server version is higher than or equal to a specified version.

W

Warning(JavaPlugin, String) - Static method in class valorless.valorlessutils.ValorlessUtils.Log
Logs a warning message.
write(JsonWriter, Object) - Method in class valorless.valorlessutils.json.BukkitAwareObjectTypeAdapter
 
write(JsonWriter, Object) - Method in class valorless.valorlessutils.json.YamlLikeObjectTypeAdapter
 
write(JsonWriter, UUID) - Method in class valorless.valorlessutils.uuid.UUIDTypeAdapter
 
writeObject(Object) - Method in class valorless.valorlessutils.file.JsonFile
Writes an object to the JSON file.

X

x - Variable in class valorless.valorlessutils.types.Vector2
 
x - Variable in class valorless.valorlessutils.types.Vector3
 
X - Enum constant in enum class valorless.valorlessutils.types.Vector
The X component of a vector.

Y

y - Variable in class valorless.valorlessutils.types.Vector2
 
y - Variable in class valorless.valorlessutils.types.Vector3
 
Y - Enum constant in enum class valorless.valorlessutils.types.Vector
The Y component of a vector.
YamlFile - Class in valorless.valorlessutils.file
 
YamlFile(File) - Constructor for class valorless.valorlessutils.file.YamlFile
Constructor for YamlFile class using a File object.
YamlFile(String) - Constructor for class valorless.valorlessutils.file.YamlFile
Constructor for YamlFile class using a file path.
YamlLikeObjectTypeAdapter - Class in valorless.valorlessutils.json
Modified version of Gson's default Object TypeAdapter.
YamlLikeObjectTypeAdapter(Gson) - Constructor for class valorless.valorlessutils.json.YamlLikeObjectTypeAdapter
 
yamlNewline() - Static method in class valorless.valorlessutils.json.YamlUtils
 
YamlUtils - Class in valorless.valorlessutils.json
 

Z

z - Variable in class valorless.valorlessutils.types.Vector3
 
Z - Enum constant in enum class valorless.valorlessutils.types.Vector
The Z component of a vector.
A B C D E F G H I J K L M N O P R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values