Tags
Creators
Details
2.13.1
Compatibility
Changes
What's Changed
- Fix Paper 1.21
- Fix resolveCompound in ReadWriteNBT not returning ReadWriteNBT
- Add a missing
@Nullableflag to resolveCompound - Removed old incorrect mappings on newer versions
- General code cleanup
- Fix datafixer now knowing the 1.21 version id
- Update wiki by @SoSeDiK in https://github.com/tr7zw/Item-NBT-API/pull/282
If you have questions about how to migrate your code away from NBTItem or how to support 1.20.5+ with the new ItemStack logic, check out the updated wiki! SoSeDiK did an amazing job updating the wiki, including many updated examples. Also, feel free to PR your plugin to the Plugin list on the wiki.
Full Changelog: https://github.com/tr7zw/Item-NBT-API/compare/2.13.0...2.13.1
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:nfGCP9fk:e3Zm4M6X"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:nfGCP9fk:e3Zm4M6X"
}
