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