Свойство | Тип | Описание | |
---|---|---|---|
$canCollide | |||
$height | |||
$length | |||
$width |
Свойство | Тип | Описание | |
---|---|---|---|
$drag | |||
$gravity | |||
$item | |||
$owner | |||
$pickupDelay | |||
$thrower |
Метод | Описание | |
---|---|---|
attack ( $damage, |
||
canCollideWith ( |
||
getItem ( ) : |
||
getOwner ( ) : string | ||
getPickupDelay ( ) : integer | ||
getThrower ( ) : string | ||
onUpdate ( $currentTick ) | ||
saveNBT ( ) | ||
setOwner ( string $owner ) | ||
setPickupDelay ( integer $delay ) | ||
setThrower ( string $thrower ) | ||
spawnTo ( |
Метод | Описание | |
---|---|---|
initEntity ( ) |
public attack ( $damage, |
||
$source |