A pure CLS-compliant C# implementation of the Named Binary Tag (NBT) format specification commonly used with Minecraft applications, allowing easy reading/writing streams and serialization to other formats.
The BoolTag is an addition to this library that does not exist in the spec. This proposal is to remove it completely, and merge its little functionality into ByteTag with additional IsBool and BoolValue properties, as well as a constructor that accepts a boolean.
When reading from binary, it is impossible to differentiate from a ByteTag, so its only purpose is really for display when parsed from SNBT. That small functionality can be easily achieved by the ByteTag class.
The
BoolTag
is an addition to this library that does not exist in the spec. This proposal is to remove it completely, and merge its little functionality intoByteTag
with additionalIsBool
andBoolValue
properties, as well as a constructor that accepts a boolean.When reading from binary, it is impossible to differentiate from a
ByteTag
, so its only purpose is really for display when parsed from SNBT. That small functionality can be easily achieved by theByteTag
class.