Package net.minecraft.nbt
Class NbtDouble
java.lang.Object
net.minecraft.nbt.NbtElement
net.minecraft.nbt.NbtElement.AbstractNbtNumber
net.minecraft.nbt.NbtDouble
- Mappings:
Namespace Name official dpintermediary net/minecraft/class_348named net/minecraft/nbt/NbtDouble
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.nbt.NbtElement
NbtElement.AbstractNbtNumber -
Field Summary
FieldsFields inherited from class net.minecraft.nbt.NbtElement
TYPES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbytecopy()doublebooleanfloatbytegetType()inthashCode()intintValue()long(package private) voidread(DataInput input, int depth, PositionTracker tracker) shorttoString()(package private) voidwrite(DataOutput output) Methods inherited from class net.minecraft.nbt.NbtElement
asString, createFromType, isEmpty
-
Field Details
-
value
private double value- Mappings:
Namespace Name Mixin selector official bLdp;b:Dintermediary field_996Lnet/minecraft/class_348;field_996:Dnamed valueLnet/minecraft/nbt/NbtDouble;value:D
-
-
Constructor Details
-
NbtDouble
NbtDouble() -
NbtDouble
public NbtDouble(double value) - Mappings:
Namespace Name Mixin selector official <init>Ldp;<init>(D)Vintermediary <init>Lnet/minecraft/class_348;<init>(D)Vnamed <init>Lnet/minecraft/nbt/NbtDouble;<init>(D)V
-
-
Method Details
-
write
- Specified by:
writein classNbtElement- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLeb;a(Ljava/io/DataOutput;)Vintermediary method_1650Lnet/minecraft/class_605;method_1650(Ljava/io/DataOutput;)Vnamed writeLnet/minecraft/nbt/NbtElement;write(Ljava/io/DataOutput;)V
-
read
- Specified by:
readin classNbtElement- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLeb;a(Ljava/io/DataInput;ILdw;)Vintermediary method_1649Lnet/minecraft/class_605;method_1649(Ljava/io/DataInput;ILnet/minecraft/class_1944;)Vnamed readLnet/minecraft/nbt/NbtElement;read(Ljava/io/DataInput;ILnet/minecraft/nbt/PositionTracker;)V
-
getType
public byte getType()- Specified by:
getTypein classNbtElement- Mappings:
Namespace Name Mixin selector official aLeb;a()Bintermediary method_1645Lnet/minecraft/class_605;method_1645()Bnamed getTypeLnet/minecraft/nbt/NbtElement;getType()B
-
toString
- Specified by:
toStringin classNbtElement- Mappings:
Namespace Name Mixin selector official toStringLeb;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_605;toString()Ljava/lang/String;named toStringLnet/minecraft/nbt/NbtElement;toString()Ljava/lang/String;
-
copy
- Specified by:
copyin classNbtElement- Mappings:
Namespace Name Mixin selector official bLeb;b()Leb;intermediary method_1651Lnet/minecraft/class_605;method_1651()Lnet/minecraft/class_605;named copyLnet/minecraft/nbt/NbtElement;copy()Lnet/minecraft/nbt/NbtElement;
-
equals
- Overrides:
equalsin classNbtElement- Mappings:
Namespace Name Mixin selector official equalsLeb;equals(Ljava/lang/Object;)Zintermediary equalsLnet/minecraft/class_605;equals(Ljava/lang/Object;)Znamed equalsLnet/minecraft/nbt/NbtElement;equals(Ljava/lang/Object;)Z
-
hashCode
public int hashCode()- Overrides:
hashCodein classNbtElement- Mappings:
Namespace Name Mixin selector official hashCodeLeb;hashCode()Iintermediary hashCodeLnet/minecraft/class_605;hashCode()Inamed hashCodeLnet/minecraft/nbt/NbtElement;hashCode()I
-
longValue
public long longValue()- Specified by:
longValuein classNbtElement.AbstractNbtNumber- Mappings:
Namespace Name Mixin selector official cLeb$a;c()Jintermediary method_7371Lnet/minecraft/class_605$class_1947;method_7371()Jnamed longValueLnet/minecraft/nbt/NbtElement$AbstractNbtNumber;longValue()J
-
intValue
public int intValue()- Specified by:
intValuein classNbtElement.AbstractNbtNumber- Mappings:
Namespace Name Mixin selector official dLeb$a;d()Iintermediary method_7372Lnet/minecraft/class_605$class_1947;method_7372()Inamed intValueLnet/minecraft/nbt/NbtElement$AbstractNbtNumber;intValue()I
-
shortValue
public short shortValue()- Specified by:
shortValuein classNbtElement.AbstractNbtNumber- Mappings:
Namespace Name Mixin selector official eLeb$a;e()Sintermediary method_7373Lnet/minecraft/class_605$class_1947;method_7373()Snamed shortValueLnet/minecraft/nbt/NbtElement$AbstractNbtNumber;shortValue()S
-
byteValue
public byte byteValue()- Specified by:
byteValuein classNbtElement.AbstractNbtNumber- Mappings:
Namespace Name Mixin selector official fLeb$a;f()Bintermediary method_7374Lnet/minecraft/class_605$class_1947;method_7374()Bnamed byteValueLnet/minecraft/nbt/NbtElement$AbstractNbtNumber;byteValue()B
-
doubleValue
public double doubleValue()- Specified by:
doubleValuein classNbtElement.AbstractNbtNumber- Mappings:
Namespace Name Mixin selector official gLeb$a;g()Dintermediary method_7375Lnet/minecraft/class_605$class_1947;method_7375()Dnamed doubleValueLnet/minecraft/nbt/NbtElement$AbstractNbtNumber;doubleValue()D
-
floatValue
public float floatValue()- Specified by:
floatValuein classNbtElement.AbstractNbtNumber- Mappings:
Namespace Name Mixin selector official hLeb$a;h()Fintermediary method_7376Lnet/minecraft/class_605$class_1947;method_7376()Fnamed floatValueLnet/minecraft/nbt/NbtElement$AbstractNbtNumber;floatValue()F
-