Skip to content

RedMushroomBlock ​

class · pocketmine\block\RedMushroomBlock · source

Extends Opaque

Properties ​

$mushroomBlockType protected ​

php
protected \pocketmine\block\utils\MushroomBlockType $mushroomBlockType

Methods ​

describeBlockItemState() ​

php
public function describeBlockItemState(\pocketmine\data\runtime\RuntimeDataDescriber $w) : void

getCompostabilityChance() 5.46.0 ​

php
public function getCompostabilityChance() : int

getDropsForCompatibleTool() ​

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

getMushroomBlockType() ​

php
public function getMushroomBlockType() : \pocketmine\block\utils\MushroomBlockType

getPickedItem() ​

php
public function getPickedItem(bool $addUserData = false) : \pocketmine\item\Item

getSilkTouchDrops() ​

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

isAffectedBySilkTouch() ​

php
public function isAffectedBySilkTouch() : bool

setMushroomBlockType() ​

php
public function setMushroomBlockType(\pocketmine\block\utils\MushroomBlockType $mushroomBlockType) : self

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