Skip to content

EnderChest ​

class · pocketmine\block\EnderChest · source

Extends Transparent
Implements HorizontalFacing

Methods ​

getDropsForCompatibleTool() ​

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

getLightLevel() ​

php
public function getLightLevel() : int

getSupportType() ​

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

isAffectedBySilkTouch() ​

php
public function isAffectedBySilkTouch() : 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.