Skip to content

HangingSign ​

final class · pocketmine\item\HangingSign · source

Extends Item

Methods ​

__construct() ​

php
public function __construct(\pocketmine\item\ItemIdentifier $identifier, string $name, \pocketmine\block\Block $centerPointCeilingVariant, \pocketmine\block\Block $edgePointCeilingVariant, \pocketmine\block\Block $wallVariant)

getBlock() ​

php
public function getBlock(?int $clickedFace = null) : \pocketmine\block\Block

getFuelTime() ​

php
public function getFuelTime() : int

getMaxStackSize() ​

php
public function getMaxStackSize() : int

getPlacementTransaction() ​

php
public function getPlacementTransaction(\pocketmine\block\Block $blockReplace, \pocketmine\block\Block $blockClicked, int $face, \pocketmine\math\Vector3 $clickVector, ?\pocketmine\player\Player $player = null) : ?\pocketmine\world\BlockTransaction

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