Package net.minecraft.nbt
Class FloatTag
java.lang.Object
net.minecraft.nbt.Tag
net.minecraft.nbt.Tag.NumberTag
net.minecraft.nbt.FloatTag
public class FloatTag extends Tag.NumberTag
- Mappings:
Namespace Name official drintermediary net/minecraft/class_1408named net/minecraft/nbt/FloatTag
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.nbt.Tag
Tag.NumberTag -
Field Summary
Fields Modifier and Type Field Description private floatvalue -
Constructor Summary
-
Method Summary
Modifier and Type Method Description Tagcopy()booleanequals(Object other)bytegetByte()doublegetDouble()floatgetFloat()intgetInt()longgetLong()shortgetShort()bytegetType()inthashCode()(package private) voidread(DataInput input, int depth, PositionTracker tracker)StringtoString()(package private) voidwrite(DataOutput output)Methods inherited from class net.minecraft.nbt.Tag
asString, createByTypeId, isEmpty
-
Field Details
-
value
private float value- Mappings:
Namespace Name Mixin selector official bLdr;b:Fintermediary field_5914Lnet/minecraft/class_1408;field_5914:Fnamed valueLnet/minecraft/nbt/FloatTag;value:F
-
-
Constructor Details
-
FloatTag
FloatTag() -
FloatTag
public FloatTag(float value)- Mappings:
Namespace Name Mixin selector official <init>Ldr;<init>(F)Vintermediary <init>Lnet/minecraft/class_1408;<init>(F)Vnamed <init>Lnet/minecraft/nbt/FloatTag;<init>(F)V
-
-
Method Details
-
write
- Specified by:
writein classTag- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLeb;a(Ljava/io/DataOutput;)Vintermediary method_5062Lnet/minecraft/class_1419;method_5062(Ljava/io/DataOutput;)Vnamed writeLnet/minecraft/nbt/Tag;write(Ljava/io/DataOutput;)V
-
read
- Specified by:
readin classTag- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLeb;a(Ljava/io/DataInput;ILdw;)Vintermediary method_5061Lnet/minecraft/class_1419;method_5061(Ljava/io/DataInput;ILnet/minecraft/class_1413;)Vnamed readLnet/minecraft/nbt/Tag;read(Ljava/io/DataInput;ILnet/minecraft/nbt/PositionTracker;)V
-
getType
public byte getType() -
toString
-
copy
-
equals
-
hashCode
public int hashCode() -
getLong
public long getLong()- Specified by:
getLongin classTag.NumberTag- Mappings:
Namespace Name Mixin selector official cLeb$a;c()Jintermediary method_5066Lnet/minecraft/class_1419$class_1420;method_5066()Jnamed getLongLnet/minecraft/nbt/Tag$NumberTag;getLong()J
-
getInt
public int getInt()- Specified by:
getIntin classTag.NumberTag- Mappings:
Namespace Name Mixin selector official dLeb$a;d()Iintermediary method_5067Lnet/minecraft/class_1419$class_1420;method_5067()Inamed getIntLnet/minecraft/nbt/Tag$NumberTag;getInt()I
-
getShort
public short getShort()- Specified by:
getShortin classTag.NumberTag- Mappings:
Namespace Name Mixin selector official eLeb$a;e()Sintermediary method_5068Lnet/minecraft/class_1419$class_1420;method_5068()Snamed getShortLnet/minecraft/nbt/Tag$NumberTag;getShort()S
-
getByte
public byte getByte()- Specified by:
getBytein classTag.NumberTag- Mappings:
Namespace Name Mixin selector official fLeb$a;f()Bintermediary method_5069Lnet/minecraft/class_1419$class_1420;method_5069()Bnamed getByteLnet/minecraft/nbt/Tag$NumberTag;getByte()B
-
getDouble
public double getDouble()- Specified by:
getDoublein classTag.NumberTag- Mappings:
Namespace Name Mixin selector official gLeb$a;g()Dintermediary method_5070Lnet/minecraft/class_1419$class_1420;method_5070()Dnamed getDoubleLnet/minecraft/nbt/Tag$NumberTag;getDouble()D
-
getFloat
public float getFloat()- Specified by:
getFloatin classTag.NumberTag- Mappings:
Namespace Name Mixin selector official hLeb$a;h()Fintermediary method_5071Lnet/minecraft/class_1419$class_1420;method_5071()Fnamed getFloatLnet/minecraft/nbt/Tag$NumberTag;getFloat()F
-