Speedgot
UtilityAPI
-----
Make your life easier and faster.
Download Now
26.3 KB .jar
Overview
Updates (
--
)
Reviews (
---
)
Version History
Discussion
New Item feature
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.
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());
----------
,
Feb 25, 2022
View on SpigotMC
Resource Information
Author:
----------
Total Downloads:
248
First Release:
Feb 23, 2022
Last Update:
Feb 26, 2022
Category:
---------------
All-Time Rating:
0 ratings
Version
-----
Released:
--------------------
Downloads:
------
Version Rating:
----------------------
--
ratings