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