Skip to Content
⚠ Under Construction
ReferenceC++ APIPlayerPickupItemEvent

endstone::PlayerPickupItemEvent

Called when a player picks an item up from the ground.

Bases: endstone::Cancellable< PlayerEvent >

Functions:

NameDescription
PlayerPickupItemEvent
getItemGets 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:

Item

Last updated on