Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/efekos/itemcontent
- Owner: efekos
- License: mit
- Created: 2024-01-21T19:28:52.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-05-29T03:41:24.000Z (7 months ago)
- Last Synced: 2024-05-29T16:46:32.484Z (7 months 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)`.