Uses of Class
com.shanebeestudios.snippets.item.ItemBuilder
Packages that use ItemBuilder
-
Uses of ItemBuilder in com.shanebeestudios.snippets.item
Methods in com.shanebeestudios.snippets.item that return ItemBuilderModifier and TypeMethodDescriptionItemBuilder.addEnchant
(Enchantment enchantment, int level) Add an enchantment to the itemAdd a line of lore to the itemItemBuilder.amount
(int amount) Set the amount of the itemItemBuilder.attribute
(Attribute attribute, AttributeModifier modifier) Add an attribute modifier to the itemstatic ItemBuilder
Create a new ItemBuilderstatic ItemBuilder
Create a new ItemBuilderItemBuilder.customModelData
(int model) Set the custom model data of the itemSet the lore of the itemSet the name of the itemItemBuilder.unbreakable()
Make the item unbreakable