Property | Type | Description | |
---|---|---|---|
$drag | |||
$dropExp | |||
$gravity | |||
$height | |||
$length | |||
$width |
Method | Description | |
---|---|---|
attack ( $damage, |
||
getDrops ( ) | ||
getName ( ) : string | 仇恨计时器 | |
initEntity ( ) | ||
onUpdate ( $currentTick ) | ||
spawnTo ( |
Method | Description | |
---|---|---|
generateDirection ( |
||
generateRandomDirection ( ) | ||
getNearestPlayer ( ) | ||
getVelY ( ) | ||
toFloat ( $num ) | * 返回一个一位小数 |
public attack ( $damage, |
||
$source |