Class SkillEnchantment

java.lang.Object
studio.magemonkey.fabled.enchants.api.CustomEnchantment
studio.magemonkey.fabled.enchants.fabled.SkillEnchantment
All Implemented Interfaces:
Comparable<CustomEnchantment>

public class SkillEnchantment extends CustomEnchantment
FabledEnchants © 2026 VoidEdge fabled.studio.magemonkey.fabled.enchants.SkillEnchantment
  • Method Details

    • applyEquip

      public void applyEquip(org.bukkit.entity.LivingEntity user, int level)
      Description copied from class: CustomEnchantment
      Applies effects when the item is equipped
      Overrides:
      applyEquip in class CustomEnchantment
      Parameters:
      user - the player that equipped it
      level - the level of enchantment
    • applyUnequip

      public void applyUnequip(org.bukkit.entity.LivingEntity user, int level)
      Description copied from class: CustomEnchantment
      Applies effects when the item is unequipped
      Overrides:
      applyUnequip in class CustomEnchantment
      Parameters:
      user - the player that unequipped it
      level - 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: CustomEnchantment
      Applies effects when the player left or right clicks (For other kinds of enchantments like spells)
      Overrides:
      applyInteractBlock in class CustomEnchantment
      Parameters:
      user - the player with the enchantment
      event - the event details
    • applyInteractEntity

      public void applyInteractEntity(org.bukkit.entity.Player user, int level, org.bukkit.event.player.PlayerInteractEntityEvent event)
      Description copied from class: CustomEnchantment
      Applies effects when the player interacts with an entity
      Overrides:
      applyInteractEntity in class CustomEnchantment
      Parameters:
      user - player with the enchantment
      level - enchantment level
      event - the event details
    • getSaveFolder

      public String getSaveFolder()
      Overrides:
      getSaveFolder in class CustomEnchantment