Bell
Extends Transparent
Implements HorizontalFacing
Methods
describeBlockOnlyState() protected
php
protected function describeBlockOnlyState(\pocketmine\data\runtime\RuntimeDataDescriber $w) : voidgetAttachmentType()
php
public function getAttachmentType() : \pocketmine\block\utils\BellAttachmentTypegetDropsForIncompatibleTool()
php
public function getDropsForIncompatibleTool(\pocketmine\item\Item $item) : arraygetSupportType()
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 = []) : boolonNearbyBlockChange()
php
public function onNearbyBlockChange() : voidonProjectileHit()
php
public function onProjectileHit(\pocketmine\entity\projectile\Projectile $projectile, \pocketmine\math\RayTraceResult $hitResult) : 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() : arrayring()
php
public function ring(int $faceHit) : voidsetAttachmentType()
php
public function setAttachmentType(\pocketmine\block\utils\BellAttachmentType $attachmentType) : self