Cauldron
Extends Transparent
Methods
getSupportType()
php
public function getSupportType(int $facing) : \pocketmine\block\utils\SupportTypeonInteract()
php
public function onInteract(\pocketmine\item\Item $item, int $face, \pocketmine\math\Vector3 $clickVector, ?\pocketmine\player\Player $player = null, array &$returnedItems = []) : boolonNearbyBlockChange()
php
public function onNearbyBlockChange() : voidonPrecipitation() 5.46.0
php
public function onPrecipitation(\pocketmine\world\weather\Precipitation $precipitation) : voidRain (5% chance) and snow (10%) falling into an empty cauldron start filling it with water or powder snow.
recalculateCollisionBoxes() protected
php
protected function recalculateCollisionBoxes() : arraywriteStateToWorld()
php
public function writeStateToWorld() : void