net.minecraft.nbt

public class ShortTag

extends NumericTag

All mapped superinterfaces:

Tag

no
net.minecraft.nbt.ShortTag
net.minecraft.class_2516
net.minecraft.nbt.NbtShort
net.minecraft.src.C_4945_
net.minecraft.nbt.NBTTagShort

Field summary

Modifier and TypeField
private static final int
b
SELF_SIZE_IN_BITS
field_33231
field_33231
f_178082_
public static final TagType<ShortTag>
a
TYPE
field_21043
TYPE
f_129244_
private final short
c
data
field_11588
value
f_129245_

Constructor summary

ModifierConstructor
(short arg0)

Method summary

Modifier and TypeMethod
public static ShortTag
a(short arg0)
valueOf(short arg0)
method_23254(short arg0)
of(short value)
m_129258_(short p_129259_)
public void
a(DataOutput arg0)
write(DataOutput arg0)
method_10713(DataOutput arg0)
write(DataOutput arg0)
m_6434_(DataOutput arg0)
write(DataOutput arg0)
public byte
a()
getId()
method_10711()
getType()
m_7060_()
getTypeId()
public TagType<ShortTag>
b()
getType()
method_23258()
getNbtType()
m_6458_()
public ShortTag
d()
copy()
method_10704()
copy()
m_6426_()
clone()
public void
a(nw 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_()
asLong()
public int
f()
getAsInt()
method_10701()
intValue()
m_7047_()
asInt()
public short
g()
getAsShort()
method_10696()
shortValue()
m_7053_()
asShort()
public byte
h()
getAsByte()
method_10698()
byteValue()
m_7063_()
asByte()
public double
i()
getAsDouble()
method_10697()
doubleValue()
m_7061_()
asDouble()
public float
j()
getAsFloat()
method_10700()
floatValue()
m_7057_()
asFloat()
public Number
k()
getAsNumber()
method_10702()
numberValue()
m_8103_()