Skip to content

TagCommand 5.46.0 ​

class · pocketmine\command\defaults\TagCommand · source

Extends VanillaCommand
Implements ExhaustiveOverloads

Bedrock /tag: /tag <targets> add <name>, /tag <targets> remove <name>, /tag <targets> list. Tags are stored in the entities (Entity::getCommandTags()) and matched by the tag= selector argument.

Methods ​

__construct() ​

php
public function __construct()

execute() ​

php
public function execute(\pocketmine\command\CommandSender $sender, string $commandLabel, array $args)

getOverloads() ​

php
public function getOverloads() : array

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.