Class SkillEnchantment
java.lang.Object
studio.magemonkey.fabled.enchants.api.CustomEnchantment
studio.magemonkey.fabled.enchants.fabled.SkillEnchantment
- All Implemented Interfaces:
Comparable<CustomEnchantment>
FabledEnchants © 2026 VoidEdge
fabled.studio.magemonkey.fabled.enchants.SkillEnchantment
-
Field Summary
Fields inherited from class studio.magemonkey.fabled.enchants.api.CustomEnchantment
DEFAULT_GROUP, settings -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyEquip(org.bukkit.entity.LivingEntity user, int level) Applies effects when the item is equippedvoidapplyInteractBlock(org.bukkit.entity.Player user, int level, org.bukkit.event.player.PlayerInteractEvent event) Applies effects when the player left or right clicks (For other kinds of enchantments like spells)voidapplyInteractEntity(org.bukkit.entity.Player user, int level, org.bukkit.event.player.PlayerInteractEntityEvent event) Applies effects when the player interacts with an entityvoidapplyUnequip(org.bukkit.entity.LivingEntity user, int level) Applies effects when the item is unequippedMethods inherited from class studio.magemonkey.fabled.enchants.api.CustomEnchantment
addAnvilItems, addNaturalItems, addToEnchantment, addToItem, applyBreak, applyDefense, applyOnHit, applyProjectile, canEnchantOnto, canMergeOnto, canStack, compareTo, computeLevel, conflictsWith, conflictsWith, conflictsWith, equals, getAnvilItems, getCombineCostPerLevel, getDescription, getEnchantLevelBuffer, getEnchantLevelScaleFactor, getGroup, getMaxLevel, getMaxTableLevel, getMinEnchantingLevel, getName, getNaturalItems, getPermission, getWeight, hashCode, hasPermission, isEnabled, isTableEnabled, load, removeFromItem, save, setCanStack, setCombineCostPerLevel, setEnchantLevelBuffer, setEnchantLevelScaleFactor, setGroup, setMaxLevel, setMaxLevel, setMinEnchantingLevel, setTableEnabled, setWeight, setWeight, toString
-
Method Details
-
applyEquip
public void applyEquip(org.bukkit.entity.LivingEntity user, int level) Description copied from class:CustomEnchantmentApplies effects when the item is equipped- Overrides:
applyEquipin classCustomEnchantment- Parameters:
user- the player that equipped itlevel- the level of enchantment
-
applyUnequip
public void applyUnequip(org.bukkit.entity.LivingEntity user, int level) Description copied from class:CustomEnchantmentApplies effects when the item is unequipped- Overrides:
applyUnequipin classCustomEnchantment- Parameters:
user- the player that unequipped itlevel- the level of enchantment
-
applyInteractBlock
public void applyInteractBlock(org.bukkit.entity.Player user, int level, org.bukkit.event.player.PlayerInteractEvent event) Description copied from class:CustomEnchantmentApplies effects when the player left or right clicks (For other kinds of enchantments like spells)- Overrides:
applyInteractBlockin classCustomEnchantment- Parameters:
user- the player with the enchantmentevent- the event details
-
applyInteractEntity
public void applyInteractEntity(org.bukkit.entity.Player user, int level, org.bukkit.event.player.PlayerInteractEntityEvent event) Description copied from class:CustomEnchantmentApplies effects when the player interacts with an entity- Overrides:
applyInteractEntityin classCustomEnchantment- Parameters:
user- player with the enchantmentlevel- enchantment levelevent- the event details
-
getSaveFolder
- Overrides:
getSaveFolderin classCustomEnchantment
-