Skip to content

Item_Pickup Event

wagyourtail edited this page Aug 19, 2020 · 1 revision

1.2.5+

this event is fired when an item stack is picked up.

This event passes some arguments to javascript which can be accessed by the ArrayList<String, Object> called args. a list of these properties is:

  • item: ItemStackHelper item stack added to inventory. (the count on this is the number of items picked up)