Skip to content

Releases: Amulet-Team/Amulet-NBT

Amulet NBT v1.0.3.4

22 Dec 12:48
386f0e2
Compare
Choose a tag to compare

Added builds for Python 3.7, 3.8 and 3.9

Fixed an issue with the build workflow

Amulet NBT v1.0.3.3

22 Dec 12:40
Compare
Choose a tag to compare

Added builds for Python 3.7, 3.8 and 3.9

Amulet NBT v1.0.3.2

16 Nov 08:16
Compare
Choose a tag to compare

Changes

  • Fixed a dependency issue during the setup/installation process where numpy would be attempted to be imported before it was installed

Amulet NBT v1.0.3.1

11 Nov 13:21
Compare
Choose a tag to compare

All releases from now onwards can be installed from PyPi using pip install amulet-nbt

Build test 2

11 Nov 10:42
Compare
Choose a tag to compare
Build test 2 Pre-release
Pre-release
1.0.3.1b3

Moved workflows into the correct directory

Build test 1

11 Nov 10:42
Compare
Choose a tag to compare
Build test 1 Pre-release
Pre-release
1.0.3.1b2

Added github actions for test and built

Amulet NBT v1.0.3

13 Feb 19:54
Compare
Choose a tag to compare

Bugfix and API improvement release for Amulet-NBT

Changes

  • Added the get() method to NBTFile object, arguments and behavior is the same as the get() method from dict objects
  • Added a check to ensure that only GZip'd files are decompressed by checking the gzip header

Amulet NBT v1.0.2

15 Dec 15:49
Compare
Choose a tag to compare

Bugfix release for Amulet-NBT

Changes

  • Fixed an issue when creating an TAG_List from a SNBT string that contained an empty list

Amulet NBT v1.0.1

02 Dec 02:26
Compare
Choose a tag to compare

Bugfix release for Amulet-NBT

Changes

  • Added a .pop() method to the NBTFile class that behaves like the dict.pop() method
  • Fixed an issue where unnecessary warnings were printed when saving _TAG_Array subclasses
  • Fixed an issue in from_snbt() where strings wouldn't be un-escaped if they had quotes around them
  • Changed the name argument in the setup() call in setup.py to match the expected normalized form described in PEP 503

Amulet NBT v1.0.0

20 Nov 21:11
Compare
Choose a tag to compare

Initial release of the Amulet-NBT library

This library is a continuation and port of the old PyMCLevel NBT library to Python 3.7. However, this library also has additional features and departures.

Changes

  • Loaded NBT files are now contained in a NBTFile object which allows for the setting of the root name for NBT/DAT files
    • NBTFile objects act as a wrapper around TAG_Compound objects, so accessing top-level keys from the NBTFile object will work the same as it would from the TAG_Compound object
  • Little endian support is no longer a context specific mode or state, little and big endian files can be saved and loaded via boolean flags to the respective methods
  • NBT arrays, such as TAG_Int_Array and TAG_Long_Array, do not immediately cast the supplied array to the required dtype for that tag array, but will cast to appropriate dtype when saving in both little and big endian mode
  • All NBT Tag objects have a to_snbt() method which return the object's value as a valid SNBT string as outlined on the Minecraft NBT Wiki page
  • A from_snbt() method was added to parse full NBT tag objects from a given SNBT string
  • A pure python implementation is also present and will be used instead if the cython version cannot be loaded
    • If you wish to know which version was loaded, the amulet_nbt.IMPLEMENTATION attribute will return "cython" for the cython version and "python" for the pure-python one.