Skip to content

BorderBlock 5.47.0 ​

class · pocketmine\block\BorderBlock · source

Extends Wall

Border block (Bedrock world builder block, https://minecraft.wiki/w/Border). Without the Education Edition features, Bedrock treats it as a wall: same shape and connections as walls (1.5 blocks tall collision), hardness 0.2. Only operators in creative mode can place it; it never drops.

Methods ​

getDropsForCompatibleTool() ​

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

isAffectedBySilkTouch() ​

php
public function isAffectedBySilkTouch() : bool

place() ​

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) : bool

VanillaMine is a fork of PocketMine-MP. Not affiliated with the PMMP team or Mojang.