Class ItemBuilder
java.lang.Object
com.miketheshadow.mmotextapi.itembuilder.ItemBuilder
- All Implemented Interfaces:
IItemType
- Direct Known Subclasses:
FoodItemBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionItemBuilder(org.bukkit.plugin.Plugin plugin, org.bukkit.Material material, String name) -
Method Summary
Modifier and TypeMethodDescriptionaddStatMap(HashMap<ItemStat,Integer> stats)org.bukkit.inventory.ItemStackbuild()org.bukkit.persistence.PersistentDataContainersetDescription(String description)setDescription(net.md_5.bungee.api.ChatColor color, String description)
-
Constructor Details
-
ItemBuilder
-
-
Method Details
-
setDescription
-
setDescription
-
addStat
-
addStatMap
-
setGrade
-
build
public org.bukkit.inventory.ItemStack build() -
getItemType
- Specified by:
getItemTypein interfaceIItemType
-
getPersistentDataContainer
public org.bukkit.persistence.PersistentDataContainer getPersistentDataContainer()
-