net.minecraft.nbt

public interface NumericTag

extends PrimitiveTag

uq
net.minecraft.nbt.NumericTag
net.minecraft.class_2514
net.minecraft.nbt.AbstractNbtNumber
net.minecraft.src.C_4944_

Method summary

Modifier and TypeMethod
byte
j()
byteValue()
method_10698()
byteValue()
m_384163_()
short
i()
shortValue()
method_10696()
shortValue()
m_384523_()
int
h()
intValue()
method_10701()
intValue()
m_383950_()
long
g()
longValue()
method_10699()
longValue()
m_383929_()
float
l()
floatValue()
method_10700()
floatValue()
m_384588_()
double
k()
doubleValue()
method_10697()
doubleValue()
m_384364_()
Number
m()
box()
method_10702()
numberValue()
m_384052_()
default Optional<Number>
o()
asNumber()
method_68599()
asNumber()
m_385669_()
default Optional<Byte>
p()
asByte()
method_68600()
asByte()
m_388822_()
default Optional<Short>
q()
asShort()
method_68601()
asShort()
m_385740_()
default Optional<Integer>
r()
asInt()
method_68602()
asInt()
m_384708_()
default Optional<Long>
s()
asLong()
method_68603()
asLong()
m_383878_()
default Optional<Float>
t()
asFloat()
method_68604()
asFloat()
m_384816_()
default Optional<Double>
u()
asDouble()
method_68605()
asDouble()
m_386961_()
default Optional<Boolean>
v()
asBoolean()
method_68606()
asBoolean()
m_385586_()