1.5latestIntroducing ItemBuilderFeb 26, 2022 With the ItemBuilder class you can create and modify an ItemStack in just one line of code! The ideal solution if you just need to quickly create an item. Code (Text): ItemStack stack = new ItemBuilder(new ItemStack(Material.DIAMOND_SWORD)).setDisplayName(ChatColor.BLUE + "Ice Sword").addEnchant(Enchantment.KNOCKBACK, 3).addFlags(ItemFlag.HIDE_ENCHANTS).addToLore(ChatColor.WHITE + "Freezes Players").getItemStack();1.4Added one line Item creationFeb 26, 2022 You can now create an Item in only one line. Since you only have one line the possibilities to modify it are restricted. You can however still access all of the usual Item methods to modify it. Code (Text): // Example on how to add an item to a player inventory with a custom name in one line player.getInventory().addItem(new Item(Material.DIAMOND_SWORD, ChatColor.BLUE + "ice Sword").getItemStack());1.3Revised the CraftRecipe methods to get and set ingredients (formerly known as items)Feb 26, 2022 You can now use two new methods: Code (Text): CraftRecipe recipe = new CraftRecipe(new ItemStack(Material.DIAMOND), ingredients, "DiamondRecipe", this); Material mat = recipe.getIngredient(CraftingSlot.ROW2_COLUMN2); // Get Item you have to put into middle slot of the workbench recipe.setIngredient(mat, CraftingSlot.ROW1_COLUMN1); // Set item in middle slot of workbench recipe.addRecipe();1.2Added cooldownsFeb 25, 2022 You can now create and use cooldowns! For instructions check the main page.1.1New Item featureFeb 25, 2022 You can now use the new Item class. It works similar to ItemStacks but has the ItemMeta methods as well so you don't have to create ItemMetas for your ItemStacks anymore. .SpoilerTarget">Spoiler: Code Code (Text): Item item = new Item(Material.GOLDEN_SWORD); item.addEnchant(Enchantment.FIRE_ASPECT, 1, true); item.setName(ChatColor.RED + "Fire Sword"); item.addFlags(ItemFlag.HIDE_ENCHANTS); item.setUnbreakable(true); player.getInventory().addItem(item.getItemStack());1.0Feb 23, 2022
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta