BlockEvents.detectorUnpowered
2026/7/28小於 1 分鐘
/**
* Invoked when a detector block registered in KubeJS receives a block update.
*
* `Powered`/`Unpowered` event will be fired when the detector block is powered/unpowered.
*/
function detectorUnpowered(
extra: string,
handler: (event: $DetectorBlockKubeEvent) => void,
): void;
function detectorUnpowered(
handler: (event: $DetectorBlockKubeEvent) => void,
): void;