Package me.despical.commons.item
Class ItemBuilder
java.lang.Object
me.despical.commons.item.ItemBuilder
- Author:
- Despical
Created at 30.05.2020
-
Constructor Summary
ConstructorsConstructorDescriptionItemBuilder(com.cryptomorin.xseries.XMaterial xmaterial) ItemBuilder(Optional<com.cryptomorin.xseries.XMaterial> xmaterial) ItemBuilder(org.bukkit.inventory.ItemStack itemStack) ItemBuilder(org.bukkit.Material material) -
Method Summary
Modifier and TypeMethodDescriptionamount(int amount) org.bukkit.inventory.ItemStackbuild()data(byte data) durability(short durability) enchantment(com.cryptomorin.xseries.XEnchantment xenchantment) enchantment(com.cryptomorin.xseries.XEnchantment xenchantment, int level) enchantment(org.bukkit.enchantments.Enchantment enchantment) enchantment(org.bukkit.enchantments.Enchantment enchantment, int level) flag(com.cryptomorin.xseries.XItemFlag... flags) flag(org.bukkit.inventory.ItemFlag... flags) glow()glow(boolean glow) type(org.bukkit.Material material) unbreakable(boolean unbreakable)
-
Constructor Details
-
ItemBuilder
public ItemBuilder(org.bukkit.inventory.ItemStack itemStack) -
ItemBuilder
public ItemBuilder(org.bukkit.Material material) -
ItemBuilder
public ItemBuilder(com.cryptomorin.xseries.XMaterial xmaterial) -
ItemBuilder
-
-
Method Details
-
type
-
amount
-
data
-
name
-
enchantment
-
enchantment
-
enchantment
-
enchantment
-
flag
-
flag
-
decorationOnly
-
durability
-
unbreakable
-
hideTooltip
-
glow
-
glow
-
lore
-
loreIf
-
lore
-
build
public org.bukkit.inventory.ItemStack build()
-