跳至主要內容

ItemEvents.pickedUp

芒果凍布丁2025年3月29日小於 1 分鐘

/**
 * Invoked when a player picks up an item. Cancelling (in `ItemEvents.canPickUp`) will prevent the item from being picked up.
 */
function pickedUp(extra: $ResourceKey$$Type<($Item)>, handler: (event: $ItemPickedUpKubeEvent) => void): void
function pickedUp(handler: (event: $ItemPickedUpKubeEvent) => void): void
上次編輯於: 2025/3/29 上午5:04:42
貢獻者: Mango