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