DaanV2.NBT.Net 1.2.0

There is a newer version of this package available.
See the version list below for details.
Install-Package DaanV2.NBT.Net -Version 1.2.0
dotnet add package DaanV2.NBT.Net --version 1.2.0
<PackageReference Include="DaanV2.NBT.Net" Version="1.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DaanV2.NBT.Net --version 1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DaanV2.NBT.Net, 1.2.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install DaanV2.NBT.Net as a Cake Addin
#addin nuget:?package=DaanV2.NBT.Net&version=1.2.0

// Install DaanV2.NBT.Net as a Cake Tool
#tool nuget:?package=DaanV2.NBT.Net&version=1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

DaanV2-NBT.Net

A NBT library for reading and writing nbt files/data Nuget package

Usage

Read the file into a nbt structure

    Itag Compound = NBTReader.ReadFile("Path to file", Endianness.LittleEndian, NBTCompression.Auto);

Writes the nbt tag into a file

    ITag Tag;

    //Writes the tag to the specified file using GZIP compression and little endian methods
    NBTWriter.WriteFile("Path to file", Tag, NBTCompression.Gzip, Endianness.LittleEndian);

    //Writes the tag to the specified file using no compression and little endian methods
    NBTWriter.WriteFile("Path to file", Tag, Endianness.LittleEndian);

Building a structure

    CompoundBuilder Builder = new CompoundBuilder("Root", 10);
    Builder.Add("IsDetermined", true);
    Builder.Add("Amount", 5);

    ITag = Builder.GetResult();

Installation

Check that the nuget packages have been downloaded.

Dependencies:

Solved with NuGet

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.4.0 46 8/31/2021
1.3.0 105 1/19/2021
1.2.0 119 12/13/2020
1.1.0 239 9/3/2020
1.0.0 281 3/15/2020