ItemNBT3 improves adding NBT to your items in Fabric Minecraft 1.18.
- Primitive installation with Gradle (tutorial)
- Advanced item serialization (tutorial):
- Custom (a class with read & write methods)
- Specification-based (create a specification for your serialized fields and read into a runtime compound)
- Linked (create a plain POJO and read & write directly into its fields with reflection)
- Built-in events
- Several advanced features (tutorial):
- Automatic decomposition
- Advanced reflection
- Inheritance support (experimental)
- Built-in events
- Custom type serializers
- Kotlin extensions (tutorial)
Please read the official GitHub wiki for a usage guide.