Class NbtEnd
Namespace: Void.Minecraft.Nbt.Tags
Assembly: Void.Minecraft.dll
Represents the payload-free tag that terminates an NBT compound.
public record NbtEnd : NbtTag, IEquatable<NbtTag>, IEquatable<NbtEnd>Inheritance
Implements
IEquatable<NbtTag>, IEquatable<NbtEnd>
Inherited Members
NbtTag.Name, NbtTag.Type, NbtTag.AsStream(NbtFormatOptions, bool), NbtTag.AsJsonNode(), NbtTag.ToString(), NbtTag.ToSnbt(), NbtTag.Parse(string), NbtTag.Parse(ReadOnlyMemory<byte>, out NbtTag, bool, NbtFormatOptions), NbtTag.Parse<T>(ReadOnlyMemory<byte>, out T, bool, NbtFormatOptions), NbtTag.ReadFrom<TBuffer>(ref TBuffer, bool), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
ToString()
Serializes this end tag as SNBT.
public override string ToString()Returns
The SNBT representation.
Operators
implicit operator NbtEnd(EndTag)
Converts an
public static implicit operator NbtEnd(EndTag _)Parameters
_ EndTag
The end tag to convert. Its state is not inspected.
Returns
The shared
implicit operator EndTag(NbtEnd)
Converts an
public static implicit operator EndTag(NbtEnd _)Parameters
_ NbtEnd
The end tag; its state is not inspected.
Returns
The shared SharpNBT end tag.