Skip to content

PlayerToggleCrawlEvent 5.47.0 ​

class · pocketmine\event\player\PlayerToggleCrawlEvent · source

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 $isCrawling

Methods ​

__construct() ​

php
public function __construct(\pocketmine\player\Player $player, bool $isCrawling)

isCrawling() ​

php
public function isCrawling() : bool

VanillaMine is a fork of PocketMine-MP. Not affiliated with the PMMP team or Mojang.