net.minecraft.nbt

public abstract class NumericTag

implements Tag

nn
net.minecraft.nbt.NumericTag
net.minecraft.class_2514
net.minecraft.nbt.AbstractNbtNumber
net.minecraft.src.C_4944_
net.minecraft.nbt.NBTNumber

Constructor summary

ModifierConstructor
protected ()

Method summary

Modifier and TypeMethod
public abstract long
e()
getAsLong()
method_10699()
longValue()
m_7046_()
asLong()
public abstract int
f()
getAsInt()
method_10701()
intValue()
m_7047_()
asInt()
public abstract short
g()
getAsShort()
method_10696()
shortValue()
m_7053_()
asShort()
public abstract byte
h()
getAsByte()
method_10698()
byteValue()
m_7063_()
asByte()
public abstract double
i()
getAsDouble()
method_10697()
doubleValue()
m_7061_()
asDouble()
public abstract float
j()
getAsFloat()
method_10700()
floatValue()
m_7057_()
asFloat()
public abstract Number
k()
getAsNumber()
method_10702()
numberValue()
m_8103_()