StraightOnlyRail
Extends BaseRail
Simple non-curvable rail.
Methods
describeBlockOnlyState() protected
php
protected function describeBlockOnlyState(\pocketmine\data\runtime\RuntimeDataDescriber $w) : voidgetCurrentShapeConnections() protected
php
protected function getCurrentShapeConnections() : arraygetShape()
php
public function getShape() : intsetShape()
php
public function setShape(int $shape) : selfsetShapeFromConnections() protected
php
protected function setShapeFromConnections(array $connections) : void