Releases: BelgianDev/CraftyBuilder
Releases · BelgianDev/CraftyBuilder
Version 3.1.0: Item replacing ItemStacks
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()
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
Fixed Versions in gradle.properties
1.8.8-1.0.2: DyeBuilder and PotionBuilder
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
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();