PocketMine-MP 5.15.1 git-5ef247620a7c6301a849b54e5ef1009217729fc8
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: