Skip to content

Cauldron ​

final class · pocketmine\block\Cauldron · source

Extends Transparent

Methods ​

getSupportType() ​

php
public function getSupportType(int $facing) : \pocketmine\block\utils\SupportType

onInteract() ​

php
public function onInteract(\pocketmine\item\Item $item, int $face, \pocketmine\math\Vector3 $clickVector, ?\pocketmine\player\Player $player = null, array &$returnedItems = []) : bool

onNearbyBlockChange() ​

php
public function onNearbyBlockChange() : void

onPrecipitation() 5.46.0 ​

php
public function onPrecipitation(\pocketmine\world\weather\Precipitation $precipitation) : void

Rain (5% chance) and snow (10%) falling into an empty cauldron start filling it with water or powder snow.

recalculateCollisionBoxes() protected ​

php
protected function recalculateCollisionBoxes() : array

writeStateToWorld() ​

php
public function writeStateToWorld() : void

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