-- component { -- inputs: ["in1": bit, "in2": bit, "inB": byte], -- outputs: ["out": byte], -- name: alu0, -- optiCompute: fun -- contents: { -- -- } -- } function logikraft.computeCircuit(circuit, input) end local function has_value (tab, len, val) for i = 1, len do if tab[i].x == val.x and tab[i].y == val.y and tab[i].z == val.z then return true end end return false end function logikraft.discoverBlocks(pos) local i = 2 local j = 1 local poz = {} poz[1] = pos while (j