public class CompoundTagConverter extends Object implements TagConverter<CompoundTag,Map>
| Constructor and Description |
|---|
CompoundTagConverter() |
| Modifier and Type | Method and Description |
|---|---|
Map |
convert(CompoundTag tag)
Converts a tag to a value.
|
CompoundTag |
convert(String name,
Map value)
Converts a value to a tag.
|
public Map convert(CompoundTag tag)
TagConverterconvert in interface TagConverter<CompoundTag,Map>tag - Tag to convert.public CompoundTag convert(String name, Map value)
TagConverterconvert in interface TagConverter<CompoundTag,Map>name - Name of the tag.value - Value to convert.Copyright © 2021. All rights reserved.