net.minecraft.nbt

public class LongTag

extends NumericTag

All mapped superinterfaces:

Tag

pr
net.minecraft.nbt.LongTag
net.minecraft.class_2503
net.minecraft.nbt.NbtLong
net.minecraft.src.C_4934_
net.minecraft.nbt.NBTTagLong

Field summary

Modifier and TypeField
private static final int
b
SELF_SIZE_IN_BITS
field_33201
SIZE
f_177996_
public static final TagType<LongTag>
a
TYPE
field_21041
TYPE
f_128873_
private final long
c
data
field_11553
value
f_128874_

Constructor summary

ModifierConstructor
(long value)

Method summary

Modifier and TypeMethod
public static LongTag
a(long arg0)
valueOf(long arg0)
method_23251(long arg0)
of(long value)
m_128882_(long p_128883_)
public void
a(DataOutput arg0)
write(DataOutput arg0)
method_10713(DataOutput arg0)
write(DataOutput arg0)
m_6434_(DataOutput arg0)
public byte
a()
getId()
method_10711()
getType()
m_7060_()
public TagType<LongTag>
b()
getType()
method_23258()
getNbtType()
m_6458_()
public LongTag
d()
copy()
method_10621()
copy()
m_6426_()
public void
a(qg arg0)
accept(TagVisitor arg0)
method_32289(class_5627 arg0)
accept(NbtElementVisitor arg0)
m_142327_(C_141838_ arg0)
public long
e()
getAsLong()
method_10699()
longValue()
m_7046_()
public int
f()
getAsInt()
method_10701()
intValue()
m_7047_()
public short
g()
getAsShort()
method_10696()
shortValue()
m_7053_()
public byte
h()
getAsByte()
method_10698()
byteValue()
m_7063_()
public double
i()
getAsDouble()
method_10697()
doubleValue()
m_7061_()
public float
j()
getAsFloat()
method_10700()
floatValue()
m_7057_()
public Number
k()
getAsNumber()
method_10702()
numberValue()
m_8103_()
public StreamTagVisitor$ValueResult
a(pz arg0)
accept(StreamTagVisitor arg0)
method_39850(class_6836 arg0)
doAccept(NbtScanner arg0)
m_196533_(C_196121_ arg0)