PlayerEvents.chestClosed
2025年3月29日小於 1 分鐘
/**
* Invoked when a player opens a chest.
*
* Same as `PlayerEvents.inventoryOpened`, but only for chests.
*/
function chestClosed(extra: $ResourceKey$$Type<($MenuType<(object)>)>, handler: (event: $ChestKubeEvent) => void): void
function chestClosed(handler: (event: $ChestKubeEvent) => void): void