PillarRotationTrait
Table of Contents
Properties
$axis
protected
int
$axis
= \pocketmine\math\Axis::Y
Methods
getAxis()
public
getAxis() : int
Tags
Return values
int —place()
public
place(BlockTransaction $tx, Item $item, Block $blockReplace, Block $blockClicked, int $face, Vector3 $clickVector[, Player|null $player = null ]) : bool
Parameters
- $tx : BlockTransaction
- $item : Item
- $blockReplace : Block
- $blockClicked : Block
- $face : int
- $clickVector : Vector3
- $player : Player|null = null
Tags
Return values
bool —setAxis()
public
setAxis(int $axis) : $this
Parameters
- $axis : int