net.minecraft.nbt

public class ShortTag

extends NumericTag

All mapped superinterfaces:

Tag

mr
net.minecraft.nbt.ShortTag
net.minecraft.class_2516
net.minecraft.nbt.ShortTag
net.minecraft.nbt.ShortNBT
net.minecraft.server.v1_16_R3.NBTTagShort

Field summary

Modifier and TypeField
public static final TagType<ShortTag>
a
TYPE
field_21043
READER
field_229700_a_
private final short
b
data
field_11588
value
field_74752_a
data

Constructor summary

ModifierConstructor
private (short value)

Method summary

Modifier and TypeMethod
public static ShortTag
a(short arg0)
valueOf(short arg0)
method_23254(short arg0)
of(short value)
func_229701_a_(short arg0)
public void
a(DataOutput arg0)
write(DataOutput arg0)
method_10713(DataOutput arg0)
write(DataOutput arg0)
func_74734_a(DataOutput arg0)
write(DataOutput arg0)
public byte
a()
getId()
method_10711()
getType()
func_74732_a()
getTypeId()
public TagType<ShortTag>
b()
getType()
method_23258()
getReader()
func_225647_b_()
public ShortTag
d()
copy()
method_10704()
copy()
func_74737_b()
clone()
public Component
a(String arg0, int arg1)
getPrettyDisplay(String arg0, int arg1)
method_10710(String arg0, int arg1)
toText(String arg0, int arg1)
func_199850_a(String arg0, int arg1)
public long
e()
getAsLong()
method_10699()
getLong()
func_150291_c()
asLong()
public int
f()
getAsInt()
method_10701()
getInt()
func_150287_d()
asInt()
public short
g()
getAsShort()
method_10696()
getShort()
func_150289_e()
asShort()
public byte
h()
getAsByte()
method_10698()
getByte()
func_150290_f()
asByte()
public double
i()
getAsDouble()
method_10697()
getDouble()
func_150286_g()
asDouble()
public float
j()
getAsFloat()
method_10700()
getFloat()
func_150288_h()
asFloat()
public Number
k()
getAsNumber()
method_10702()
getNumber()
func_209908_j()