PHP Class pocketmine\entity\FallingSand

Inheritance: extends Entity
Show file Open project: iTXTech/Genisys

Public Properties

Property Type Description
$canCollide
$height
$length
$width

Protected Properties

Property Type Description
$blockId
$damage
$drag
$gravity

Public Methods

Method Description
attack ( $damage, EntityDamageEvent $source )
canCollideWith ( Entity $entity )
getBlock ( )
getDamage ( )
onUpdate ( $currentTick )
saveNBT ( )
spawnTo ( Player $player )

Protected Methods

Method Description
initEntity ( )

Method Details

attack() public method

public attack ( $damage, EntityDamageEvent $source )
$source pocketmine\event\entity\EntityDamageEvent

canCollideWith() public method

public canCollideWith ( Entity $entity )
$entity Entity

getBlock() public method

public getBlock ( )

getDamage() public method

public getDamage ( )

initEntity() protected method

protected initEntity ( )

onUpdate() public method

public onUpdate ( $currentTick )

saveNBT() public method

public saveNBT ( )

spawnTo() public method

public spawnTo ( Player $player )
$player pocketmine\Player

Property Details

$blockId protected property

protected $blockId

$canCollide public property

public $canCollide

$damage protected property

protected $damage

$drag protected property

protected $drag

$gravity protected property

protected $gravity

$height public property

public $height

$length public property

public $length

$width public property

public $width