PlayerToggleCrawlEvent 5.47.0
Extends PlayerEvent
Implements Cancellable
Called when a player starts or stops crawling (the client starts it when the player is forced into a gap 1 block high).
Properties
$isCrawling
php
public bool $isCrawlingMethods
__construct()
php
public function __construct(\pocketmine\player\Player $player, bool $isCrawling)isCrawling()
php
public function isCrawling() : bool