PHP Class pocketmine\block\TNT

Inheritance: extends Solid, implements Redstone, implements pocketmine\block\RedstoneConsumer
Show file Open project: iTXTech/Genisys

Protected Properties

Property Type Description
$id

Public Methods

Method Description
__construct ( )
canBeActivated ( ) : boolean
getBurnAbility ( ) : integer
getBurnChance ( ) : integer
getHardness ( )
getName ( ) : string
onActivate ( Item $item, Player $player = null )
onUpdate ( $type )
place ( Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, Player $player = null )
prime ( Player $player = null )

Method Details

__construct() public method

public __construct ( )

canBeActivated() public method

public canBeActivated ( ) : boolean
return boolean

getBurnAbility() public method

public getBurnAbility ( ) : integer
return integer

getBurnChance() public method

public getBurnChance ( ) : integer
return integer

getHardness() public method

public getHardness ( )

getName() public method

public getName ( ) : string
return string

onActivate() public method

public onActivate ( Item $item, Player $player = null )
$item pocketmine\item\Item
$player pocketmine\Player

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

prime() public method

public prime ( Player $player = null )
$player pocketmine\Player

Property Details

$id protected property

protected $id