Skip to content

GlowLichen ​

class · pocketmine\block\GlowLichen · source

Extends Transparent
Implements MultiAnyFacing

Methods ​

canBeReplaced() ​

php
public function canBeReplaced() : bool

getCompostabilityChance() 5.46.0 ​

php
public function getCompostabilityChance() : int

getDrops() ​

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

getFlameEncouragement() ​

php
public function getFlameEncouragement() : int

getFlammability() ​

php
public function getFlammability() : int

getInitialPlaceFaces() protected ​

php
protected function getInitialPlaceFaces(\pocketmine\block\Block $blockReplace) : array

getLightLevel() ​

php
public function getLightLevel() : int

getSupportType() ​

php
public function getSupportType(int $facing) : \pocketmine\block\utils\SupportType

isSolid() ​

php
public function isSolid() : bool

onInteract() ​

php
public function onInteract(\pocketmine\item\Item $item, int $face, \pocketmine\math\Vector3 $clickVector, ?\pocketmine\player\Player $player = null, array &$returnedItems = []) : 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.