public class SpongeItemBuilder extends ItemBuilder
Constructor and Description |
---|
SpongeItemBuilder(ItemStack def) |
SpongeItemBuilder(Material type) |
SpongeItemBuilder(OfflinePlayer owner) |
Modifier and Type | Method and Description |
---|---|
ItemBuilder |
addToLore(String... loreToAdd) |
ItemBuilder |
amount(int amount) |
ItemStack |
build() |
ItemBuilder |
color(DyeColor color) |
ItemBuilder |
displayName(String displayName) |
ItemBuilder |
enchant(Enchantment enchantment,
int level) |
ItemBuilder |
itemFlag(ItemFlag... itemFlag) |
ItemBuilder |
lore(List<String> lore) |
ItemBuilder |
lore(String... lore) |
ItemBuilder |
resetDisplayName() |
ItemBuilder |
unsafeEnchant(Enchantment enchantment,
int level) |
Builder, Builder, Builder, Builder, Builder, enchantIf, enchantIf, getSkullItem, getSkullItem
public SpongeItemBuilder(ItemStack def)
public SpongeItemBuilder(Material type)
public SpongeItemBuilder(OfflinePlayer owner)
public ItemBuilder displayName(String displayName)
displayName
in class ItemBuilder
public ItemBuilder resetDisplayName()
resetDisplayName
in class ItemBuilder
public ItemBuilder enchant(Enchantment enchantment, int level)
enchant
in class ItemBuilder
public ItemBuilder itemFlag(ItemFlag... itemFlag)
itemFlag
in class ItemBuilder
public ItemBuilder unsafeEnchant(Enchantment enchantment, int level)
unsafeEnchant
in class ItemBuilder
public ItemBuilder amount(int amount)
amount
in class ItemBuilder
public ItemBuilder color(DyeColor color)
color
in class ItemBuilder
public ItemBuilder lore(List<String> lore)
lore
in class ItemBuilder
public ItemBuilder lore(String... lore)
lore
in class ItemBuilder
public ItemBuilder addToLore(String... loreToAdd)
addToLore
in class ItemBuilder
public ItemStack build()
build
in class ItemBuilder