PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
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: