FixedMetadataValue, LazyMetadataValue, MetadataValueAdapterpublic interface MetadataValue
| Modifier and Type | Method | Description | 
|---|---|---|
| boolean | asBoolean() | Attempts to convert the value of this metadata item into a boolean. | 
| byte | asByte() | Attempts to convert the value of this metadata item into a byte. | 
| double | asDouble() | Attempts to convert the value of this metadata item into a double. | 
| float | asFloat() | Attempts to convert the value of this metadata item into a float. | 
| int | asInt() | Attempts to convert the value of this metadata item into an int. | 
| long | asLong() | Attempts to convert the value of this metadata item into a long. | 
| short | asShort() | Attempts to convert the value of this metadata item into a short. | 
| java.lang.String | asString() | Attempts to convert the value of this metadata item into a string. | 
| Plugin | getOwningPlugin() | Returns the  Pluginthat created this metadata item. | 
| void | invalidate() | Invalidates this metadata item, forcing it to recompute when next
 accessed. | 
| java.lang.Object | value() | Fetches the value of this metadata item. | 
java.lang.Object value()
int asInt()
float asFloat()
double asDouble()
long asLong()
short asShort()
byte asByte()
boolean asBoolean()
java.lang.String asString()
Plugin getOwningPlugin()
Plugin that created this metadata item.void invalidate()
Copyright © 2018. All rights reserved.