Skip to content

PowderSnow 5.46.0 ​

class · pocketmine\block\PowderSnow · source

Extends Transparent

Powder snow. It has no collision on the server, so entities and items sink through it; players wearing leather boots can stand and walk on it because the client handles their movement. Entities inside it are extinguished and take no fall damage, and freeze (see Living::doFreezeTick()). It drops nothing, even with silk touch, and is picked up with an empty bucket.

Not implemented: slowing down non-player entities inside it.

Methods ​

getBucketFillSound() ​

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

getDropsForCompatibleTool() ​

php
public function getDropsForCompatibleTool(\pocketmine\item\Item $item) : array

hasEntityCollision() ​

php
public function hasEntityCollision() : bool

isAffectedBySilkTouch() ​

php
public function isAffectedBySilkTouch() : bool

isSolid() ​

php
public function isSolid() : bool

onEntityInside() ​

php
public function onEntityInside(\pocketmine\entity\Entity $entity) : bool

recalculateCollisionBoxes() protected ​

php
protected function recalculateCollisionBoxes() : array

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