After much work the 2.0.0 of the NBTApi (dropped the Item part where possible) is done! Changelog:
- inventivetalent donated the new module "NBTInjector" that now makes it possible to save custom tags to Tiles and Entities!
- Many performance/bug/consistency fixes
- Moved from Jitpack to CodeMC (Don't use the old repo!)
- The entire public codebase is now documented, so make sure Maven/Gradle pull the javadocs!
- Instead of silently failing all methods are now throwing unchecked NbtApiException's
- NBTList's now implement the java List interface to make them useable in combination with other code
- Updated the Spigot page with more examples, usage and infos
- bStats is now inside the API instead of the plugin, so it even works when shaded
- Shading now requires relocating the packages to prevent conflicts between plugins with different versions
- The new plugin name for dependencies is "NBTAPI" and the package changed to "de.tr7zw.nbtapi"("de.tr7zw.changeme.nbtapi" when working with the not yet shaded+relocated api). The 2.0.0 version can be run at the same time as the 1.8.x versions to allow outdated plugins that still need "ItemNbtApi" to work
- Reworked the startup tests to provide better output and be better extendable
Feel free to join the Discord in case you need help with updating or the new NBTInjector.