Everything regarding creating/modifying Items
Last updated 11 months ago
Was this helpful?
For all methods, and their java docs click
An ItemBuilder is a builder version of an ItemStack. After you finish with all of your item modifications, you can call build() to retrieve an ItemStack.
ItemBuilder
ItemStack
build()
Let's create the item in the page cover/banner.
ItemStack stack = ItemBuilder.item(Material.GRASS_BLOCK) .name(TextStyle.style("<#eecb4e><bold>Custom Block</bold>")) .lore(TextStyle.style( "<#685a5e><bold>INTERESTING BLOCK</bold>", "<#685a5e>Made with an", "<#eecb4e>ItemBuilder" )) .build();