Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
pocketmine
entity
Snake
PHP Class pocketmine\entity\Snake
Inheritance:
extends
Entity
Show file
Open project: ClearSkyTeam/ClearSky
Class Usage Examples
Protected Properties
Property
Type
Description
$attackTime
Have fun guessing why
Public Methods
Method
Description
attack
(
$damage
,
EntityDamageEvent
$source
)
getDrops
( )
kill
( )
Method Details
attack()
public
method
public
attack
(
$damage
,
EntityDamageEvent
$source
)
$source
pocketmine\event\entity\EntityDamageEvent
getDrops()
public
method
public
getDrops
( )
kill()
public
method
public
kill
( )
Property Details
$attackTime
protected property
Have fun guessing why
protected
$attackTime