public interface Field<T>
| Modifier and Type | Method and Description |
|---|---|
Tag<?> |
getValue(String name,
T value)
Convert a value to its serialized NBT form
|
T |
getValue(Tag<?> tag)
Get the value of this field from the given tag
|
T getValue(Tag<?> tag) throws IllegalArgumentException
tag - The tag to useIllegalArgumentException - when the tag is of the wrong typeCopyright © 2011–2014 Flow Powered. All rights reserved.