Skip to content

BlockTeleportEvent ​

class · pocketmine\event\block\BlockTeleportEvent · source

Extends BlockEvent
Implements Cancellable

Methods ​

__construct() ​

php
public function __construct(\pocketmine\block\Block $block, \pocketmine\math\Vector3 $to)

getTo() ​

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

setTo() ​

php
public function setTo(\pocketmine\math\Vector3 $to) : void

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