net.minecraft.nbt

public class ShortTag

extends NumericTag

All mapped superinterfaces:

Tag

ui
net.minecraft.nbt.ShortTag
net.minecraft.class_2516
net.minecraft.nbt.NbtShort
net.minecraft.nbt.NBTTagShort

Field summary

Modifier and TypeField
private static final int
b
SELF_SIZE_IN_BYTES
field_41728
SIZE
public static final TagType<ShortTag>
a
TYPE
field_21043
TYPE
private final short
c
data
field_11588
value

Constructor summary

ModifierConstructor
(short value)

Method summary

Modifier and TypeMethod
public static ShortTag
a(short arg0)
valueOf(short arg0)
method_23254(short arg0)
of(short value)
public void
a(DataOutput arg0)
write(DataOutput arg0)
method_10713(DataOutput arg0)
write(DataOutput arg0)
public int
a()
sizeInBytes()
method_47988()
getSizeInBytes()
public byte
b()
getId()
method_10711()
getType()
public TagType<ShortTag>
c()
getType()
method_23258()
getNbtType()
public ShortTag
e()
copy()
method_10704()
copy()
public void
a(ur arg0)
accept(TagVisitor arg0)
method_32289(class_5627 arg0)
accept(NbtElementVisitor arg0)
public long
f()
getAsLong()
method_10699()
longValue()
public int
g()
getAsInt()
method_10701()
intValue()
public short
h()
getAsShort()
method_10696()
shortValue()
public byte
i()
getAsByte()
method_10698()
byteValue()
public double
j()
getAsDouble()
method_10697()
doubleValue()
public float
k()
getAsFloat()
method_10700()
floatValue()
public Number
l()
getAsNumber()
method_10702()
numberValue()
public StreamTagVisitor$ValueResult
a(uk arg0)
accept(StreamTagVisitor arg0)
method_39850(class_6836 arg0)
doAccept(NbtScanner arg0)