Skip to content

Class NbtDouble

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

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

Inheritance

objectNbtTagNbtDouble

Implements

IEquatable<NbtTag>, IEquatable<NbtDouble>

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

NbtDouble(double)

public NbtDouble(double Value)

Parameters

Value double

Properties

Value

public double Value { get; init; }

Property Value

double

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 NbtDouble(DoubleTag)

public static implicit operator NbtDouble(DoubleTag tag)

Parameters

tag DoubleTag

Returns

NbtDouble

implicit operator DoubleTag(NbtDouble)

public static implicit operator DoubleTag(NbtDouble tag)

Parameters

tag NbtDouble

Returns

DoubleTag