pocketmine\metadata\Metadatable::getMetadata PHP Method

getMetadata() public method

Returns a list of previously set metadata values from the implementing object's metadata store.
public getMetadata ( string $metadataKey ) : MetadataValue[]
$metadataKey string
return MetadataValue[]
    public function getMetadata($metadataKey);