onPickupItem
- Added in
- v0.8.7
- Permission
mod.macros.events.player.onpickupitem
Raised when an item is picked up by the player
Variables
Name
Description
%PICKUPAMOUNT%
Amount of items picked up
%PICKUPITEM%
Display name of the picked up item
%PICKUPDATA%
Metadata of the picked up item
%PICKUPID%
Item id of the picked up item