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:
@ -47,4 +47,12 @@ class Sponge extends Opaque{
|
||||
public function getNonPersistentStateBitmask() : int{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public function isWet() : bool{ return $this->wet; }
|
||||
|
||||
/** @return $this */
|
||||
public function setWet(bool $wet) : self{
|
||||
$this->wet = $wet;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user