Package net.minecraft.nbt
Class ShortTag
java.lang.Object
net.minecraft.nbt.AbstractNumberTag
net.minecraft.nbt.ShortTag
- All Implemented Interfaces:
Tag
public class ShortTag extends AbstractNumberTag
- Mappings:
Namespace Name official neintermediary net/minecraft/class_2516named net/minecraft/nbt/ShortTag
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classShortTag.Cache -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateShortTag(short value) -
Method Summary
Modifier and Type Method Description voidaccept(NbtTagVisitor visitor)ShortTagcopy()booleanequals(Object o)bytegetByte()doublegetDouble()floatgetFloat()intgetInt()longgetLong()NumbergetNumber()TagReader<ShortTag>getReader()shortgetShort()bytegetType()inthashCode()static ShortTagof(short value)voidwrite(DataOutput output)Methods inherited from class net.minecraft.nbt.AbstractNumberTag
toString
-
Field Details
-
READER
- Mappings:
Namespace Name Mixin selector official aLne;a:Lnk;intermediary field_21043Lnet/minecraft/class_2516;field_21043:Lnet/minecraft/class_4614;named READERLnet/minecraft/nbt/ShortTag;READER:Lnet/minecraft/nbt/TagReader;
-
value
private final short value- Mappings:
Namespace Name Mixin selector official bLne;b:Sintermediary field_11588Lnet/minecraft/class_2516;field_11588:Snamed valueLnet/minecraft/nbt/ShortTag;value:S
-
-
Constructor Details
-
ShortTag
private ShortTag(short value)- Mappings:
Namespace Name Mixin selector official <init>Lne;<init>(S)Vintermediary <init>Lnet/minecraft/class_2516;<init>(S)Vnamed <init>Lnet/minecraft/nbt/ShortTag;<init>(S)V
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official aLne;a(S)Lne;intermediary method_23254Lnet/minecraft/class_2516;method_23254(S)Lnet/minecraft/class_2516;named ofLnet/minecraft/nbt/ShortTag;of(S)Lnet/minecraft/nbt/ShortTag;
-
write
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLni;a(Ljava/io/DataOutput;)Vintermediary method_10713Lnet/minecraft/class_2520;method_10713(Ljava/io/DataOutput;)Vnamed writeLnet/minecraft/nbt/Tag;write(Ljava/io/DataOutput;)V
-
getType
public byte getType()- Mappings:
Namespace Name Mixin selector official aLni;a()Bintermediary method_10711Lnet/minecraft/class_2520;method_10711()Bnamed getTypeLnet/minecraft/nbt/Tag;getType()B
-
getReader
- Mappings:
Namespace Name Mixin selector official bLni;b()Lnk;intermediary method_23258Lnet/minecraft/class_2520;method_23258()Lnet/minecraft/class_4614;named getReaderLnet/minecraft/nbt/Tag;getReader()Lnet/minecraft/nbt/TagReader;
-
copy
- Mappings:
Namespace Name Mixin selector official dLne;d()Lne;intermediary method_10704Lnet/minecraft/class_2516;method_10704()Lnet/minecraft/class_2516;named copyLnet/minecraft/nbt/ShortTag;copy()Lnet/minecraft/nbt/ShortTag;
-
equals
-
hashCode
public int hashCode() -
accept
- Mappings:
Namespace Name Mixin selector official aLni;a(Lnm;)Vintermediary method_32289Lnet/minecraft/class_2520;method_32289(Lnet/minecraft/class_5627;)Vnamed acceptLnet/minecraft/nbt/Tag;accept(Lnet/minecraft/nbt/visitor/NbtTagVisitor;)V
-
getLong
public long getLong()- Specified by:
getLongin classAbstractNumberTag- Mappings:
Namespace Name Mixin selector official eLnd;e()Jintermediary method_10699Lnet/minecraft/class_2514;method_10699()Jnamed getLongLnet/minecraft/nbt/AbstractNumberTag;getLong()J
-
getInt
public int getInt()- Specified by:
getIntin classAbstractNumberTag- Mappings:
Namespace Name Mixin selector official fLnd;f()Iintermediary method_10701Lnet/minecraft/class_2514;method_10701()Inamed getIntLnet/minecraft/nbt/AbstractNumberTag;getInt()I
-
getShort
public short getShort()- Specified by:
getShortin classAbstractNumberTag- Mappings:
Namespace Name Mixin selector official gLnd;g()Sintermediary method_10696Lnet/minecraft/class_2514;method_10696()Snamed getShortLnet/minecraft/nbt/AbstractNumberTag;getShort()S
-
getByte
public byte getByte()- Specified by:
getBytein classAbstractNumberTag- Mappings:
Namespace Name Mixin selector official hLnd;h()Bintermediary method_10698Lnet/minecraft/class_2514;method_10698()Bnamed getByteLnet/minecraft/nbt/AbstractNumberTag;getByte()B
-
getDouble
public double getDouble()- Specified by:
getDoublein classAbstractNumberTag- Mappings:
Namespace Name Mixin selector official iLnd;i()Dintermediary method_10697Lnet/minecraft/class_2514;method_10697()Dnamed getDoubleLnet/minecraft/nbt/AbstractNumberTag;getDouble()D
-
getFloat
public float getFloat()- Specified by:
getFloatin classAbstractNumberTag- Mappings:
Namespace Name Mixin selector official jLnd;j()Fintermediary method_10700Lnet/minecraft/class_2514;method_10700()Fnamed getFloatLnet/minecraft/nbt/AbstractNumberTag;getFloat()F
-
getNumber
- Specified by:
getNumberin classAbstractNumberTag- Mappings:
Namespace Name Mixin selector official kLnd;k()Ljava/lang/Number;intermediary method_10702Lnet/minecraft/class_2514;method_10702()Ljava/lang/Number;named getNumberLnet/minecraft/nbt/AbstractNumberTag;getNumber()Ljava/lang/Number;
-