GenisysPro
for Minecraft PE/Windows 10 v1.1.x
Feature-rich server software for Minecraft PE and Windows 10 Edition
|
Public Member Functions | |
setMetadata ($metadataKey, MetadataValue $newMetadataValue) | |
getMetadata ($metadataKey) | |
hasMetadata ($metadataKey) | |
removeMetadata ($metadataKey, Plugin $owningPlugin) | |
getMetadata | ( | $metadataKey | ) |
Returns a list of previously set metadata values from the implementing object's metadata store.
string | $metadataKey |
Implemented in Player, Level, Entity, Block, and OfflinePlayer.
hasMetadata | ( | $metadataKey | ) |
Tests to see whether the implementing object contains the given metadata value in its metadata store.
string | $metadataKey |
Implemented in Player, Level, Entity, Block, and OfflinePlayer.
removeMetadata | ( | $metadataKey, | |
Plugin | $owningPlugin | ||
) |
Removes the given metadata value from the implementing object's metadata store.
string | $metadataKey | |
Plugin | $owningPlugin |
Implemented in Player, Level, Entity, Block, and OfflinePlayer.
setMetadata | ( | $metadataKey, | |
MetadataValue | $newMetadataValue | ||
) |
Sets a metadata value in the implementing object's metadata store.
string | $metadataKey | |
MetadataValue | $newMetadataValue |
Implemented in Player, Level, Entity, Block, and OfflinePlayer.