Interface MPickaxe


public interface MPickaxe
  • Method Details

    • isMPickaxe

      boolean isMPickaxe()
      Returns:
      if the the item is a pickaxe
    • getItemStack

      org.bukkit.inventory.ItemStack getItemStack()
    • updateLore

      void updateLore()
      updates the lore according the any changes using this interface
    • getPickaxeLore

      List<String> getPickaxeLore()
    • getEfficiency

      int getEfficiency()
    • setEfficiency

      void setEfficiency(int i)
    • getFortune

      int getFortune()
    • setFortune

      void setFortune(int i)
    • getHaste

      int getHaste()
    • setHaste

      void setHaste(int i)
    • getExperience

      int getExperience()
    • setExperience

      void setExperience(int i)
    • getSpawners

      int getSpawners()
    • setSpawners

      void setSpawners(int i)
    • getCrates

      int getCrates()
    • setCrates

      void setCrates(int i)
    • getCoins

      int getCoins()
    • setCoins

      void setCoins(int i)
    • getSeller

      int getSeller()
    • setSeller

      void setSeller(int i)
    • getSmelter

      int getSmelter()
    • setSmelter

      void setSmelter(int i)
    • setCustom

      void setCustom(String identifier, int i)
      Parameters:
      identifier - is the upgrade type
      i - is the amount you are setting that variable to for example, setCustom("efficiency", 10) would act the same as setEfficiency(10)
    • getCustom

      int getCustom(String identifier)
      Parameters:
      identifier - is the type of enchant
      Returns:
      level of the enchant
    • setEnchant

      void setEnchant(org.bukkit.enchantments.Enchantment enchant, int level)