PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
Loading...
Searching...
No Matches
pocketmine\world\particle\BlockPunchParticle Class Reference
+ Inheritance diagram for pocketmine\world\particle\BlockPunchParticle:
+ Collaboration diagram for pocketmine\world\particle\BlockPunchParticle:

Public Member Functions

 __construct (private Block $block, private int $face)
 
 encode (Vector3 $pos)
 

Detailed Description

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

Definition at line 35 of file BlockPunchParticle.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\world\particle\BlockPunchParticle::__construct ( private Block $block,
private int $face )

Definition at line 36 of file BlockPunchParticle.php.

Member Function Documentation

◆ encode()

pocketmine\world\particle\BlockPunchParticle::encode ( Vector3 $pos)
Returns
ClientboundPacket[]

Implements pocketmine\world\particle\Particle.

Definition at line 41 of file BlockPunchParticle.php.


The documentation for this class was generated from the following file: