|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectminny.zephyrus.utils.ItemUtil
minny.zephyrus.items.CustomItem
public abstract class CustomItem
Zephyrus
| Field Summary |
|---|
| Fields inherited from class minny.zephyrus.utils.ItemUtil |
|---|
plugin |
| Constructor Summary | |
|---|---|
CustomItem(Zephyrus plugin)
|
|
| Method Summary | |
|---|---|
abstract void |
createItem(org.bukkit.inventory.ItemStack i)
Adds the displayname, lore, etc. |
boolean |
hasLevel()
Weather or not the custom item should have a level |
abstract org.bukkit.inventory.ItemStack |
item()
The item (with displayname, lore, etc.) |
int |
maxLevel()
The maximum level of a custom item |
abstract java.lang.String |
name()
The displayname of the item |
abstract 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.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 |
|---|
public CustomItem(Zephyrus plugin)
| Method Detail |
|---|
public abstract java.lang.String name()
public abstract org.bukkit.inventory.ItemStack item()
public abstract void createItem(org.bukkit.inventory.ItemStack i)
i - The itemstack to changepublic abstract org.bukkit.inventory.Recipe recipe()
public boolean hasLevel()
public int maxLevel()
public int reqLevel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||