mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Block: added a bunch of state manipulation APIs
This commit is contained in:
@ -100,6 +100,12 @@ class Bed extends Transparent{
|
||||
return $this->head;
|
||||
}
|
||||
|
||||
/** @return $this */
|
||||
public function setHead(bool $head) : self{
|
||||
$this->head = $head;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isOccupied() : bool{
|
||||
return $this->occupied;
|
||||
}
|
||||
|
Reference in New Issue
Block a user