Package net.md_5.bungee.nbt.type
Class FloatTag
java.lang.Object
net.md_5.bungee.nbt.type.FloatTag
-
Field Summary
Fields inherited from interface net.md_5.bungee.nbt.Tag
ARRAY_HEADER, BYTE, BYTE_ARRAY, COMPOUND, CONSTRUCTORS, DOUBLE, END, FLOAT, INT, INT_ARRAY, LIST, LONG, LONG_ARRAY, OBJECT_HEADER, OBJECT_REFERENCE, SHORT, STRING, STRING_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanbytegetId()Gets the id of this tag's type.floatgetValue()inthashCode()voidread(DataInput input, NBTLimiter limiter) Reads the data into this tag.voidsetValue(float value) toString()voidwrite(DataOutput output) Writes this tag into aDataOutput.
-
Constructor Details
-
FloatTag
public FloatTag() -
FloatTag
public FloatTag(float value)
-
-
Method Details
-
read
Description copied from interface:TagReads the data into this tag.- Specified by:
readin interfaceTag- Parameters:
input- the input to read fromlimiter- the limiter for this read operation- Throws:
IOException- if an exception occurs during io operations
-
write
Description copied from interface:TagWrites this tag into aDataOutput.- Specified by:
writein interfaceTag- Parameters:
output- the output to write to- Throws:
IOException- if an exception occurs during io operations
-
getId
public byte getId()Description copied from interface:TypedTagGets the id of this tag's type. -
getValue
public float getValue() -
setValue
public void setValue(float value) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-