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
event
entity
EntityEatBlockEvent
PHP Class pocketmine\event\entity\EntityEatBlockEvent
Inheritance:
extends
EntityEatEvent
,
implements
pocketmine\event\Cancellable
Show file
Open project: iTXTech/Genisys
Class Usage Examples
Public Methods
Method
Description
__construct
(
Entity
$entity
,
pocketmine\item\FoodSource
$foodSource
)
getResidue
( ) :
Block
setResidue
(
$residue
)
Method Details
__construct()
public
method
public
__construct
(
Entity
$entity
,
pocketmine\item\FoodSource
$foodSource
)
$entity
pocketmine\entity\Entity
$foodSource
pocketmine\item\FoodSource
getResidue()
public
method
public
getResidue
( ) :
Block
return
pocketmine\block\Block
setResidue()
public
method
public
setResidue
(
$residue
)