Skip to content

MilkBucket ​

class · pocketmine\item\MilkBucket · source

Extends Item
Implements ConsumableItem

Methods ​

canStartUsingItem() ​

php
public function canStartUsingItem(\pocketmine\player\Player $player) : bool

getAdditionalEffects() ​

php
public function getAdditionalEffects() : array

getMaxStackSize() ​

php
public function getMaxStackSize() : int

getResidue() ​

php
public function getResidue() : \pocketmine\item\Item

onConsume() ​

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

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