minny.zephyrus.items
Class HoeOfGrowth
java.lang.Object
minny.zephyrus.utils.ItemUtil
minny.zephyrus.items.CustomItem
minny.zephyrus.items.HoeOfGrowth
- All Implemented Interfaces:
- org.bukkit.event.Listener
public class HoeOfGrowth
- extends CustomItem
Zephyrus
- Author:
- minnymin3
|
Method Summary |
void |
createItem(org.bukkit.inventory.ItemStack i)
|
static org.bukkit.TreeType |
getGiantTree(int data)
|
static org.bukkit.TreeType |
getTaintedTree(int data)
|
static org.bukkit.TreeType |
getTree(int data)
|
void |
grow(org.bukkit.event.player.PlayerInteractEvent e)
|
org.bukkit.inventory.ItemStack |
item()
|
int |
maxLevel()
|
java.lang.String |
name()
|
void |
onCraftHandle(org.bukkit.event.inventory.PrepareItemCraftEvent e)
|
org.bukkit.inventory.Recipe |
recipe()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HoeOfGrowth
public HoeOfGrowth(Zephyrus plugin)
name
public java.lang.String name()
- Specified by:
name in class CustomItem
maxLevel
public int maxLevel()
- Overrides:
maxLevel in class CustomItem
createItem
public void createItem(org.bukkit.inventory.ItemStack i)
- Specified by:
createItem in class CustomItem
recipe
public org.bukkit.inventory.Recipe recipe()
- Specified by:
recipe in class CustomItem
item
public org.bukkit.inventory.ItemStack item()
- Specified by:
item in class CustomItem
grow
public void grow(org.bukkit.event.player.PlayerInteractEvent e)
throws java.lang.Exception
- Throws:
java.lang.Exception
getTree
public static org.bukkit.TreeType getTree(int data)
getGiantTree
public static org.bukkit.TreeType getGiantTree(int data)
getTaintedTree
public static org.bukkit.TreeType getTaintedTree(int data)
onCraftHandle
public void onCraftHandle(org.bukkit.event.inventory.PrepareItemCraftEvent e)