Sha256: a75fd533b9eddfd3a705230bf2614ff954c5f3d1df4a35f650e9f674f86efd67
Contents?: true
Size: 726 Bytes
Versions: 1
Compression:
Stored size: 726 Bytes
Contents
# nbt_utils Some classes for handling [Minecraft](http://minecraft.net) `.nbt` files. See the spec (`NBT.txt` in doc directory) for more info. ## Installation Requires Ruby 2.7 minimum. gem install nbt_utils ## Use ```ruby require 'nbt_utils' @file = NBTUtils::File.new @tag = @file.read('some_nbt_file.nbt') puts @tag.to_s @file.write('some_new_path.nbt', @tag, true) # true / false to gzip automatically ``` ### Copyright Copyright Michael Dungan, mpd@jesters-court.net, released under the MIT license. The files `NBT.txt`, `test.nbt`, `test_uncompressed.nbt`, `bigtest.nbt`, and `bigtest_uncompressed.nbt` in the doc directory are mirrored from the Minecraft website and not covered under the above license.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nbt_utils-0.5.0 | README.md |