Class LongArrayTagConverter
java.lang.Object
com.viaversion.nbt.conversion.converter.LongArrayTagConverter
- All Implemented Interfaces:
TagConverter<LongArrayTag,long[]>
A converter that converts between LongArrayTag and long[].
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(long[] value) Converts a value to a tag.long[]convert(LongArrayTag tag) Converts a tag to a value.
-
Constructor Details
-
LongArrayTagConverter
public LongArrayTagConverter()
-
-
Method Details
-
convert
Description copied from interface:TagConverterConverts a tag to a value.- Specified by:
convertin interfaceTagConverter<LongArrayTag,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<LongArrayTag,long[]> - Parameters:
value- Value to convert.- Returns:
- The converted tag.
-