MultiAnyFacingTrait
Used by blocks that can have multiple target faces in the area of one solid block, such as covering three sides of a corner.
Properties
$faces protected
php
protected array $facesMethods
describeBlockOnlyState() protected
php
protected function describeBlockOnlyState(\pocketmine\data\runtime\RuntimeDataDescriber $w) : voidgetFaces()
php
public function getFaces() : arrayhasFace()
php
public function hasFace(int $face) : boolsetFace()
php
public function setFace(int $face, bool $value) : selfsetFaces()
php
public function setFaces(array $faces) : self