PHP Class pocketmine\entity\Squid

Inheritance: extends WaterAnimal, implements pocketmine\entity\Ageable
Datei anzeigen Open project: iTXTech/Genisys

Public Properties

Property Type Description
$dropExp
$height
$length
$swimDirection pocketmine\math\Vector3
$swimSpeed
$width

Public Methods

Method Description
attack ( $damage, EntityDamageEvent $source )
getDrops ( )
getName ( ) : string
initEntity ( )
onUpdate ( $currentTick )
spawnTo ( Player $player )

Private Methods

Method Description
generateRandomDirection ( )

Method Details

attack() public method

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

getDrops() public method

public getDrops ( )

getName() public method

public getName ( ) : string
return string

initEntity() public method

public initEntity ( )

onUpdate() public method

public onUpdate ( $currentTick )

spawnTo() public method

public spawnTo ( Player $player )
$player pocketmine\Player

Property Details

$dropExp public_oe property

public $dropExp

$height public_oe property

public $height

$length public_oe property

public $length

$swimDirection public_oe property

public Vector3,pocketmine\math $swimDirection
return pocketmine\math\Vector3

$swimSpeed public_oe property

public $swimSpeed

$width public_oe property

public $width