PHP Class pocketmine\entity\Squid

Inheritance: extends WaterAnimal, implements pocketmine\entity\Ageable
Show file 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 property

public $dropExp

$height public property

public $height

$length public property

public $length

$swimDirection public property

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

$swimSpeed public property

public $swimSpeed

$width public property

public $width