Skip to content

Releases: tr7zw/Item-NBT-API

2.3.1 Release

09 Apr 17:45
Compare
Choose a tag to compare

A quick bugfix update without API changes:

  • Added the api-version 1.13. Only >= 1.13 uses this so it doesn't use legacy materials, which broke newer materials in NBTItems. Fixes #74
  • The version check was doing an HTTP request in the main thread, which was fine for the plugin version since it happened during enable, but shaded versions might do that sometime later when players are online, causing a short lag.

2.3.0 Release

01 Apr 23:36
Compare
Choose a tag to compare

Maintainance before 1.16 releases that fixes a few bugs here and there and adds some small new features.

  • Fixed the possibility that a broken test file causes the onEnable self-check to always fail
  • Added PersistendDataContainer API for Tiles and Entities. This replaces the NBT-Injector which won't get (maintained) support for 1.16. This API is usable for 1.14+, older versions have to use the NBT-Injector. You can use the 1.14/1.15 as transition period.
  • Added the NBTGameProfile class for converting GameProfiles from and to NBT
  • Fixed a problem in the 1.13 NBT-Injector
  • Added Streaming API. This adds to all NBTCompounds writeCompound(OutputStream) and to NBTContainer the constructor NBTContainer(InputStream inputsteam)
  • Added missing List types
  • Added more null/invalid state checks so null/air Items/dead entities/not placed tiles will throw an exception
  • You can now compare 2 compounds using equals (toString is used for the content)
  • Added (WIP) data API. Will become more useful in the future by providing Spigot like API for normally unreachable stuff.

2.2.0 Release

31 Dec 14:59
Compare
Choose a tag to compare

Update to 2.2.0 to fix a few somewhat critical bugs, add awesome new features and also to wish a happy new year to everyone!

  • Fixed NBT-Injector for 1.15.*
  • Throws exception when the Injector is used without enabeling it first
  • Added Java 11+ support! (Reflections where broken)
  • ListCompounds now extend NBTCompounds, enabeling all compound methods for them!
    • Nesting Compound Lists is now possible!
  • ToString Method now uses asNBTString()
    • asNBTString() got depricated
  • Fix List's Iterator/ListIterator off-by-one Error! (First element got skipped!)
  • ListIterator's previous() was wrong
  • Added Updatecheck that will log during startup rather there is a newer/older version
    • Also prints the package to identify outdated shaded api versions
  • Added working toString to lists
  • bStats was failing when loaded async
  • NBTItem.convertNBTtoItem(comp) used the root of the Compound, not the actually given one!
  • Added setItemStack and getItemStack methods to NBTCompounds as simple helper methods

2.1.1 Release

13 Dec 18:42
Compare
Choose a tag to compare

Update to 2.1.1

  • Add missing Entity mappings for 1.14
  • 1.15 Update

2.1.0 Release

23 Sep 19:02
Compare
Choose a tag to compare

Update to 2.1.0:

  • Fixed 1.12/11 invisible mobs
  • Fixed an NBTInjector exception that could happen in 1.13.2
  • If reflections were unable to get their hook, an NPE was thrown because the logger wasn't yet initialized
  • The NBTInjector won't enable by default, enable it during onLoad if you want to use it
  • Prevent /reload when the NBTInjector is enabled to prevent corrupt server states

2.0.0 Release

03 Aug 18:35
Compare
Choose a tag to compare

This version fixes a few bugs, adds exceptions instead of failing silently, adds the NBTInjector, better selfchecks and forces relocation of the api package.

1.14 update

28 May 15:33
21ca224
Compare
Choose a tag to compare