net.minecraft.nbt

public record NbtDouble

implements AbstractNbtNumber

net.minecraft.nbt.DoubleTag
net.minecraft.class_2489
net.minecraft.nbt.NbtDouble

Field summary

Modifier and TypeField
private final double
value
comp_3818
value
private static final int
SELF_SIZE_IN_BYTES
field_41720
SIZE
public static final NbtDouble
ZERO
field_21030
ZERO
public static final NbtType<NbtDouble>
TYPE
field_21031
TYPE

Constructor summary

ModifierConstructor
public (double value)

Method summary

Modifier and TypeMethod
public static NbtDouble
valueOf(double data)
method_23241(double arg0)
of(double value)
public void
write(DataOutput output)
method_10713(DataOutput arg0)
write(DataOutput arg0)
public int
sizeInBytes()
method_47988()
getSizeInBytes()
public byte
getId()
method_10711()
getType()
public NbtType<NbtDouble>
getType()
method_23258()
getNbtType()
public NbtDouble
copy()
method_10707()
copy()
public void
accept(TagVisitor visitor)
method_32289(class_5627 arg0)
accept(NbtElementVisitor arg0)
public long
longValue()
method_10699()
longValue()
public int
intValue()
method_10701()
intValue()
public short
shortValue()
method_10696()
shortValue()
public byte
byteValue()
method_10698()
byteValue()
public double
doubleValue()
method_10697()
doubleValue()
public float
floatValue()
method_10700()
floatValue()
public Number
box()
method_10702()
numberValue()
public NbtScanner$Result
accept(StreamTagVisitor visitor)
method_39850(class_6836 arg0)
doAccept(NbtScanner arg0)
public double
value()
comp_3818()
value()
public NbtElement
copy()
method_10707()
copy()