Skip to content

Class NbtShort

Namespace: Void.Minecraft.Nbt.Tags
Assembly: Void.Minecraft.dll

public record NbtShort : NbtTag, IEquatable<NbtTag>, IEquatable<NbtShort>

Inheritance

objectNbtTagNbtShort

Implements

IEquatable<NbtTag>, IEquatable<NbtShort>

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

NbtShort(short)

public NbtShort(short Value)

Parameters

Value short

Properties

Value

public short Value { get; init; }

Property Value

short

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

Operators

implicit operator NbtShort(ShortTag)

public static implicit operator NbtShort(ShortTag tag)

Parameters

tag ShortTag

Returns

NbtShort

implicit operator ShortTag(NbtShort)

public static implicit operator ShortTag(NbtShort tag)

Parameters

tag NbtShort

Returns

ShortTag