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