跳至主要內容

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;
最近更新:
貢獻者: Evan Hsieh