Skip to content

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

objectNbtTagNbtEnd

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

string

The SNBT representation.

Operators

implicit operator NbtEnd(EndTag)

Converts an to the shared instance.

public static implicit operator NbtEnd(EndTag _)

Parameters

_ EndTag

The end tag to convert. Its state is not inspected.

Returns

NbtEnd

The shared instance.

implicit operator EndTag(NbtEnd)

Converts an to the shared SharpNBT end-tag instance.

public static implicit operator EndTag(NbtEnd _)

Parameters

_ NbtEnd

The end tag; its state is not inspected.

Returns

EndTag

The shared SharpNBT end tag.