Class FloatTagConverter
java.lang.Object
com.viaversion.nbt.conversion.converter.FloatTagConverter
- All Implemented Interfaces:
TagConverter<FloatTag,Float>
A converter that converts between FloatTag and float.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FloatTagConverter
public FloatTagConverter()
-
-
Method Details
-
convert
Description copied from interface:TagConverterConverts a tag to a value.- Specified by:
convertin interfaceTagConverter<FloatTag,Float> - Parameters:
tag- Tag to convert.- Returns:
- The converted value.
-
convert
Description copied from interface:TagConverterConverts a value to a tag.- Specified by:
convertin interfaceTagConverter<FloatTag,Float> - Parameters:
value- Value to convert.- Returns:
- The converted tag.
-