getMetadata |
( |
|
$metadataKey | ) |
|
Returns a list of previously set metadata values from the implementing object's metadata store.
- Parameters
-
- Returns
- MetadataValue[]
Implemented in Player, Level, Entity, and Block.
hasMetadata |
( |
|
$metadataKey | ) |
|
Tests to see whether the implementing object contains the given metadata value in its metadata store.
- Parameters
-
- Returns
- boolean
Implemented in Player, Level, Entity, and Block.
removeMetadata |
( |
|
$metadataKey, |
|
|
Plugin |
$owningPlugin |
|
) |
| |
Removes the given metadata value from the implementing object's metadata store.
- Parameters
-
string | $metadataKey | |
Plugin | $owningPlugin | |
- Returns
- void
Implemented in Player, Level, Entity, and Block.
Sets a metadata value in the implementing object's metadata store.
- Parameters
-
- Returns
- void
Implemented in Player, Level, Entity, and Block.
The documentation for this interface was generated from the following file:
- /Users/Kids/Desktop/Doxygen/pocketmine/metadata/Metadatable.php