Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/efekos/itemcontent

Item content implementation for Spigot API
https://github.com/efekos/itemcontent

java spigot spigot-api spigot-apis spigot-java spigot-resource spigot-resources spiogt

Last synced: about 2 months ago
JSON representation

Item content implementation for Spigot API

Awesome Lists containing this project

README

        

# ItemContent

ItemContent is a class that represents an ItemStack fully compatible with hover events for Spigot API. Most of the spigot
plugins use really complicated looking NMS stuff to show an item in chat. But this repository makes the process a lot easier.
All you have to do is pass in an `ItemContent` as the content argument, and that's it! You can create custom `ItemContent`s
(trust me, you don't want to try this way), or use the parser method `ItemContent#from(ItemStack)`.