Skip to content

BlockPunchParticle ​

class · pocketmine\world\particle\BlockPunchParticle · source

Implements Particle

This particle appears when a player is attacking a block face in survival mode attempting to break it.

Methods ​

__construct() ​

php
public function __construct(\pocketmine\block\Block $block, int $face)

encode() ​

php
public function encode(\pocketmine\math\Vector3 $pos) : array

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