Skip to content

Releases: BelgianDev/CraftyBuilder

Version 3.1.0: Item replacing ItemStacks

07 Aug 22:59
Compare
Choose a tag to compare

This add a new way of making ItemStack without ItemBuilder, it has all ItemMeta & ItemStacks method, with this way no need of using ItemMeta.

Note: no documentation is on Item.java.

Version 3.0.0: new ItemBuilder()

24 Jul 13:00
Compare
Choose a tag to compare

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();

Version 1.8.8-2.0.1

10 Jul 15:16
Compare
Choose a tag to compare

Fixed Versions in gradle.properties

1.8.8-1.0.2: DyeBuilder and PotionBuilder

15 Jan 18:27
Compare
Choose a tag to compare

This release contains mayor changes to the api, and adds new ItemBuilders.

This release contains mayor changes to the api, combining the ItemBuilder with all other builders.

   public static final ItemStack DYE_ITEM = ItemBuilder.create(Material.INK_SACK, 3)
            .build();

    public static final ItemStack POTION_ITEM = ItemBuilder.create(Material.POTION)
            .setMainEffect(PotionEffectType.HEAL)
            .addCustomPotionEffect(new PotionEffect(PotionEffectType.ABSORPTION, 30*20, 4))
            .build();

Full Changelog: 1.8.8-1.0.0...1.8.8-1.0.1... 1.8.8-1.0.2

1.8.8-1.0.0: ItemBuilder

19 Nov 13:48
Compare
Choose a tag to compare

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();