![]() |
Bukkit
1.4.7-R1.0
|
Inheritance diagram for org.bukkit.metadata.MetadataValue:Public Member Functions | |
| Object | value () |
| Fetches the value of this metadata item. | |
| int | asInt () |
| Attempts to convert the value of this metadata item into an int. | |
| float | asFloat () |
| Attempts to convert the value of this metadata item into a float. | |
| double | asDouble () |
| Attempts to convert the value of this metadata item into a double. | |
| 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. | |
| byte | asByte () |
| Attempts to convert the value of this metadata item into a byte. | |
| boolean | asBoolean () |
| Attempts to convert the value of this metadata item into a boolean. | |
| String | asString () |
| Attempts to convert the value of this metadata item into a string. | |
| Plugin | getOwningPlugin () |
| Returns the Plugin that created this metadata item. | |
| void | invalidate () |
| Invalidates this metadata item, forcing it to recompute when next accessed. | |
Definition at line 5 of file MetadataValue.java.
| boolean org.bukkit.metadata.MetadataValue.asBoolean | ( | ) |
Attempts to convert the value of this metadata item into a boolean.
| byte org.bukkit.metadata.MetadataValue.asByte | ( | ) |
Attempts to convert the value of this metadata item into a byte.
| double org.bukkit.metadata.MetadataValue.asDouble | ( | ) |
Attempts to convert the value of this metadata item into a double.
| float org.bukkit.metadata.MetadataValue.asFloat | ( | ) |
Attempts to convert the value of this metadata item into a float.
| int org.bukkit.metadata.MetadataValue.asInt | ( | ) |
Attempts to convert the value of this metadata item into an int.
| long org.bukkit.metadata.MetadataValue.asLong | ( | ) |
Attempts to convert the value of this metadata item into a long.
| short org.bukkit.metadata.MetadataValue.asShort | ( | ) |
Attempts to convert the value of this metadata item into a short.
| String org.bukkit.metadata.MetadataValue.asString | ( | ) |
Attempts to convert the value of this metadata item into a string.
| Plugin org.bukkit.metadata.MetadataValue.getOwningPlugin | ( | ) |
Returns the Plugin that created this metadata item.
Referenced by org.bukkit.metadata.MetadataStoreBase< T >.setMetadata().
| void org.bukkit.metadata.MetadataValue.invalidate | ( | ) |
Invalidates this metadata item, forcing it to recompute when next accessed.
| Object org.bukkit.metadata.MetadataValue.value | ( | ) |
Fetches the value of this metadata item.