Rail
Extends BaseRail
Methods
describeBlockOnlyState() protected
php
protected function describeBlockOnlyState(\pocketmine\data\runtime\RuntimeDataDescriber $w) : voidgetCurrentShapeConnections() protected
php
protected function getCurrentShapeConnections() : arraygetPossibleConnectionDirectionsOneConstraint() protected
php
protected function getPossibleConnectionDirectionsOneConstraint(int $constraint) : arraygetShape()
php
public function getShape() : intsetShape()
php
public function setShape(int $shape) : selfsetShapeFromConnections() protected
php
protected function setShapeFromConnections(array $connections) : void