Skip to content

Version 3.0.0: new ItemBuilder()

Latest

Choose a tag to compare

@Artex154 Artex154 released this 24 Jul 13:00
· 2 commits to master since this release

Changed the way of creating an ItemBuilder.

public static final ItemStack MY_CUSTOM_ITEM = new ItemBuilder(new ItemStack(Material.STICK))
        .displayName("My Custom Item")
        .amount(10)
        .setLore("This is the first line!", "This is the second line!")
        .build();