Loading [MathJax]/extensions/tex2jax.js
PocketMine-MP 5.27.1 git-9af3cde03fabbe4129c79e46dc87ffa0fff446e6
All Classes Namespaces Functions Variables Enumerations Enumerator Pages
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: