Index
All Classes and Interfaces|All Packages
A
- ABSORPTION - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
- add(double, E) - Method in class me.sciguymjm.uberenchant.api.utils.WeightedChance
-
Add a new possible selection with a percent chance.
- add(E, double) - Method in class me.sciguymjm.uberenchant.api.utils.random.WeightedChance
-
Add a new possible selection with a weight.
- add(Weighted<E>) - Method in class me.sciguymjm.uberenchant.api.utils.random.WeightedChance
-
Add a new possible selection.
- addAll(Collection<? extends Weighted<E>>) - Method in class me.sciguymjm.uberenchant.api.utils.random.WeightedChance
-
Adds all the items in the specified collection to this WeightedChance
- AddCommand - Class in me.sciguymjm.uberenchant.commands
-
Class for internal use.
- AddCommand() - Constructor for class me.sciguymjm.uberenchant.commands.AddCommand
- addEnchantment(UberEnchantment, ItemStack, int) - Static method in class me.sciguymjm.uberenchant.api.utils.UberUtils
-
Adds the specified UberEnchantment to the item with specified level.
- addEnchantmentLore(ItemStack) - Static method in class me.sciguymjm.uberenchant.api.utils.UberUtils
-
Adds custom enchantment lore to the specified item if it contains any custom enchantments.
(An example would be "Sharpness V", if sharpness was custom) - addRecord(UberConfiguration.UberRecord) - Static method in class me.sciguymjm.uberenchant.api.utils.UberConfiguration
-
Adds an UberRecord.
- aliases() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Returns the value of the
aliases
record component. - args - Variable in class me.sciguymjm.uberenchant.commands.abstraction.UberCommand
- ARGUMENTS - Static variable in class me.sciguymjm.uberenchant.utils.Reply
-
For internal use.
B
- BAD_OMEN - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
- BLINDNESS - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
C
- can_use_on_anything() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Returns the value of the
can_use_on_anything
record component. - cancelled - Variable in class me.sciguymjm.uberenchant.api.events.UberEvent
-
Unused
- canEnchantItem(ItemStack) - Method in class me.sciguymjm.uberenchant.enchantments.abstraction.EffectEnchantmentWrapper
- ChatUtils - Class in me.sciguymjm.uberenchant.utils
-
A chat-related utility class
- ChatUtils() - Constructor for class me.sciguymjm.uberenchant.utils.ChatUtils
- ClearCommand - Class in me.sciguymjm.uberenchant.commands
-
Class for internal use.
- ClearCommand() - Constructor for class me.sciguymjm.uberenchant.commands.ClearCommand
- color(String) - Static method in class me.sciguymjm.uberenchant.utils.ChatUtils
-
Adds color to a string for messages.
(If using the spigot api or a for of it, hex codes can be used using a #rrggbb ie #ff0000 = red)
Example formatting: - command - Variable in class me.sciguymjm.uberenchant.commands.abstraction.UberCommand
-
For internal use.
- CONDUIT_POWER - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
- conflictsWith(Enchantment) - Method in class me.sciguymjm.uberenchant.enchantments.abstraction.EffectEnchantmentWrapper
- CONFUSION - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
- contains(E) - Method in class me.sciguymjm.uberenchant.api.utils.random.WeightedChance
-
Checks if this WeightedChance contains the specified value or not.
- contains(E) - Method in class me.sciguymjm.uberenchant.api.utils.WeightedChance
-
Checks if this WeightedChance contains the specified result or not.
- contains(Weighted<E>) - Method in class me.sciguymjm.uberenchant.api.utils.random.WeightedChance
-
Checks if this WeightedChance contains the specified entry or not.
- containsEnchantment(ItemStack) - Method in class me.sciguymjm.uberenchant.api.UberEnchantment
-
Checks if the specified item contains this enchantment.
- containsEnchantment(ItemStack, UberEnchantment) - Static method in class me.sciguymjm.uberenchant.api.UberEnchantment
-
Checks if the specified item contains the specified enchantment.
- cost() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Returns the value of the
cost
record component. - cost_for_level() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Returns the value of the
cost_for_level
record component. - cost_multiplier() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Returns the value of the
cost_multiplier
record component. - CostCommand - Class in me.sciguymjm.uberenchant.commands
-
For internal use.
- CostCommand() - Constructor for class me.sciguymjm.uberenchant.commands.CostCommand
D
- DAMAGE_RESISTANCE - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
- DARKNESS - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
- DelCommand - Class in me.sciguymjm.uberenchant.commands
-
For internal use.
- DelCommand() - Constructor for class me.sciguymjm.uberenchant.commands.DelCommand
- display_name() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Returns the value of the
display_name
record component. - displayName(UberEnchantment, int) - Static method in class me.sciguymjm.uberenchant.api.utils.UberUtils
-
Constructs the custom enchantment lore.
(Formatted as"<name> <level>"
ie "Sharpness V") - DOLPHINS_GRACE - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
E
- EconomyUtils - Class in me.sciguymjm.uberenchant.utils
-
Economy related utilities.
- EconomyUtils() - Constructor for class me.sciguymjm.uberenchant.utils.EconomyUtils
- EffectEnchantment - Class in me.sciguymjm.uberenchant.enchantments.abstraction
-
Abstract class for internal use.
- EffectEnchantmentWrapper - Class in me.sciguymjm.uberenchant.enchantments.abstraction
- EffectUtils - Class in me.sciguymjm.uberenchant.utils
-
Utility class for handling PotionEffect related functions.
(Meant for internal use) - EffectUtils() - Constructor for class me.sciguymjm.uberenchant.utils.EffectUtils
- enchantment() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Returns the value of the
enchantment
record component. - EnchantmentUtils - Class in me.sciguymjm.uberenchant.utils
-
Utility class for enchantments
- EnchantmentUtils() - Constructor for class me.sciguymjm.uberenchant.utils.EnchantmentUtils
- equals(Object) - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class me.sciguymjm.uberenchant.api.utils.WeightedChance.WeightedEntry
-
Indicates whether some other object is "equal to" this one.
- ExtractCommand - Class in me.sciguymjm.uberenchant.commands
-
For internal use.
- ExtractCommand() - Constructor for class me.sciguymjm.uberenchant.commands.ExtractCommand
- extractEnchantment(UberEnchantment, ItemStack) - Static method in class me.sciguymjm.uberenchant.api.utils.UberUtils
-
Extracts the specified UberEnchantment from the item and puts it as a stored enchantment on an enchanted book.
- extraction_cost() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Returns the value of the
extraction_cost
record component.
F
- FAST_DIGGING - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
- FIRE_RESISTANCE - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
- fromCollection(Collection<? extends Weighted<E>>) - Static method in class me.sciguymjm.uberenchant.api.utils.random.WeightedChance
-
Returns a new instance of a WeightedChance using specified collection
Same as usingWeightedChance(Collection)
G
- getAliases() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Gets a list of aliases for the enchantment, can be empty.
- getBalance(Player) - Static method in class me.sciguymjm.uberenchant.utils.EconomyUtils
-
For internal use.
- getByEnchant(Enchantment) - Static method in class me.sciguymjm.uberenchant.api.utils.UberConfiguration
-
Get an UberRecord by a specified enchantment.
- getByType(PotionEffectType) - Static method in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
- getCanUseOnAnything() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Gets wether or not the enchantment can be used on anything.
- getCost() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Gets the cost of the enhchantment.
- getCost(String) - Static method in class me.sciguymjm.uberenchant.utils.EconomyUtils
-
For internal use.
- getCostForLevel() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Gets a map of levels and their costs, can be empty.
- getCostMultiplier() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Gets the cost multiplier.
- getDisplayName() - Method in class me.sciguymjm.uberenchant.api.UberEnchantment
-
Gets the display name of the enchantment.
(Different from usingUberEnchantment.getName()
) - getDisplayName() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Gets the display name of the enchantment this record represents.
- getDisplayName() - Method in class me.sciguymjm.uberenchant.enchantments.abstraction.EffectEnchantment
- getEconomy() - Static method in class me.sciguymjm.uberenchant.UberEnchant
-
Gets the economy currently being used.
(May return null in case of no economy or unspported economy) - getEconomy() - Static method in class me.sciguymjm.uberenchant.utils.EconomyUtils
-
For internal use.
- getEffect() - Method in class me.sciguymjm.uberenchant.enchantments.abstraction.EffectEnchantmentWrapper
- getEnchant() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Gets the enchantment associated with this record.
- getEnchantment(String) - Static method in class me.sciguymjm.uberenchant.utils.EnchantmentUtils
-
Gets an enchantment by name from UberRecords.
- getEnchantments(ItemStack) - Static method in class me.sciguymjm.uberenchant.api.UberEnchantment
-
Gets a map containing all custom enchantments and their levels on this item.
- getExtractionCost() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Gets the extraction cost.
- getHandlers() - Method in class me.sciguymjm.uberenchant.api.events.UberEvent
- getItemTarget() - Method in class me.sciguymjm.uberenchant.enchantments.abstraction.EffectEnchantmentWrapper
- getLevel(ItemStack) - Method in class me.sciguymjm.uberenchant.api.UberEnchantment
-
Gets the level of this Enchantment on the specified item.
- getLevel(ItemStack, UberEnchantment) - Static method in class me.sciguymjm.uberenchant.api.UberEnchantment
-
Gets the level of the specified enchantment on the specified item.
- getMaxLevel() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Gets the maximum level the enchantment can be.
- getMaxLevel() - Method in class me.sciguymjm.uberenchant.enchantments.abstraction.EffectEnchantmentWrapper
- getMinLevel() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Gets the minimum level the enchantment can be.
- getName() - Method in class me.sciguymjm.uberenchant.api.UberEnchantment
- getName() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Gets the name of this record.
- getPermission() - Method in class me.sciguymjm.uberenchant.api.UberEnchantment
-
Gets the permission for this enchantment.
(Meant to be used within other plugins) - getPermission() - Method in class me.sciguymjm.uberenchant.enchantments.abstraction.EffectEnchantment
- getRegisteredEnchantments() - Static method in class me.sciguymjm.uberenchant.api.UberEnchantment
-
Gets all registered custom enchantments.
(Includes any plugins running on the server that implement UberEnchants API) - getRegisteredEnchantments(String) - Static method in class me.sciguymjm.uberenchant.api.UberEnchantment
-
Gets all custom enchantments registered to the specified plugin name.
- getRegisteredEnchantments(Plugin) - Static method in class me.sciguymjm.uberenchant.api.UberEnchantment
-
Gets all custom enchantments regsitered to the specified plugin.
- getRemovalCost() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Gets the removal cost.
- getStartLevel() - Method in class me.sciguymjm.uberenchant.enchantments.abstraction.EffectEnchantmentWrapper
- getStoredEnchantments(ItemStack) - Static method in class me.sciguymjm.uberenchant.api.UberEnchantment
-
Gets a map containing the stored enchantments in this item.
(Usually reserved for an enchanted book) - getTotal() - Method in class me.sciguymjm.uberenchant.api.utils.random.WeightedChance
-
Gets the total weight of all the values
- getWeight(E) - Method in class me.sciguymjm.uberenchant.api.utils.random.WeightedChance
-
Gets the weight of the specified value.
- getWeight(E) - Method in class me.sciguymjm.uberenchant.api.utils.WeightedChance
-
Gets the weight of the specified result.
- GLOWING - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
H
- HARM - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
- has(Player, double) - Static method in class me.sciguymjm.uberenchant.utils.EconomyUtils
-
For internal use.
- hasEconomy() - Static method in class me.sciguymjm.uberenchant.UberEnchant
-
Gets whether there is an economy or not.
- hasEconomy() - Static method in class me.sciguymjm.uberenchant.utils.EconomyUtils
-
For internal use.
- hasEnchantments(ItemStack) - Static method in class me.sciguymjm.uberenchant.api.UberEnchantment
-
Checks if specified item has any custom enchantments.
- hashCode() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Returns a hash code value for this object.
- hashCode() - Method in record class me.sciguymjm.uberenchant.api.utils.WeightedChance.WeightedEntry
-
Returns a hash code value for this object.
- HEAL - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
- HEALTH_BOOST - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
- HelpCommand - Class in me.sciguymjm.uberenchant.commands
-
For internal use.
- HelpCommand() - Constructor for class me.sciguymjm.uberenchant.commands.HelpCommand
- HERO_OF_THE_VILLAGE - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
- HOLD_ITEM - Static variable in class me.sciguymjm.uberenchant.utils.Reply
-
For internal use.
- HUNGER - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
I
- INCREASE_DAMAGE - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
- InsertCommand - Class in me.sciguymjm.uberenchant.commands
-
For internal use.
- InsertCommand() - Constructor for class me.sciguymjm.uberenchant.commands.InsertCommand
- instance() - Static method in class me.sciguymjm.uberenchant.UberEnchant
-
Returns an instance of UberEnchant.
- INVALID - Static variable in class me.sciguymjm.uberenchant.utils.Reply
-
For internal use.
- INVISIBILITY - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
- isCancelled() - Method in class me.sciguymjm.uberenchant.api.events.UberEvent
- isCursed() - Method in class me.sciguymjm.uberenchant.enchantments.abstraction.EffectEnchantmentWrapper
- isRegistered() - Method in class me.sciguymjm.uberenchant.api.UberEnchantment
-
Checks if this enchantment is registered.
- isRegistered(UberEnchantment) - Static method in class me.sciguymjm.uberenchant.api.UberEnchantment
-
Checks if the specified enchantment is registered.
- isTreasure() - Method in class me.sciguymjm.uberenchant.enchantments.abstraction.EffectEnchantmentWrapper
- IUberCommand - Interface in me.sciguymjm.uberenchant.commands.abstraction
-
For internal use.
- IUberTabComplete - Interface in me.sciguymjm.uberenchant.commands.abstraction
-
For internal use.
J
- JUMP - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
L
- LEVITATION - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
- ListCommand - Class in me.sciguymjm.uberenchant.commands
-
For internal use.
- ListCommand() - Constructor for class me.sciguymjm.uberenchant.commands.ListCommand
- loadFromEnchantmentsFolder() - Static method in class me.sciguymjm.uberenchant.api.utils.UberConfiguration
-
Loads all UberRecords in any Yaml files found under UberEnchants enchantments folder
(Not meant to be used in other plugins.
Plugins can place their Yaml files there as this is called from UberEnchant itself) - loadFromFile(File) - Static method in class me.sciguymjm.uberenchant.api.utils.UberConfiguration
-
Loads UberRecords found in specified Yaml file.
- loadFromFile(String) - Static method in class me.sciguymjm.uberenchant.api.utils.UberConfiguration
-
Loads UberRecords found in Yaml file specified by the path.
- loadFromFile(String, String) - Static method in class me.sciguymjm.uberenchant.api.utils.UberConfiguration
-
Loads UberRecords found in specified Yaml file and path.
- LUCK - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
M
- max_level() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Returns the value of the
max_level
record component. - me.sciguymjm.uberenchant - package me.sciguymjm.uberenchant
- me.sciguymjm.uberenchant.api - package me.sciguymjm.uberenchant.api
- me.sciguymjm.uberenchant.api.events - package me.sciguymjm.uberenchant.api.events
- me.sciguymjm.uberenchant.api.utils - package me.sciguymjm.uberenchant.api.utils
- me.sciguymjm.uberenchant.api.utils.random - package me.sciguymjm.uberenchant.api.utils.random
- me.sciguymjm.uberenchant.commands - package me.sciguymjm.uberenchant.commands
- me.sciguymjm.uberenchant.commands.abstraction - package me.sciguymjm.uberenchant.commands.abstraction
- me.sciguymjm.uberenchant.enchantments.abstraction - package me.sciguymjm.uberenchant.enchantments.abstraction
- me.sciguymjm.uberenchant.utils - package me.sciguymjm.uberenchant.utils
- min_level() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Returns the value of the
min_level
record component.
N
- name() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Returns the value of the
name
record component. - next() - Method in class me.sciguymjm.uberenchant.api.utils.WeightedChance
-
Gets the next possible result.
- NIGHT_VISION - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
- NO_ECONOMY - Static variable in class me.sciguymjm.uberenchant.utils.Reply
-
For internal use.
O
- offset(ItemStack) - Static method in class me.sciguymjm.uberenchant.api.utils.UberUtils
-
Gets the offset (if any) required for custom enchantment lore.
- onCmd() - Method in class me.sciguymjm.uberenchant.commands.AddCommand
- onCmd() - Method in class me.sciguymjm.uberenchant.commands.ClearCommand
- onCmd() - Method in class me.sciguymjm.uberenchant.commands.CostCommand
- onCmd() - Method in class me.sciguymjm.uberenchant.commands.DelCommand
- onCmd() - Method in class me.sciguymjm.uberenchant.commands.ExtractCommand
- onCmd() - Method in class me.sciguymjm.uberenchant.commands.HelpCommand
- onCmd() - Method in class me.sciguymjm.uberenchant.commands.InsertCommand
- onCmd() - Method in class me.sciguymjm.uberenchant.commands.ListCommand
- onCmd() - Method in class me.sciguymjm.uberenchant.commands.ReloadCommand
- onCmd() - Method in class me.sciguymjm.uberenchant.commands.SetCommand
- onCommand(CommandSender, Command, String, String[]) - Method in class me.sciguymjm.uberenchant.commands.abstraction.UberCommand
- onDisable() - Method in class me.sciguymjm.uberenchant.UberEnchant
- onEnable() - Method in class me.sciguymjm.uberenchant.UberEnchant
- onTab() - Method in class me.sciguymjm.uberenchant.commands.AddCommand
- onTab() - Method in class me.sciguymjm.uberenchant.commands.ClearCommand
- onTab() - Method in class me.sciguymjm.uberenchant.commands.CostCommand
- onTab() - Method in class me.sciguymjm.uberenchant.commands.DelCommand
- onTab() - Method in class me.sciguymjm.uberenchant.commands.ExtractCommand
- onTab() - Method in class me.sciguymjm.uberenchant.commands.HelpCommand
- onTab() - Method in class me.sciguymjm.uberenchant.commands.ListCommand
- onTab() - Method in class me.sciguymjm.uberenchant.commands.SetCommand
- onTabComplete(CommandSender, Command, String, String[]) - Method in class me.sciguymjm.uberenchant.commands.abstraction.UberTabCommand
P
- PERMISSIONS - Static variable in class me.sciguymjm.uberenchant.utils.Reply
-
For internal use.
- player - Variable in class me.sciguymjm.uberenchant.commands.abstraction.UberCommand
-
For internal use.
- POISON - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
R
- REGENERATION - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
- register() - Method in class me.sciguymjm.uberenchant.api.UberEnchantment
-
Registers this custom enchantment.
- register(UberEnchantment) - Static method in class me.sciguymjm.uberenchant.api.UberEnchantment
-
Registers the specified custom enchantment.
- registerEvents(Listener) - Static method in class me.sciguymjm.uberenchant.UberEnchant
-
Convenience static method to register events with UberEnchant.
- registerUberRecord(UberEnchantment, double, double, double, double, boolean, List<String>, Map<Integer, Double>) - Static method in class me.sciguymjm.uberenchant.api.utils.UberConfiguration
-
Convenient method to both add an UberRecord and register a specified UberEnchantment.
- reloadAll() - Static method in class me.sciguymjm.uberenchant.api.utils.UberConfiguration
- ReloadCommand - Class in me.sciguymjm.uberenchant.commands
-
For internal use.
- ReloadCommand() - Constructor for class me.sciguymjm.uberenchant.commands.ReloadCommand
- removal_cost() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Returns the value of the
removal_cost
record component. - remove(E) - Method in class me.sciguymjm.uberenchant.api.utils.random.WeightedChance
-
Remove possible selections if the value exists.
- remove(E) - Method in class me.sciguymjm.uberenchant.api.utils.WeightedChance
-
Remove possible selections if the result exists.
- remove(Predicate<Weighted<E>>) - Method in class me.sciguymjm.uberenchant.api.utils.random.WeightedChance
-
Remove possible selections based on a predicate.
- remove(Predicate<WeightedChance.WeightedEntry<E>>) - Method in class me.sciguymjm.uberenchant.api.utils.WeightedChance
-
Remove possible selections based on a predicate.
- removeEnchantment(UberEnchantment, ItemStack) - Static method in class me.sciguymjm.uberenchant.api.utils.UberUtils
-
Removes the specified UberEnchantment from the item, returning the level of the enchantment or 0.
- removeEnchantmentLore(ItemStack) - Static method in class me.sciguymjm.uberenchant.api.utils.UberUtils
-
Removes any custom enchantment lore on the specified item
- Reply - Class in me.sciguymjm.uberenchant.utils
-
For internal use.
- Reply() - Constructor for class me.sciguymjm.uberenchant.utils.Reply
- response(Player, String[]) - Static method in class me.sciguymjm.uberenchant.utils.ChatUtils
-
Sends the specified player an array of messages.
- response(Player, String, Object...) - Static method in class me.sciguymjm.uberenchant.utils.ChatUtils
-
Sends the specified player a formated message.
Usage: - result() - Method in record class me.sciguymjm.uberenchant.api.utils.WeightedChance.WeightedEntry
-
Returns the value of the
result
record component.
S
- SATURATION - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
- saveToEnchantmentsFolder(Plugin, String) - Static method in class me.sciguymjm.uberenchant.api.utils.UberConfiguration
-
Saves any UberRecords for the specified plugin to the specified file under UberEnchants enchantments folder
Usage: - saveToFile(Plugin, File) - Static method in class me.sciguymjm.uberenchant.api.utils.UberConfiguration
-
Saves any UberRecords for the specified plugin to a Yaml file.
- saveToFile(Plugin, String) - Static method in class me.sciguymjm.uberenchant.api.utils.UberConfiguration
-
Saves any UberRecords for the specified plugin to a Yaml file.
- select() - Method in class me.sciguymjm.uberenchant.api.utils.random.WeightedChance
-
Selects the next possible value.
- select(Collection<? extends Weighted<E>>) - Static method in class me.sciguymjm.uberenchant.api.utils.random.WeightedChance
-
Static method to select a random weighted item from a collection
- select(Random) - Method in class me.sciguymjm.uberenchant.api.utils.random.WeightedChance
-
Selects the next possible value using specified random.
- select(Random, Collection<? extends Weighted<E>>) - Static method in class me.sciguymjm.uberenchant.api.utils.random.WeightedChance
-
Static method to select a random weighted item from a collection using a random
- setCancelled(boolean) - Method in class me.sciguymjm.uberenchant.api.events.UberEvent
- SetCommand - Class in me.sciguymjm.uberenchant.commands
-
For internal use.
- SetCommand() - Constructor for class me.sciguymjm.uberenchant.commands.SetCommand
- SLOW - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
- SLOW_DIGGING - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
- SLOW_FALLING - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
- SPEED - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
T
- toRomanNumeral(int) - Static method in class me.sciguymjm.uberenchant.api.utils.UberUtils
-
Simple Integer to Roman numeral function.
- toString() - Method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Returns a string representation of this record class.
- toString() - Method in record class me.sciguymjm.uberenchant.api.utils.WeightedChance.WeightedEntry
-
Returns a string representation of this record class.
U
- UberCommand - Class in me.sciguymjm.uberenchant.commands.abstraction
-
Abstract class for internal use.
- UberCommand() - Constructor for class me.sciguymjm.uberenchant.commands.abstraction.UberCommand
- UberConfiguration - Class in me.sciguymjm.uberenchant.api.utils
-
Utility class to handle saving and loading UberRecords from config files.
- UberConfiguration() - Constructor for class me.sciguymjm.uberenchant.api.utils.UberConfiguration
- UberConfiguration.UberRecord - Record Class in me.sciguymjm.uberenchant.api.utils
-
Utility record class for ease of adding records
- UberEffects - Enum Class in me.sciguymjm.uberenchant.utils
-
Effects enum for use in UberEnchant
- UberEnchant - Class in me.sciguymjm.uberenchant
-
The Main class of UberEnchant
- UberEnchant() - Constructor for class me.sciguymjm.uberenchant.UberEnchant
- UberEnchantment - Class in me.sciguymjm.uberenchant.api
-
The UberEnchantment class to be extended for adding custom enchantments.
- UberEnchantment(String) - Constructor for class me.sciguymjm.uberenchant.api.UberEnchantment
-
Constructs a new UberEnchantment using a unique key under UberEnchant.
- UberEnchantment(NamespacedKey) - Constructor for class me.sciguymjm.uberenchant.api.UberEnchantment
-
Constructs a new UberEnchantment using a unique custom NamespacedKey.
- UberEnchantment(Plugin, String) - Constructor for class me.sciguymjm.uberenchant.api.UberEnchantment
-
Constructs a new UberEnchantment using plugin and string to create a unique NamespacedKey.
- UberEvent - Class in me.sciguymjm.uberenchant.api.events
-
Unused
- UberEvent() - Constructor for class me.sciguymjm.uberenchant.api.events.UberEvent
- UberLocale - Class in me.sciguymjm.uberenchant.utils
-
Utility class for internal use.
- UberLocale() - Constructor for class me.sciguymjm.uberenchant.utils.UberLocale
- UberRecord(Enchantment, String, String, int, int, double, double, double, double, boolean, List<String>, Map<Integer, Double>) - Constructor for record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Creates an instance of a
UberRecord
record class. - UberTabCommand - Class in me.sciguymjm.uberenchant.commands.abstraction
-
Abstract class for internal use.
- UberTabCommand() - Constructor for class me.sciguymjm.uberenchant.commands.abstraction.UberTabCommand
- UberUtils - Class in me.sciguymjm.uberenchant.api.utils
-
Custom enchantment related utility class
- UberUtils() - Constructor for class me.sciguymjm.uberenchant.api.utils.UberUtils
- UNLUCK - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
V
- value - Variable in class me.sciguymjm.uberenchant.api.utils.random.WeightedEntry
- value() - Method in interface me.sciguymjm.uberenchant.api.utils.random.Weighted
-
Gets the value
- value() - Method in class me.sciguymjm.uberenchant.api.utils.random.WeightedEntry
- valueOf(String) - Static method in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
Returns the enum constant of this class with the specified name.
- values() - Static method in class me.sciguymjm.uberenchant.api.UberEnchantment
-
Gets an array of all custom enchantments, including unregistered ones
- values() - Static method in record class me.sciguymjm.uberenchant.api.utils.UberConfiguration.UberRecord
-
Gets a list of all available UberRecords
- values() - Static method in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WATER_BREATHING - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
- WEAKNESS - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
- weight - Variable in class me.sciguymjm.uberenchant.api.utils.random.WeightedEntry
- weight() - Method in interface me.sciguymjm.uberenchant.api.utils.random.Weighted
-
Gets the weight
- weight() - Method in class me.sciguymjm.uberenchant.api.utils.random.WeightedEntry
- weight() - Method in record class me.sciguymjm.uberenchant.api.utils.WeightedChance.WeightedEntry
-
Returns the value of the
weight
record component. - Weighted<E> - Interface in me.sciguymjm.uberenchant.api.utils.random
-
An interface for use in the
WeightedChance
class
Used for custom classes that require a weighted chance for random selection - WeightedChance<E> - Class in me.sciguymjm.uberenchant.api.utils.random
-
Simple utility class for weighted chances
Example Usage: - WeightedChance<E> - Class in me.sciguymjm.uberenchant.api.utils
-
Simple utility class for weighted chances
Example Usage: - WeightedChance() - Constructor for class me.sciguymjm.uberenchant.api.utils.random.WeightedChance
-
Constructor for a WeightedChance
- WeightedChance() - Constructor for class me.sciguymjm.uberenchant.api.utils.WeightedChance
- WeightedChance(Collection<? extends Weighted<E>>) - Constructor for class me.sciguymjm.uberenchant.api.utils.random.WeightedChance
-
Constructs a WeightedChance using the specified collection
- WeightedChance(Random) - Constructor for class me.sciguymjm.uberenchant.api.utils.random.WeightedChance
-
Constructor for a WeightedChance
- WeightedChance.WeightedEntry<E> - Record Class in me.sciguymjm.uberenchant.api.utils
-
A Simple record for use it storing values.
- WeightedEntry<E> - Class in me.sciguymjm.uberenchant.api.utils.random
-
A basic class implementing the
Weighted
interface for ease of use. - WeightedEntry(double, E) - Constructor for record class me.sciguymjm.uberenchant.api.utils.WeightedChance.WeightedEntry
-
Creates an instance of a
WeightedEntry
record class. - WeightedEntry(E, double) - Constructor for class me.sciguymjm.uberenchant.api.utils.random.WeightedEntry
-
Constructor for a WeightedEntry
- WHOLE_NUMBER - Static variable in class me.sciguymjm.uberenchant.utils.Reply
-
For internal use.
- withdraw(Player, double) - Static method in class me.sciguymjm.uberenchant.utils.EconomyUtils
-
For internal use.
- WITHER - Enum constant in enum class me.sciguymjm.uberenchant.utils.UberEffects
-
For internal use.
All Classes and Interfaces|All Packages