Свойство | Type | Description | |
---|---|---|---|
$attackTime | |||
$drag | |||
$gravity | |||
$invisible |
Méthode | Description | |
---|---|---|
attack ( $damage, |
||
entityBaseTick ( $tickDiff = 1, $EnchantL ) | ||
getDrops ( ) : |
||
getLineOfSight ( integer $maxDistance, integer $maxLength, array $transparent = [] ) : |
||
getName ( ) | ||
getTargetBlock ( integer $maxDistance, array $transparent = [] ) : |
||
hasLineOfSight ( |
||
heal ( $amount, |
||
kill ( ) | ||
knockBack ( |
||
saveNBT ( ) | ||
setHealth ( $amount ) |
Méthode | Description | |
---|---|---|
initEntity ( ) |
public attack ( $damage, |
||
$source |
public getTargetBlock ( integer $maxDistance, array $transparent = [] ) : |
||
$maxDistance | integer | |
$transparent | array | |
Résultat |
public heal ( $amount, |
||
$source |
public knockBack ( |
||
$attacker |