Skip to content

Releases: tr7zw/Item-NBT-API

2.15.3

11 Oct 15:12
eec2c09

Choose a tag to compare

What's Changed

  • Add 1.21.9/1.12.10 spigot/paper support
  • Fix gameprofile writing/reading in 1.20.5+
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.11.3 to 3.12.0 by @dependabot[bot] in #338
  • Bump org.apache.maven.plugins:maven-compiler-plugin from 3.14.0 to 3.14.1 by @dependabot[bot] in #337
  • Bump org.codehaus.mojo:license-maven-plugin from 2.6.0 to 2.7.0 by @dependabot[bot] in #336
  • Bump org.apache.maven.plugins:maven-shade-plugin from 3.6.0 to 3.6.1 by @dependabot[bot] in #335

Full Changelog: 2.15.2...2.15.3

2.15.2

26 Aug 20:02
71783a8

Choose a tag to compare

What's Changed

  • Mark 1.21.8 as compatible (it was before too, this just removes the warning in the log)
  • Fix 1.21.5 on spigot having CODEC errors
  • Fixed variables for the DataFixerUtil to use revisions
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.11.2 to 3.11.3 by @dependabot[bot] in #333

Full Changelog: 2.15.1...2.15.2

2.15.1

01 Jul 17:48
6bcd00d

Choose a tag to compare

What's Changed

New Contributors

  • @patyhank made their first contribution in #326
    Thank you so much for the contributions to the update, I wouldn't have been able to finish it in time.

Full Changelog: 2.15.0...2.15.1

2.15.0

17 Apr 19:19
35f541d

Choose a tag to compare

What's Changed

  • Add 1.21.5 support (Spigot/Paper/forks)
  • Updated Wiki pages a lot
  • Add DataVersion for itemstack conversions by @SoSeDiK in #319
  • Fixed list#remove(Object) removing every instance of the Object, not just the first one. #293
  • Add a method to extract difference between two compounds by @SoSeDiK in #321
  • Update "Reading world data" wiki example by @SoSeDiK in #320
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.11.1 to 3.11.2 by @dependabot in #312
  • Add EvenMoreFish to Plugins.md by @FireML in #311
  • Bump org.codehaus.mojo:license-maven-plugin from 2.4.0 to 2.5.0 by @dependabot in #309
  • Update wiki by @SoSeDiK in #313
  • Bump org.apache.maven.plugins:maven-compiler-plugin from 3.13.0 to 3.14.0 by @dependabot in #316

New Contributors

Full Changelog: 2.14.1...2.15.0

2.14.1

16 Dec 16:15
ae98859

Choose a tag to compare

What's Changed

  • Add 1.21.4 support
  • Add new experimental NBTJsonUtil#itemStackToJson method to use for 1.20.3+ Chat Hover Components
  • Update wiki by @SoSeDiK in #308
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.10.1 to 3.11.1 by @dependabot in #306

Full Changelog: 2.14.0...2.14.1

2.14.0

02 Nov 14:18
73776cf

Choose a tag to compare

What's Changed

  • Add 1.21.3 support (and 1.21.2, but you shouldn't be using this version)
  • Hide NBTFile/NBTContainer fully behind NBT (methods are now deprecated, pointing to the equivalent NBT replacement)
  • Add missing addCompound(ReadableNBT comp) to ReadWriteNBTCompoundList
  • Fix edge-case in writing out Bukkit items without data
  • Try to auto-detect pre 1.20.3 item nbt also via the "Count" tag for updating
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.8.0 to 3.10.0 by @dependabot in #297
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.10.0 to 3.10.1 by @dependabot in #300

Full Changelog: 2.13.2...2.14.0

2.13.2

10 Aug 18:29
0f92699

Choose a tag to compare

What's Changed

  • Add 1.21.1 support
  • Small wiki changes by @SoSeDiK in #287
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.7.0 to 3.8.0 by @dependabot in #290
  • Prevent chunk loading during tile entity tests by @SoSeDiK in #288

Full Changelog: 2.13.1...2.13.2

2.13.1

20 Jun 20:45
5280ba8

Choose a tag to compare

What's Changed

  • Fix Paper 1.21
  • Fix resolveCompound in ReadWriteNBT not returning ReadWriteNBT
  • Add a missing @Nullable flag 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 #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: 2.13.0...2.13.1

2.13.0

13 Jun 19:18
956ef15

Choose a tag to compare

What's Changed

  • Update to 1.21
  • Deprecated lots of old methods/constructors. Please migrate to the NBT class for faster and abstracted alternatives
  • Added new NBT.modifyComponents API for 1.20.5+ to modify vanilla components
  • Removed nbt-injector(you really shouldn't be using this) and nbt-data-api(never finished). This removed a lot of bloat from the jar
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.3 to 3.7.0 by @dependabot in #279
  • Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.3 to 3.6.0 by @dependabot in #278

Full Changelog: 2.12.4...2.13.0

2.12.4

30 Apr 13:35
c0a9197

Choose a tag to compare

What's Changed

  • Add 1.20.5 & 1.20.6 support
  • Add Datafixer support to upgrade item NBT to newer versions
  • Auto upgrade old ItemStacks when using NBT.itemStackFromNBT and the related methods (it will assume the NBT is 1.20.4 data, otherwise upgrade the NBT before yourself with the Datafixer)
  • Fix BlockEntity bug on Mojang mapped servers
  • Bump org.apache.maven.plugins:maven-source-plugin from 3.3.0 to 3.3.1 by @dependabot in #273
  • Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.2 to 3.5.3 by @dependabot in #277

Note

Due to Mojang changes to how ItemStacks work at runtime, vanilla NBT won't be visible on loaded ItemStacks in 1.20.5+ anymore. So modifying vanilla data will not work anymore in the same way as for 1.8-1.20.4, and all plugins need to be updated to be aware of that. If in doubt, feel free to ask on Discord.

Full Changelog: 2.12.3...2.12.4