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