chrismin13 / AdditionsAPI

An API to create Custom Items with ease!
https://www.spigotmc.org/resources/additions-api.43955/
MIT License
21 stars 10 forks source link

Add getItemMeta / setItemMeta and possibility add NBTCompound etc... #50

Closed Euphillya closed 4 years ago

Euphillya commented 4 years ago

Hello on your API, its possible add modify NBT tag for custom your item ?

chrismin13 commented 4 years ago

Take a look at the CustomItemStack object. You can create a new CustomItemStack by giving it a normal ItemStack that is a Custom Item.

https://chrismin13.github.io/AdditionsAPI/com/chrismin13/additionsapi/items/CustomItemStack.html#addAllNBTData-java.util.Map-

Euphillya commented 4 years ago

Ah yes sorry :/