PHP Class pocketmine\entity\FallingSand

Inheritance: extends Entity
Datei anzeigen 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_oe property

protected $blockId

$canCollide public_oe property

public $canCollide

$damage protected_oe property

protected $damage

$drag protected_oe property

protected $drag

$gravity protected_oe property

protected $gravity

$height public_oe property

public $height

$length public_oe property

public $length

$width public_oe property

public $width