PHP Class pocketmine\block\RailBlock

Inheritance: extends Flowable
Show file Open project: ClearSkyTeam/ClearSky

Public Methods

Method Description
__toString ( )
getDirection ( )
getHardness ( )
getToolType ( )
isCurve ( )
isOnSlope ( )
onUpdate ( $type )
place ( Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, Player $player = null )
setDirection ( $face, $isOnSlope = false )

Method Details

__toString() public method

public __toString ( )

getDirection() public method

public getDirection ( )

getHardness() public method

public getHardness ( )

getToolType() public method

public getToolType ( )

isCurve() public method

public isCurve ( )

isOnSlope() public method

public isOnSlope ( )

onUpdate() public method

public onUpdate ( $type )

place() public method

public place ( Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, Player $player = null )
$item pocketmine\item\Item
$block Block
$target Block
$player pocketmine\Player

setDirection() public method

public setDirection ( $face, $isOnSlope = false )