Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
pocketmine
item
Potion
canBeConsumedBy
pocketmine\item\Potion::canBeConsumedBy PHP Method
Potion Class Documentation
显示文件
Open project: iTXTech/Genisys
canBeConsumedBy()
public
method
public
canBeConsumedBy
(
Entity
$entity
) :
boolean
$entity
pocketmine\entity\Entity
return
boolean
public function canBeConsumedBy(Entity $entity) : bool { return $entity instanceof Human; }
Potion
__construct
canBeConsumed
canBeConsumedBy
getColor
getEffectId
getEffects
getEffectsById
getMaxStackSize
getNameByMeta
onConsume