Skip to content

ChorusFruit ​

class · pocketmine\item\ChorusFruit · source

Extends Food

Methods ​

getCooldownTag() ​

php
public function getCooldownTag() : ?string

getCooldownTicks() ​

php
public function getCooldownTicks() : int

getFoodRestore() ​

php
public function getFoodRestore() : int

getSaturationRestore() ​

php
public function getSaturationRestore() : float

onConsume() ​

php
public function onConsume(\pocketmine\entity\Living $consumer) : void

requiresHunger() ​

php
public function requiresHunger() : bool

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.