Skip to content

AmethystCluster ​

final class · pocketmine\block\AmethystCluster · source

Extends Transparent
Implements AnyFacing

Constants ​

STAGE_CLUSTER ​

php
public const STAGE_CLUSTER = 3

STAGE_LARGE_BUD ​

php
public const STAGE_LARGE_BUD = 2

STAGE_MEDIUM_BUD ​

php
public const STAGE_MEDIUM_BUD = 1

STAGE_SMALL_BUD ​

php
public const STAGE_SMALL_BUD = 0

Methods ​

describeBlockItemState() ​

php
public function describeBlockItemState(\pocketmine\data\runtime\RuntimeDataDescriber $w) : void

getDropsForCompatibleTool() ​

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

getDropsForIncompatibleTool() ​

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

getLightLevel() ​

php
public function getLightLevel() : int

getStage() ​

php
public function getStage() : int

getSupportType() ​

php
public function getSupportType(int $facing) : \pocketmine\block\utils\SupportType

isAffectedBySilkTouch() ​

php
public function isAffectedBySilkTouch() : bool

onNearbyBlockChange() ​

php
public function onNearbyBlockChange() : void

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

recalculateCollisionBoxes() protected ​

php
protected function recalculateCollisionBoxes() : array

setStage() ​

php
public function setStage(int $stage) : self

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