Class NbtList
Namespace: Void.Minecraft.Nbt.Tags
Assembly: Void.Minecraft.dll
public record NbtList : NbtTag, IEquatable<NbtTag>, IEquatable<NbtList>Inheritance
Implements
IEquatable<NbtTag>, IEquatable<NbtList>
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()
Constructors
NbtList(IEnumerable<NbtTag>, NbtTagType)
public NbtList(IEnumerable<NbtTag> Data, NbtTagType DataType)Parameters
Data IEnumerable<NbtTag>
DataType NbtTagType
Properties
Data
public IEnumerable<NbtTag> Data { get; init; }Property Value
DataType
public NbtTagType DataType { get; init; }Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()Returns
A string that represents the current object.
Operators
implicit operator NbtList(ListTag)
public static implicit operator NbtList(ListTag tag)Parameters
tag ListTag
Returns
implicit operator ListTag(NbtList)
public static implicit operator ListTag(NbtList tag)Parameters
tag NbtList