PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
Loading...
Searching...
No Matches
pocketmine\entity\animation\ConsumingItemAnimation Class Reference
+ Inheritance diagram for pocketmine\entity\animation\ConsumingItemAnimation:
+ Collaboration diagram for pocketmine\entity\animation\ConsumingItemAnimation:

Public Member Functions

 __construct (private Living $entity, private Item $item)
 
 encode ()
 

Detailed Description

Definition at line 32 of file ConsumingItemAnimation.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\entity\animation\ConsumingItemAnimation::__construct ( private Living $entity,
private Item $item )

Definition at line 34 of file ConsumingItemAnimation.php.

Member Function Documentation

◆ encode()

pocketmine\entity\animation\ConsumingItemAnimation::encode ( )
Returns
ClientboundPacket[]

Implements pocketmine\entity\animation\Animation.

Definition at line 39 of file ConsumingItemAnimation.php.


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