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