Package net.minecraft.nbt
Class IntTag
java.lang.Object
net.minecraft.nbt.AbstractNumberTag
net.minecraft.nbt.IntTag
- All Implemented Interfaces:
Tag
public class IntTag extends AbstractNumberTag
- Mappings:
Namespace Name official mvintermediary net/minecraft/class_2497named net/minecraft/nbt/IntTag
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classIntTag.Cache -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateIntTag(int value) -
Method Summary
Modifier and Type Method Description voidaccept(NbtTagVisitor visitor)IntTagcopy()booleanequals(Object o)bytegetByte()doublegetDouble()floatgetFloat()intgetInt()longgetLong()NumbergetNumber()TagReader<IntTag>getReader()shortgetShort()bytegetType()inthashCode()static IntTagof(int value)voidwrite(DataOutput output)Methods inherited from class net.minecraft.nbt.AbstractNumberTag
toString
-
Field Details
-
READER
- Mappings:
Namespace Name Mixin selector official aLmv;a:Lnk;intermediary field_21037Lnet/minecraft/class_2497;field_21037:Lnet/minecraft/class_4614;named READERLnet/minecraft/nbt/IntTag;READER:Lnet/minecraft/nbt/TagReader;
-
value
private final int value- Mappings:
Namespace Name Mixin selector official bLmv;b:Iintermediary field_11525Lnet/minecraft/class_2497;field_11525:Inamed valueLnet/minecraft/nbt/IntTag;value:I
-
-
Constructor Details
-
IntTag
private IntTag(int value)- Mappings:
Namespace Name Mixin selector official <init>Lmv;<init>(I)Vintermediary <init>Lnet/minecraft/class_2497;<init>(I)Vnamed <init>Lnet/minecraft/nbt/IntTag;<init>(I)V
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official aLmv;a(I)Lmv;intermediary method_23247Lnet/minecraft/class_2497;method_23247(I)Lnet/minecraft/class_2497;named ofLnet/minecraft/nbt/IntTag;of(I)Lnet/minecraft/nbt/IntTag;
-
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 dLmv;d()Lmv;intermediary method_10592Lnet/minecraft/class_2497;method_10592()Lnet/minecraft/class_2497;named copyLnet/minecraft/nbt/IntTag;copy()Lnet/minecraft/nbt/IntTag;
-
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;
-