Class NbtByte
Namespace: Void.Minecraft.Nbt.Tags
Assembly: Void.Minecraft.dll
public record NbtByte : NbtTag, IEquatable<NbtTag>, IEquatable<NbtByte>Inheritance
Implements
IEquatable<NbtTag>, IEquatable<NbtByte>
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
NbtByte(byte)
public NbtByte(byte Value = 0)Parameters
Value byte
NbtByte(bool)
public NbtByte(bool value)Parameters
value bool
Properties
IsBool
public bool IsBool { get; }Property Value
IsFalse
public bool IsFalse { get; }Property Value
IsTrue
public bool IsTrue { get; }Property Value
Value
public byte 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 NbtByte(ByteTag)
public static implicit operator NbtByte(ByteTag tag)Parameters
tag ByteTag
Returns
implicit operator ByteTag(NbtByte)
public static implicit operator ByteTag(NbtByte tag)Parameters
tag NbtByte