Skip to content

UnknownBlock ​

class · pocketmine\block\UnknownBlock · source

Extends Transparent

Represents a block which is unrecognized or not implemented.

Methods ​

__construct() ​

php
public function __construct(\pocketmine\block\BlockIdentifier $idInfo, \pocketmine\block\BlockTypeInfo $typeInfo, int $stateData)

canBePlaced() ​

php
public function canBePlaced() : bool

describeBlockItemState() ​

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

getDrops() ​

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

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