minny.zephyrus.items
Class RodOfFire

java.lang.Object
  extended by minny.zephyrus.utils.ItemUtil
      extended by minny.zephyrus.items.CustomItem
          extended by minny.zephyrus.items.RodOfFire
All Implemented Interfaces:
org.bukkit.event.Listener

public class RodOfFire
extends CustomItem

Zephyrus

Author:
minnymin3

Field Summary
 
Fields inherited from class minny.zephyrus.utils.ItemUtil
plugin
 
Constructor Summary
RodOfFire(Zephyrus plugin)
           
 
Method Summary
 void createItem(org.bukkit.inventory.ItemStack i)
          Adds the displayname, lore, etc.
 void fireball(org.bukkit.event.player.PlayerInteractEvent e)
           
 org.bukkit.inventory.ItemStack item()
          The item (with displayname, lore, etc.)
 int maxLevel()
          The maximum level of a custom item
 java.lang.String name()
          The displayname of the item
 void onCraftHandle(org.bukkit.event.inventory.PrepareItemCraftEvent e)
           
 org.bukkit.inventory.Recipe recipe()
          The custom recipe for the item
 int reqLevel()
          The required level of the player to craft the item
 
Methods inherited from class minny.zephyrus.items.CustomItem
hasLevel
 
Methods inherited from class minny.zephyrus.utils.ItemUtil
checkName, delay, delayFromLevel, enchantLevel, getItemLevel, setCustomEnchantment, setGlow, setItemLevel, setItemName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RodOfFire

public RodOfFire(Zephyrus plugin)
Method Detail

name

public java.lang.String name()
Description copied from class: CustomItem
The displayname of the item

Specified by:
name in class CustomItem
Returns:
The displayname of the item

createItem

public void createItem(org.bukkit.inventory.ItemStack i)
Description copied from class: CustomItem
Adds the displayname, lore, etc. to the item

Specified by:
createItem in class CustomItem
Parameters:
i - The itemstack to change

maxLevel

public int maxLevel()
Description copied from class: CustomItem
The maximum level of a custom item

Overrides:
maxLevel in class CustomItem
Returns:

recipe

public org.bukkit.inventory.Recipe recipe()
Description copied from class: CustomItem
The custom recipe for the item

Specified by:
recipe in class CustomItem
Returns:
The custom recipe for the item

item

public org.bukkit.inventory.ItemStack item()
Description copied from class: CustomItem
The item (with displayname, lore, etc.)

Specified by:
item in class CustomItem
Returns:
The item (with displayname, lore, etc.)

reqLevel

public int reqLevel()
Description copied from class: CustomItem
The required level of the player to craft the item

Overrides:
reqLevel in class CustomItem
Returns:
The required level of the player to craft the item

fireball

public void fireball(org.bukkit.event.player.PlayerInteractEvent e)

onCraftHandle

public void onCraftHandle(org.bukkit.event.inventory.PrepareItemCraftEvent e)