FenceGate
Extends Transparent
Implements HorizontalFacing, WoodMaterial
Properties
$inWall protected
php
protected bool $inWall$open protected
php
protected bool $openMethods
describeBlockOnlyState() protected
php
protected function describeBlockOnlyState(\pocketmine\data\runtime\RuntimeDataDescriber $w) : voidgetFlameEncouragement()
php
public function getFlameEncouragement() : intgetFlammability()
php
public function getFlammability() : intgetFuelTime()
php
public function getFuelTime() : intgetSupportType()
php
public function getSupportType(int $facing) : \pocketmine\block\utils\SupportTypeisInWall()
php
public function isInWall() : boolisOpen()
php
public function isOpen() : boolonInteract()
php
public function onInteract(\pocketmine\item\Item $item, int $face, \pocketmine\math\Vector3 $clickVector, ?\pocketmine\player\Player $player = null, array &$returnedItems = []) : boolonNearbyBlockChange()
php
public function onNearbyBlockChange() : voidplace()
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) : boolrecalculateCollisionBoxes() protected
php
protected function recalculateCollisionBoxes() : arraysetInWall()
php
public function setInWall(bool $inWall) : selfsetOpen()
php
public function setOpen(bool $open) : self