RedstoneOre
Extends Opaque
Implements Lightable
Methods
getDropsForCompatibleTool()
php
public function getDropsForCompatibleTool(\pocketmine\item\Item $item) : arraygetLightLevel()
php
public function getLightLevel() : intgetXpDropAmount() protected
php
protected function getXpDropAmount() : intisAffectedBySilkTouch()
php
public function isAffectedBySilkTouch() : boolonInteract()
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() : voidonRandomTick()
php
public function onRandomTick() : voidticksRandomly()
php
public function ticksRandomly() : bool