Class NbtStringSerializer
Namespace: Void.Minecraft.Nbt.Serializers.String
Assembly: Void.Minecraft.dll
Converts NBT tags to and from standard stringified NBT.
public static class NbtStringSerializerInheritance
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Deserialize(string)
Parses an SNBT compound.
public static NbtTag Deserialize(string value)Parameters
value string
The SNBT text.
Returns
The parsed tag.
Serialize(NbtTag)
Serializes an NBT tag, including its name only when the name is nonempty.
public static string Serialize(NbtTag tag)Parameters
tag NbtTag
The tag to serialize.
Returns
The SNBT representation.