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