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