KillCommand
Extends VanillaCommand
Implements ExhaustiveOverloads
/kill [target]: kills the targets (players, mobs, or any entity with a selector such as @e[type=cow,r=20]); entities that cannot die (items, arrows...) are removed, like Bedrock.
Methods
__construct()
php
public function __construct()execute()
php
public function execute(\pocketmine\command\CommandSender $sender, string $commandLabel, array $args)getOverloads() 5.46.0
php
public function getOverloads() : array