Package net.minecraft.nbt
Class DoubleTag
java.lang.Object
net.minecraft.nbt.AbstractNumberTag
net.minecraft.nbt.DoubleTag
- All Implemented Interfaces:
Tag
public class DoubleTag extends AbstractNumberTag
- Mappings:
Namespace Name official mrintermediary net/minecraft/class_2489named net/minecraft/nbt/DoubleTag
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateDoubleTag(double value) -
Method Summary
Modifier and Type Method Description voidaccept(NbtTagVisitor visitor)DoubleTagcopy()booleanequals(Object o)bytegetByte()doublegetDouble()floatgetFloat()intgetInt()longgetLong()NumbergetNumber()TagReader<DoubleTag>getReader()shortgetShort()bytegetType()inthashCode()static DoubleTagof(double value)voidwrite(DataOutput output)Methods inherited from class net.minecraft.nbt.AbstractNumberTag
toString
-
Field Details
-
ZERO
- Mappings:
Namespace Name Mixin selector official aLmr;a:Lmr;intermediary field_21030Lnet/minecraft/class_2489;field_21030:Lnet/minecraft/class_2489;named ZEROLnet/minecraft/nbt/DoubleTag;ZERO:Lnet/minecraft/nbt/DoubleTag;
-
READER
- Mappings:
Namespace Name Mixin selector official bLmr;b:Lnk;intermediary field_21031Lnet/minecraft/class_2489;field_21031:Lnet/minecraft/class_4614;named READERLnet/minecraft/nbt/DoubleTag;READER:Lnet/minecraft/nbt/TagReader;
-
value
private final double value- Mappings:
Namespace Name Mixin selector official cLmr;c:Dintermediary field_11520Lnet/minecraft/class_2489;field_11520:Dnamed valueLnet/minecraft/nbt/DoubleTag;value:D
-
-
Constructor Details
-
DoubleTag
private DoubleTag(double value)- Mappings:
Namespace Name Mixin selector official <init>Lmr;<init>(D)Vintermediary <init>Lnet/minecraft/class_2489;<init>(D)Vnamed <init>Lnet/minecraft/nbt/DoubleTag;<init>(D)V
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official aLmr;a(D)Lmr;intermediary method_23241Lnet/minecraft/class_2489;method_23241(D)Lnet/minecraft/class_2489;named ofLnet/minecraft/nbt/DoubleTag;of(D)Lnet/minecraft/nbt/DoubleTag;
-
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 dLmr;d()Lmr;intermediary method_10585Lnet/minecraft/class_2489;method_10585()Lnet/minecraft/class_2489;named copyLnet/minecraft/nbt/DoubleTag;copy()Lnet/minecraft/nbt/DoubleTag;
-
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;
-