Module gomint.api

Class PlayerEnchantItemEvent

    • Method Detail

      • getItem

        public ItemStack getItem()
        Get the item which should be enchanted
        Returns:
        the item which should get enchanted
      • getEnchantments

        public List<Enchantment> getEnchantments()
        Get the list of enchants which should be applied
        Returns:
        the enchants which will be applied
      • getLapisCost

        public int getLapisCost()
        Get the lapis cost of this enchantment process
        Returns:
        the amount of lapis which will be removed from the enchantment table
      • getLevelCost

        public int getLevelCost()
        Get the level cost for this enchantment process
        Returns:
        the amount of levels this enchantment process costs