public class SpongeItemBuilder extends ItemBuilder
Constructor and Description |
---|
SpongeItemBuilder(org.spongepowered.api.profile.GameProfile skullProfile) |
SpongeItemBuilder(ItemStack item) |
SpongeItemBuilder(Material type) |
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, getSkullItem, getSkullItem
public SpongeItemBuilder(Material type)
public SpongeItemBuilder(ItemStack item)
public SpongeItemBuilder(org.spongepowered.api.profile.GameProfile skullProfile)
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 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
public ItemBuilder itemFlag(ItemFlag... itemFlag)
itemFlag
in class ItemBuilder