SurvivalBlockBreakHandler
Constants
DEFAULT_FX_INTERVAL_TICKS
php
public const DEFAULT_FX_INTERVAL_TICKS = 5Methods
__construct()
php
public function __construct(\pocketmine\player\Player $player, \pocketmine\math\Vector3 $blockPos, \pocketmine\block\Block $block, int $targetedFace, int $maxPlayerDistance, int $fxTickInterval = self::DEFAULT_FX_INTERVAL_TICKS)__destruct()
php
public function __destruct()getBlockPos()
php
public function getBlockPos() : \pocketmine\math\Vector3getBreakProgress()
php
public function getBreakProgress() : floatgetBreakSpeed()
php
public function getBreakSpeed() : floatgetTargetedFace()
php
public function getTargetedFace() : intsetTargetedFace()
php
public function setTargetedFace(int $face) : voidupdate()
php
public function update() : bool