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: 10 months ago
JSON representation
Item content implementation for Spigot API
- Host: GitHub
- URL: https://github.com/efekos/itemcontent
- Owner: efekos
- License: mit
- Created: 2024-01-21T19:28:52.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-29T03:41:24.000Z (about 2 years ago)
- Last Synced: 2024-11-10T23:05:22.604Z (over 1 year ago)
- Topics: java, spigot, spigot-api, spigot-apis, spigot-java, spigot-resource, spigot-resources, spiogt
- Language: Java
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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)`.