ShulkerBox
Extends Opaque
Implements AnyFacing
Methods
describeBlockOnlyState() protected
php
protected function describeBlockOnlyState(\pocketmine\data\runtime\RuntimeDataDescriber $w) : voidgetCreativeDrops() 5.46.0
php
public function getCreativeDrops() : arraygetDropsForCompatibleTool()
php
public function getDropsForCompatibleTool(\pocketmine\item\Item $item) : arraygetMaxStackSize()
php
public function getMaxStackSize() : intgetPickedItem()
php
public function getPickedItem(bool $addUserData = false) : \pocketmine\item\ItemgetSupportType()
php
public function getSupportType(int $facing) : \pocketmine\block\utils\SupportTypeonInteract()
php
public function onInteract(\pocketmine\item\Item $item, int $face, \pocketmine\math\Vector3 $clickVector, ?\pocketmine\player\Player $player = null, array &$returnedItems = []) : boolplace()
php
public function place(\pocketmine\world\BlockTransaction $tx, \pocketmine\item\Item $item, \pocketmine\block\Block $blockReplace, \pocketmine\block\Block $blockClicked, int $face, \pocketmine\math\Vector3 $clickVector, ?\pocketmine\player\Player $player = null) : boolreadStateFromWorld()
php
public function readStateFromWorld() : \pocketmine\block\BlockwriteStateToWorld()
php
public function writeStateToWorld() : void