Documentation
IeCircuitTableScreen
电路工作台:3 材料槽 + 操作符选择列表 + 输入/输出寄存器按钮(register_button + 染色矩形)+ 名称框,234×182
Full-screen previewPreview pages are excluded from search indexes
电路工作台物品栏
Composition
These are the composable components; the Block only places them at vanilla coordinates.
Code
import { IeCircuitTableScreen } from "./index";
/**
* IeCircuitTableScreen 预览用例:逻辑电路编程器;该屏无 JSON 物品配方,
* 材料 / 电路 / 产物槽留空。
*/
export function IeCircuitTableScreenDemo() {
return (
<IeCircuitTableScreen
circuit={undefined}
energy={{ max: 32000, value: 18000 }}
inputRegisters={[0, 3]}
materials={[]}
name="门控逻辑"
onNameChange={() => {}}
onOperatorSelect={() => {}}
onRegisterClick={() => {}}
onSlotClick={() => {}}
operators={["AND", "OR", "NOT", "XOR"]}
output={undefined}
outputRegister={5}
selectedOperator={0}
/>
);
}