Skip to content

Ice ​

class · pocketmine\block\Ice · source

Extends Transparent

Methods ​

getDropsForCompatibleTool() ​

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

getFrictionFactor() ​

php
public function getFrictionFactor() : float

getLightFilter() ​

php
public function getLightFilter() : int

isAffectedBySilkTouch() ​

php
public function isAffectedBySilkTouch() : bool

onBreak() ​

php
public function onBreak(\pocketmine\item\Item $item, ?\pocketmine\player\Player $player = null, array &$returnedItems = []) : bool

onRandomTick() ​

php
public function onRandomTick() : void

ticksRandomly() ​

php
public function ticksRandomly() : bool

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