Skip to content

PlayerBedLeaveEvent ​

class · pocketmine\event\player\PlayerBedLeaveEvent · source

Extends PlayerEvent

Methods ​

__construct() ​

php
public function __construct(\pocketmine\player\Player $player, \pocketmine\block\Block $bed)

getBed() ​

php
public function getBed() : \pocketmine\block\Block

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