PHP Class pocketmine\entity\FallingSand

Inheritance: extends Entity
Afficher le fichier Open project: iTXTech/Genisys

Méthodes publiques

Свойство Type Description
$canCollide
$height
$length
$width

Protected Properties

Свойство Type Description
$blockId
$damage
$drag
$gravity

Méthodes publiques

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

Méthodes protégées

Méthode Description
initEntity ( )

Method Details

attack() public méthode

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

canCollideWith() public méthode

public canCollideWith ( Entity $entity )
$entity Entity

getBlock() public méthode

public getBlock ( )

getDamage() public méthode

public getDamage ( )

initEntity() protected méthode

protected initEntity ( )

onUpdate() public méthode

public onUpdate ( $currentTick )

saveNBT() public méthode

public saveNBT ( )

spawnTo() public méthode

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