endstone::PlayerPickupItemEvent
Called when a player picks an item up from the ground.
Bases: endstone::Cancellable< PlayerEvent >
Functions:
Name | Description |
---|---|
PlayerPickupItemEvent | |
getItem | Gets the Item picked up by the entity. |
PlayerPickupItemEvent
PlayerPickupItemEvent(Player &player, Item &item)
getItem
Item &getItem() const
Gets the Item picked up by the entity.
Returns:
Last updated on