Skip to content

EntityMotionEvent ​

class · pocketmine\event\entity\EntityMotionEvent · source

Extends EntityEvent
Implements Cancellable

Methods ​

__construct() ​

php
public function __construct(\pocketmine\entity\Entity $entity, \pocketmine\math\Vector3 $mot)

getVector() ​

php
public function getVector() : \pocketmine\math\Vector3

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