ItemBuilder
ItemBuilder is a class that allows you to create items with ease.
It is a wrapper for the Bukkit class ItemStack
.
Create
To create an ItemBuilder, you need to use the constructor. The amount
is optional
and defaults to 1
.
Amount
To set the amount of the item, you can use the amount
property in the constructor or
the setAmount
method.
Display Name
To set the display name of the item, you can use the setDisplayName
method. This
method uses the Adventure Color Codes.
Lore
To set the lore of the item, you can use the setLore
method or the addLore
method.
This method uses the Adventure Color Codes.
Invisible Enchantment
To toggle the invisible enchantment, you can use the setInvisibleEnchantment
method.
Not finished
This method is not finished yet. It will get more options in the future.