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