跳至主要內容

ItemEvents.canPickUp

芒果凍布丁2025年5月25日小於 1 分鐘

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