Class NbtString
Namespace: Void.Minecraft.Nbt.Tags
Assembly: Void.Minecraft.dll
public record NbtString : NbtTag, IEquatable<NbtTag>, IEquatable<NbtString>Inheritance
Implements
IEquatable<NbtTag>, IEquatable<NbtString>
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
NbtString(string)
public NbtString(string Value)Parameters
Value string
Properties
Value
public string Value { 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 NbtString(StringTag)
public static implicit operator NbtString(StringTag tag)Parameters
tag StringTag
Returns
implicit operator StringTag(NbtString)
public static implicit operator StringTag(NbtString tag)Parameters
tag NbtString