Skip to content

1.8.8-1.0.0: ItemBuilder

Choose a tag to compare

@BelgianDev BelgianDev released this 19 Nov 13:48
· 16 commits to master since this release

Give a warm welcome to the ItemBuilder! Create and define the properties of your items by chaining methods!

ItemBuilder:

    public static final ItemStack MY_CUSTOM_ITEM = ItemBuilder.create(Material.STICK)
        .displayName("My Custom Item")
        .amount(10)
        .setLore("This is the first line!", "This is the second line!")
        .loreAppender(append -> append.add("This is the thrird line!"))
        .build();