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