Skip to content

PowderSnowCauldron 5.46.0 ​

final class · pocketmine\block\PowderSnowCauldron · source

Extends FillableCauldron

Cauldron filled with powder snow (cauldron_liquid=powder_snow). Filled and emptied with powder snow buckets; other liquids and potions turn it back into an empty cauldron. Snowfall fills it up (10% chance per precipitation update).

Methods ​

getEmptySound() ​

php
public function getEmptySound() : \pocketmine\world\sound\Sound

getFillSound() ​

php
public function getFillSound() : \pocketmine\world\sound\Sound

onInteract() ​

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

onPrecipitation() ​

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

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.