mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Player: added getItemCooldownExpiry()
This commit is contained in:
@ -575,6 +575,7 @@ This version features substantial changes to the network system, improving coher
|
||||
- `Player->breakBlock()`: destroy the target block in the current world (immediately)
|
||||
- `Player->consumeHeldItem()`: consume the previously activated item, e.g. eating food
|
||||
- `Player->continueBreakBlock()`: punch the target block during destruction in survival, advancing break animation and creating particles
|
||||
- `Player->getItemCooldownExpiry()`: returns the tick on which the player's cooldown for a given item expires
|
||||
- `Player->hasFiniteResources()`
|
||||
- `Player->interactBlock()`: interact (right click) the target block in the current world
|
||||
- `Player->interactEntity()`: interact (right click) the target entity, e.g. to apply a nametag (not implemented yet)
|
||||
|
Reference in New Issue
Block a user