Package me.fullpage.api.interfaces
Interface MPickaxe
public interface MPickaxe
-
Method Summary
Modifier and TypeMethodDescriptionint
getCoins()
int
int
int
int
int
int
getHaste()
org.bukkit.inventory.ItemStack
int
int
int
boolean
void
setCoins(int i)
void
setCrates(int i)
void
void
setEfficiency(int i)
void
setEnchant(org.bukkit.enchantments.Enchantment enchant, int level)
void
setExperience(int i)
void
setFortune(int i)
void
setHaste(int i)
void
setSeller(int i)
void
setSmelter(int i)
void
setSpawners(int i)
void
updates the lore according the any changes using this interface
-
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
-
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
- Parameters:
identifier
- is the upgrade typei
- is the amount you are setting that variable to for example, setCustom("efficiency", 10) would act the same as setEfficiency(10)
-
getCustom
- Parameters:
identifier
- is the type of enchant- Returns:
- level of the enchant
-
setEnchant
void setEnchant(org.bukkit.enchantments.Enchantment enchant, int level)
-