Package net.minecraft.nbt
Class LongTag
java.lang.Object
net.minecraft.nbt.AbstractNumberTag
net.minecraft.nbt.LongTag
- All Implemented Interfaces:
Tag
public class LongTag extends AbstractNumberTag
- Mappings:
Namespace Name official myintermediary net/minecraft/class_2503named net/minecraft/nbt/LongTag
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classLongTag.Cache -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateLongTag(long value) -
Method Summary
Modifier and Type Method Description voidaccept(NbtTagVisitor visitor)LongTagcopy()booleanequals(Object o)bytegetByte()doublegetDouble()floatgetFloat()intgetInt()longgetLong()NumbergetNumber()TagReader<LongTag>getReader()shortgetShort()bytegetType()inthashCode()static LongTagof(long value)voidwrite(DataOutput output)Methods inherited from class net.minecraft.nbt.AbstractNumberTag
toString
-
Field Details
-
READER
- Mappings:
Namespace Name Mixin selector official aLmy;a:Lnk;intermediary field_21041Lnet/minecraft/class_2503;field_21041:Lnet/minecraft/class_4614;named READERLnet/minecraft/nbt/LongTag;READER:Lnet/minecraft/nbt/TagReader;
-
value
private final long value- Mappings:
Namespace Name Mixin selector official bLmy;b:Jintermediary field_11553Lnet/minecraft/class_2503;field_11553:Jnamed valueLnet/minecraft/nbt/LongTag;value:J
-
-
Constructor Details
-
LongTag
private LongTag(long value)- Mappings:
Namespace Name Mixin selector official <init>Lmy;<init>(J)Vintermediary <init>Lnet/minecraft/class_2503;<init>(J)Vnamed <init>Lnet/minecraft/nbt/LongTag;<init>(J)V
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official aLmy;a(J)Lmy;intermediary method_23251Lnet/minecraft/class_2503;method_23251(J)Lnet/minecraft/class_2503;named ofLnet/minecraft/nbt/LongTag;of(J)Lnet/minecraft/nbt/LongTag;
-
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 dLmy;d()Lmy;intermediary method_10621Lnet/minecraft/class_2503;method_10621()Lnet/minecraft/class_2503;named copyLnet/minecraft/nbt/LongTag;copy()Lnet/minecraft/nbt/LongTag;
-
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;
-