mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Block: added a bunch of state manipulation APIs
This commit is contained in:
@ -55,6 +55,14 @@ class EndPortalFrame extends Opaque{
|
||||
return 0b111;
|
||||
}
|
||||
|
||||
public function hasEye() : bool{ return $this->eye; }
|
||||
|
||||
/** @return $this */
|
||||
public function setEye(bool $eye) : self{
|
||||
$this->eye = $eye;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getLightLevel() : int{
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user