All Mods Resource Packs Data Packs Shaders Modpacks Plugins
create-schematic-compute

create-schematic-compute

by StarryNight_Luo • Downloads: 6 • Followers: 0
Description
Gallery
Changelog
Versions

Create: Schematic Compute

🎮 12 Programmable Blocks · 102 Node Types · Formula Syntax Highlighting & Autocomplete · Multiplayer Collaboration 十二种可编程方块 · 102种节点 · 公式语法高亮与自动补全 · 多人实时协作 Drag, connect, and build logic — just like Unreal Engine Blueprints! 拖拽连接,构建逻辑 — 像虚幻引擎蓝图一样直观! Created by StarryNight_Luo (y15173334444)

GitHub License Version NeoForge Create MC


Table of Contents / 目录


📖 Overview / 简介

🇬🇧 Create: Schematic Compute is a Create mod addon that introduces 12 programmable blocks + 1 portable terminal with a visual node-based programming system. Instead of writing complex redstone circuits, simply drag and connect nodes to build logic — just like Unreal Engine Blueprints or Blender Geometry Nodes. Each computer runs at 20Hz (every game tick) for real-time control. All 12 blocks support real-time multiplayer collaborative editing with live cursor tracking and node lock protection. The FORMULA script editor features syntax highlighting (9 token colours), intelligent autocomplete (functions, variables, @output), real-time validation with error badges, and named constants (PI)/(E).

🇨🇳 机械动力:蓝图计算机 是一个机械动力附属模组,添加了十二种可编程方块和一个便携终端,采用可视化节点图编程系统。无需搭建复杂红石电路,只需拖拽连接节点即可构建逻辑——就像虚幻引擎的蓝图系统或 Blender 的几何节点一样直观。每台设备拥有独立的节点图,以 20Hz(每游戏刻) 的频率运行,适合实时控制应用。全部 12 种方块支持多人实时协作编辑,带实时光标追踪和节点锁定保护。FORMULA 公式脚本编辑器 支持语法高亮(9 种词法颜色)、智能自动补全(函数、变量、@output)、实时校验与错误徽章、以及命名常量 (PI)/(E)。


🖥️ Blocks / 方块

🖥️ Holographic Monitor / 全息显示器

3D floating display / 3D 悬浮显示方块

Feature / 功能 Description / 说明
🖼️ Display Nodes / 显示节点 TEXT, DATA, IMAGE, IMAGE_SEQUENCE / 文本、数值、图片、动画
🎨 16×16 Pixel Editor / 16×16像素编辑器 Multi-frame animation + undo/redo / 多帧动画+撤销重做
📋 Layer Panel / 图层面板 Drag-drop reorder + 24×24 thumbnails / 拖拽排序+缩略图预览
🎯 3D Positioning / 3D定位 X/Y/Z + Roll/Pitch/Yaw freely adjustable / 自由调整位置和旋转
📡 Signal-Driven / 信号驱动 IMAGE position/rotation via input signals / 通过输入信号驱位置旋转
📡 Redstone Input / 红石输入 Read Redstone Link signals / 从红石链接网络读取信号

🖥️ Blueprint Computer / 蓝图计算机

Redstone Link controller / 红石链接控制器

Feature / 功能 Description / 说明
📡 Redstone I/O / 红石I/O Read/Write Redstone Link network / 读写红石链接网络
🔗 Private Signal / 私有信号 Named channel cross-computer communication / 命名通道跨计算机通信
🚌 Bus System / 总线系统 BUS_IN/BUS_OUT multi-band data sharing / 多频段数据共享
📦 Encapsulation I/O / 封装导入导出 File browser import/export .nbt files / 文件浏览器导入导出

⚡ Speed Proxy / 转速代理控制器

Speed Controller direct control / 转速直控

Feature / 功能 Description / 说明
🔄 Speed Control / 转速控制 Set adjacent Speed Controller RPM (-256~256) / 设置相邻转速控制器RPM
🔗 Private Signal / 私有信号输入 Named channel cross-computer coordination / 命名通道跨计算机联动

⚙️ Programmable Transmission / 可编程变速器

In-line programmable gearbox / 轴上可编程变速

Feature / 功能 Description / 说明
🎚️ Target RPM / 目标转速 Scroll-set absolute output RPM; graph TX_OUT node overrides while running / 滚轮设定绝对输出转速,图运行时由 TX_OUT 节点接管
🔀 Face-Relative Direction / 面相对转向 Output CW/CCW follows the placed face, creative-motor style / 输出逆/顺随放置面(创造马达同款语义)
↕️ 3-Axis Placement / 三向放置 Horizontal or vertical in-line placement; wrench on side face rotates the axis / 水平/竖直线上放置,扳手点侧面换轴
⚙️ Bearing Visuals / 轴承动画 Two independent shaft stubs: input follows network, output follows target / 两端独立轴头动画:输入随网络、输出随目标
🤝 Stress Network Member / 应力网络成员 First-class driven member — no input power, no output / 官方应力网络一等成员,无输入动力则无输出

🔧 CNC Gearbox / 数控齿轮箱

Driven clutch + motion quota / 从动离合器 + 运动配额

Feature / 功能 Description / 说明
🔌 Clutch / 离合器 Output face carries a shaft only while engaged; idle auto-disengages / 仅接合时输出面对外传轴,空闲自动分离
📜 Command Stack / 指令栈 FIFO motion commands: rotate (degrees) / move (meters) / wait / FIFO 运动指令:旋转(度)/ 直线(米)/ 等待
🎯 Motion Quota / 运动配额 Open-loop travel booking, fires a completion pulse at zero / 开环行程记账,配额归零自动打完成脉冲
🔄 Encoder / 编码器 Rotary (degrees) + linear (meters) accumulation for graph readback / 旋转(度)+ 直线(米)累计供图读取
↕️ 3-Axis + Wrench / 三向 + 扳手 Wrench on end face flips the input, side face rotates the axis / 扳手点端面翻转输入端、点侧面换轴

🔌 Program Computer / 编程计算机

Sequential logic / 时序逻辑专用机

Feature / 功能 Description / 说明
📡 Redstone I/O / 红石I/O Redstone Link network communication / 红石链接网络通信
🔗 Private Signal / 私有信号 PRIVATE_IN/PRIVATE_OUT named channel I/O / 命名通道I/O
⏱️ Sequential Nodes / 时序节点 Delay/Latch/T Flip-Flop/Gate/Pulse Extend/Loop/Fuse/Accumulator/Integrator / 延时/锁存器/T触发器/闸门/脉冲延长/循环/保险/累计器/连续积分器

🪑 Control Seat / 控制座椅

Sit-able controller / 可乘坐控制器

Feature / 功能 Description / 说明
⌨️ 58 Key Bindings / 58键绑定 Click-to-bind UI / 点击绑定
🖱️ Dual Mode / 双模式 Joystick (mouse delta) / View Angle (rotation difference) / 摇杆/视角差
🎮 Gamepad / 手柄 Dual stick + 15 buttons + analog triggers LT/RT / 双摇杆+15键+模拟扳机
🔄 Sable Compatible / Sable兼容 Two camera modes (FIXED / VIEW_DIFFERENCE), world-orientation tracking via quaternion / 双相机模式,四元数世界朝向追踪
🚪 Controls / 操作 Right-click sit / Shift+Right-click editor / ~ dismount / TAB mode / ESC release

📐 Attitude Sensor / 姿态传感器

Physics structure orientation / 物理结构姿态读取

Feature / 功能 Description / 说明
📐 ATTITUDE / 姿态 Block world-space pitch and roll (facing × sub-level rotation) / 方块自身世界姿态俯仰与横滚(朝向 × 子世界旋转)
🧭 FORWARD / 前方朝向 World-space forward yaw/pitch / 结构世界空间朝向
⚡ ACCELERATION / 加速度 Block-local X/Y/Z acceleration (structure motion in block axes) / 方块本地加速度(结构运动按方块朝向分解)
🚀 VELOCITY / 速度 Block-local velocity ×2 m/s (structure motion in block axes) / 方块本地速度(结构运动按方块朝向分解)
🔄 POSE_CONVERT / 姿态换算 Coordinate conversion / 坐标系转换

📡 3D Holographic Radar / 3D全息显示雷达

Real-time scanner / 实时实体扫描器

Feature / 功能 Description / 说明
📡 Scan Range / 扫描范围 1-128 blocks configurable / 1-128格可配置
🎯 Target Lock / 目标锁定 Manual right-click + auto closest / 手动右键锁定+自动最近
🖥️ Display Style / 显示风格 Classic XYZ axes / Holographic (white cube + blue plane) / 经典/全息
📊 TARGET_OUT Output X/Y/Z/entity ID/distance / 输出坐标/实体ID/距离
🔍 Filters / 过滤 Show/hide players, mobs, Sable structures / 独立显示玩家/生物/Sable

📱 Portable Terminal / 便携终端

Handheld remote editor / 手持远程编辑器

Feature / 功能 Description / 说明
📡 Device Scan / 设备扫描 Scan 1-128 blocks for programmable blocks / 扫描1-128格可编程方块
✏️ One-Click Edit / 一键编辑 Open native GUI instantly / 即时打开原生GUI
📦 All 12 Blocks / 全12方块 Monitor, Blueprint, Program, Radar, Seat, Sensor, SpeedProxy, Transmission, CNC Gearbox, Kinetic Gauge, Amplifier, Speaker
🔄 Sable Compatible / Sable兼容 Sub-level scanning with rotation correction / 子世界扫描+旋转修正

🎛️ Kinetic Gauge / 动力传感器

In-line kinetic readout + graph host / 轴上传动读数 + 节点图宿主

Feature / 功能 Description / 说明
📊 Built-in Readout / 内置读数 Speed digits + stress bar (green→yellow→red, overload blink) + percentage, painted on the panel / 转速数字 + 应力条(绿→黄→红,超载闪烁)+ 百分比,直接画在面板上
🖥️ Graph Display / 图形接管 DATA/TEXT nodes in its graph take over the panel (server-authoritative eval snapshot) / 图里的 DATA/TEXT 节点接管面板(服务端求值快照权威)
📈 STRESS / 应力状态 4 outputs — ratio (0-1, >1 overloaded), used (SU), unused (0-1), left (SU) / 四个输出——占比、已用(SU)、未用、剩余(SU)
⚡ RPM / 转速 1 output — signed network speed (0 unpowered/overloaded) / 一个输出——带符号网络转速(无动力/过载为 0)
🔄 3-Axis Placement / 三轴放置 Floor/ceiling placement points the display at the player (all 4 yaws, vertical state placeable directly); wall placement uses the clicked face; auto-aligns to a shaft-bearing face / 贴地贴顶正对玩家(四向可选,竖置可直接放出);贴墙用点击面;贴轴自动对齐
🔧 Wrench / 扳手 Shaft end: roll 90° through the four same-shaft poses (shaft fixed); top/bottom: yaw 90° keeping the current tilt; other faces: Create's IWrenchable default / 轴端面:同轴四态滚转 90°(轴不动);点上/下:保持当前俯仰偏航 90°;其余面:Create 官方默认
⚙️ Shaft Pass-Through / 贯通传轴 Passes rotation along its own axis and reads the network it sits in / 自身沿旋转轴贯通传轴,并读取所在动力网络的转速与应力
🧩 Two Model Variants / 双模型变体 Lectern panel for horizontal shafts, flat panel for vertical shafts; text always upright / 水平轴用讲台面板,竖直轴用平板屏,文字永远直立

🎛️ Amplifier Computer / 功放计算机

Audio graph host with program-computer timing / 音频图宿主 + 编程计算机时序

Feature / 功能 Description / 说明
🎵 Audio Nodes / 音频节点 MUSIC · AMP · WSHAPE · AUDIO_OUT · CHANNEL · SPEAKER_PLAY / 曲目 · 功放 · 波形整形 · 频段发布 · 声道拆分 · 播放
🎚️ Dynamics Curve / 力度曲线 XY curve on the AMP node: note loudness → output level, chain gain applies after / AMP 节点 XY 曲线:音符力度→输出力度,链上增益随后叠加
🌊 Wave Shaper / 波形整形 Per-sample shaping curve, identity curve = true bypass / 逐采样整形曲线,恒等曲线 = 真旁路
📡 Band Publish / 频段发布 Publish audio to bus / private bands for speaker graphs to subscribe / 发布音频到总线/私有频段,供电音图订阅
⏱️ Timing / 时序 Program-computer capability for play/stop triggers and delay staging / 编程计算机能力,供起停触发与延时编排

🔊 Speaker / 音响

Band-subscribed playback terminal / 频段订阅式播放终端

Feature / 功能 Description / 说明
🔉 Dumb Terminal / 哑终端 Player-authored graph BUS_IN --audio wire--> SPEAKER_PLAY passes through identically; channel splitting belongs to the upstream CHANNEL / 图由玩家自己摆放(典型 BUS_IN --音频线--> SPEAKER_PLAY)恒等直通,声道拆分归上游 CHANNEL
🔊 World Playback / 世界发声 Plays the subscribed band at its own position / 在自身坐标播放订阅频段
⚙️ Playback Settings / 播放设置 Gain (0-4) · audible radius (1-4096, default 48) · mute, in the editor panel / 编辑器面板设增益(0-4)、可听半径(1-4096,默认 48)、静音
🔴 Redstone Mute / 红石静音 Redstone high silences the speaker / 红石高电平静音

👥 Multiplayer Collaboration / 多人协作(v1.2.4+)

Real-time collaborative graph editing for all 12 block types. Multiple players can edit the same graph simultaneously. 全部 12 种方块支持多人实时协作编辑同一节点图。

Feature / 功能 Description / 说明
🖱️ Live Cursor Tracking / 实时光标 Colored crosshairs with player names / 彩色十字准星+玩家名
📦 Remote Drag / 远程拖拽 Smooth animated node movement / 平滑动画节点移动
🔗 Wire Preview / 连线预览 Live bezier curve while dragging / 实时贝塞尔曲线预览
👤 Player List / 玩家列表 Right-side vertical list, host highlighted / 右侧竖向列表,房主高亮
🔒 Node Lock / 节点锁定 IMAGE nodes protected during pixel edit / 像素编辑时锁定IMAGE节点
🚪 Auto-Close / 自动关闭 UI closes when block destroyed / 方块破坏时自动关闭
⚡ Join/Leave / 加入离开 Appear immediately on open, disappear on close / 打开即现,关闭即消

📝 Formula Script Node / 公式脚本节点

Multi-line script editor (v1.2.0+) — assignments, control flow, vec3, named outputs, comments, line continuation. 多行脚本编辑器 — 支持赋值、控制流、vec3、命名输出、注释、续行。完整语法见 docs/formula-syntax-manual.md。

🧮 Syntax Overview / 语法速览

赋值与输入引脚 / Assignments & input pins — any name assigned anywhere is an internal variable; every other name that is read becomes an input pin. 任何处被赋值的名字是内部变量,其余被读取的名字成为输入引脚:

x = a + 1        -- x 内部变量 / internal; a 成为输入引脚 / input pin
@output x

→ 1 input pin + 1 output / 1 输入 + 1 输出

控制流 / Control flow — repeat / while / if / else / break / continue:

acc = 0
repeat 100 { acc = acc + 1 }
if (acc > 50) { acc = 0 } else { acc = 1 }
@output acc

比较与逻辑 / Comparison & logic — < > <= >= are exact; ==/!= use a 1e-6 tolerance; && || ! judge truthiness as !=0. < > <= >= 精确;==/!= 1e-6 容差;&& || ! 以 !=0 判真。

vec3 与向量函数 / vec3 & vector functions:

v = vec3(3, 4, 0)
@output length(v)     -- 5
@output yaw(v)        -- 角度制,与 DIRECTION 节点一致 / degrees, mirrors DIRECTION
@output v             -- vec3 自动展开为 v.x/v.y/v.z 三个输出引脚 / expands into 3 scalar pins

Vector functions: vec3 length normalize dot cross dist yaw pitch; component access v.x/y/z. 向量函数:vec3 length normalize dot cross dist yaw pitch;分量访问 v.x/y/z。

函数表 / Functions(角度均按度 / trig in degrees): 15 个标量函数 / 15 scalar functions — sin cos tan asin acos atan2 sinh cosh sqrt ln log exp sec csc cot 7 个向量函数 / 7 vector functions — vec3 length normalize dot cross dist yaw pitch

中文输入即转 / CJK input converts live — ()→()、×→*、≥→>=,full-width letters/digits/spaces convert to half-width as you type. ()→()、×→*、≥→>=、全角字母/数字/空格即输即转半角。

预算池 / Budget pool — loop-heavy scripts spread across ticks: a thin progress bar below the node shows solve progress; outputs freeze during the spread and update only on completion (emit-on-done); the warm edit-panel toggle controls whether an input change keeps iterating or strictly freezes. 循环重负载脚本跨 tick 分摊:节点下方进度条显示解算进度,spread 期间输出冻结、完成才更新(emit-on-done);warm 编辑区开关控制输入变更时继续迭代还是严格冻结。典型应用见下方火控弹道解算示例。

🎯 火控弹道解算示例 / Fire-Control Ballistic Solver Example

Segment-collision aim solver aligned with the CreateBigCannons 5.11.x ballistic model (semi-implicit Euler dt=1/20, linear drag, per-tick segment hit test matching the in-game raycast), validated against the CBC tick-model golden reference — landing error ≤ 0.24 blocks across five scenarios. 弹道反解火控,对齐 CreateBigCannons 5.11.x 弹道模型(半隐式欧拉 dt=1/20、线性阻力、逐 tick 线段碰撞判定,与游戏内 raycast 同语义),对照 CBC tick 模型金标准五组场景对拍通过(落点误差 ≤ 0.24 格)。 Full paste-ready script: docs/examples/ballistic_solver.formula — ~2.5k–9k interpreter steps per solve (~65–250× leaner than the v1 600k-step Newton solver), spread across ticks by the budget pool with a progress bar. Parameters baked in for a size-7 barrel · 8 charges · HE/AP shell (v0=160 b/s, g=20 b/s², fd=0.2); the script header table shows how to re-derive them for other charges or shell types. 完整可粘贴脚本:docs/examples/ballistic_solver.formula(每次解算约 2.5k–9k 步,较 v1 的 60 万步牛顿法精简 65–250 倍,由预算池跨 tick 分摊、带进度条)。参数已内化:7 系炮管 · 8 装药 · HE/AP 弹(v0=160、g=20、fd=0.2),脚本头部表格给出换装药/弹种的换算方法。

-- 输入:mx,my,mz 炮口 / tx,ty,tz 目标(参数已内化,见脚本头部参数表)
-- inputs: mx,my,mz muzzle / tx,ty,tz target (ballistic params baked in, see the header table)
-- 输出:ay 射向角[0,360) / ap 射角 / hit 可达 / vx0,vy0,vz0 初速向量
-- outputs: ay aim yaw [0,360) / ap aim pitch / hit reachable / vx0,vy0,vz0 velocity vector
ay = atan2(tx - mx, 0 - (tz - mz))
if (ay < 0) ay = ay + 360
cy = cos(ay)
sy = sin(ay)
-- 俯仰粗扫描(46 点 × 4°,记录低伸首谷+全局最优谷)+ 线段碰撞弹道模拟(半隐式欧拉 dt=1/20,距离持续增大 20 步提前终止)
-- pitch coarse scan (46 pts × 4°, flat-first + best valleys) + segment-collision simulation (semi-implicit Euler dt=1/20, early exit after 20 steps of increasing distance)
p = -89.899
bestwd = 1000000
repeat 46 {
  vx = v0 * cos(p) * sy
  vy = v0 * sin(p)
  vz = v0 * cos(p) * (0 - cy)
  -- ... 400 步线段碰撞模拟(完整脚本见上方链接) ... / 400-step segment simulation (full script linked above)
  p = p + 4
}
-- 细扫(0.5° × 17 点)+ 割线精化(≤10 轮),先低伸解、失败回退高抛解
-- fine scan (0.5° × 17 pts) + secant refinement (≤10 rounds), flat-first with high-arc fallback
@output ay
@output ap
@output hit

→ 6 inputs + 6 outputs / 6输入 + 6输出

🎨 Syntax Highlighting / 语法高亮

Real-time colour-coded editing with 9 token categories. 9 种词法分类的实时彩色标注。

Token Type / 词法类型 Colour / 颜色 Examples / 示例
Functions / 函数 🟡 Yellow / 黄色 sin, cos, sqrt, exp
Constants / 常量 🩷 Pink / 粉色 (PI), (E) — 仅分组括号内视为字面量
Identifiers / 标识符 🩵 Light Cyan / 浅青 x, speed, myVar
Numbers / 数字 🟠 Orange / 橙色 3.14, 42, 0.5
Operators / 运算符 ⬜ Grey / 灰色 +, -, *, /, ^, %
Parens / 括号 ⬜ Grey / 灰色 (, )
Comments / 注释 🟢 Green / 绿色 -- this is a comment
@output / 输出 🟣 Purple / 紫色 @output
Assignment / 赋值 🟣 Purple / 紫色 =
Unknown / 未知 🔴 Red / 红色 Invalid characters / 非法字符

🔍 Autocomplete / 自动补全

Type to trigger suggestions near the caret, rendered above all pins. 输入即触发,候选框显示在光标下方、所有引脚上方。

Trigger / 触发方式 Behaviour / 行为
Type identifier char / 输入标识符字符 Filtered dropdown: functions, constants, current variables / 过滤候选:函数、常量、当前变量
Type @ / 输入 @ Immediately suggests @output / 立即建议 @output
Tab / Enter Accept selected candidate / 接受选中候选项
↑ ↓ Navigate candidates / 导航候选项
Esc / any other key Close popup / 关闭候选框
Click candidate / 点击候选项 Accept and insert / 接受并插入
Zoom-aware / 缩放感知 Popup scales with graph zoom level / 候选框随图缩放

✅ Real-Time Validation / 实时校验

Issues shown as red ⚠ badge on the node title bar. Hover the badge to see details. 错误以红色 ⚠ 徽章显示在节点标题栏,悬停查看详情。

Check / 校验项 Type / 类型
Bracket matching / 括号匹配 Error / 错误
Unknown function / 未知函数 Error / 错误
Function arity / 函数参数数量不符 Error / 错误
Invalid assignment / 无效赋值 Error / 错误
Duplicate output names / 重复输出名 Warning / 警告
@output invalid start / @output 起始非法 Warning / 警告(表达式输出合法,如 @output length(v))
Red border on MLE / 输入框红色边框 Visual feedback / 视觉反馈

📐 Named Constants / 命名常量

(PI) and (E) in grouping parentheses are literal constants (π ≈ 3.14159, e ≈ 2.71828). Bare PI / E or PI / E inside function calls like sin(PI) are treated as variable references (create input pins). (PI) 和 (E) 在分组括号内视为字面常量。裸 PI/E 或函数调用内的 sin(PI) 视为变量(创建输入引脚)。

-- (PI) = literal π, not a variable / 字面量π,不是变量
-- sin(PI) = PI is a variable input / PI 是变量输入
result = (PI) + sin(PI)
@output result

→ 1 input pin (PI) + 1 output / 1 输入引脚 + 1 输出


🚌 BUS System / BUS 总线系统

Global named-channel communication across computers. Like publish-subscribe message bus. 全局命名通道跨计算机通信系统,类似发布-订阅消息总线。

Feature / 功能 Description / 说明
🚌 BUS_OUT / 总线输出 Write values to named channel with bands / 写入命名通道+频段
🚌 BUS_IN / 总线输入 Read band values from channel / 从通道读取频段值
📋 Band System / 频段 Named sub-fields per channel / 每通道命名字段
🔢 Ref Counting / 引用计数 Auto-cleanup when no BUS_OUT references / 无引用时自动清理
⚠️ Conflict Detection / 冲突检测 Reject duplicate channel names / 拒绝重名通道

🧩 Node Reference / 节点参考(102 种)

📦 Values / 数值
Node / 节点 Description / 说明
Constant / 常量 Outputs constant value / 输出常量值
Redstone Input / 红石输入 Reads from Redstone Link / 从红石链接网络读取
Private Signal Input / 私有信号输入 Reads float from named channel / 从命名通道读取浮点数
Bus Input / 总线输入 Reads bus channel bands / 从总线通道读取频段值
📊 Kinetic Readings / 动力读数 (Kinetic Gauge / Transmission / CNC Gearbox)
Node / 节点 Description / 说明
Stress Status / 应力状态 Kinetic network stress, 4 outputs: ratio (0-1, >1 overloaded), used (SU), unused (0-1), left (SU); all 0 with no network or zero capacity / 动力网络应力,四个输出:占比(0-1,超载 >1)、已用(SU)、未用(0-1)、剩余(SU);无网络/零容量全 0
Speed (RPM) / 转速 Network rotation speed, signed (negative = reversed), 0 when unpowered/overloaded / 网络转速,带符号(负=反转),无动力/过载为 0
⚙️ Transmission & Gearbox / 变速器·齿轮箱 (Programmable Transmission + CNC Gearbox / 可编程变速器·数控齿轮箱)
Node / 节点 Description / 说明
Target Speed / 目标转速 Passthrough desired output RPM; the rev toggle negates it and the host transmission writes the target / 透传期望输出转速,rev 取反,宿主变速器写入目标
Move / 移动 Command stack: rising edge enqueues "move N meters" (value = param, wire-overridable) / 指令栈:上升沿入队「移动 N 米」(数值=参数,可连线覆盖)
Rotate / 转动 Command stack: rising edge enqueues "rotate N degrees" / 指令栈:上升沿入队「转动 N 度」
Wait / 等待 Command stack: rising edge enqueues "wait N ticks" / 指令栈:上升沿入队「等待 N 刻」
Clutch / 离合 Standing clutch intent / 常接合意图
Encoder / 编码器 Motion feedback: angle (deg) · linear position (m) · actual speed (RPM); reset is body input pin 0 (level-triggered) / 运动反馈:角度(度)·线性位置(米)·实际转速(RPM);清零为节点体 0 号输入引脚(电平触发)
🔢 Basic Math / 基础运算
Node / 节点 Description / 说明
Add / 加法 A + B
Subtract / 减法 A - B
Multiply / 乘法 A × B
Divide / 除法 A ÷ B (0 if B=0)
Modulo / 模运算 A % B
Power / 次幂 A ^ B
Root / 次方根 B-th root of A
Absolute Value / 绝对值 |input|
Ceil / 向上取整 Round up
Floor / 向下取整 Round down
📐 Advanced Math / 高级运算
Node / 节点 Description / 说明
Formula / 公式 Multi-line script editor / 多行脚本编辑器
Round / 保留N位小数 Round to N decimals / 保留N位小数
Comparison Router / 比较路由 |A-B| smart routing / 智能信号分流
Pose Convert / 姿态换算 Pitch/Yaw/Roll coordinate conversion / 姿态角转换
Split / 分割 Positive/negative signal split / 正负信号分离

Trig / 三角函数(度): Sine · Cosine · Tangent · Arc Sine · Arc Cosine · Arc Tangent 2 · Hyperbolic Sine · Hyperbolic Cosine

Other / 其他: Square Root · Natural Log · Base-10 Log · Exponential · Secant · Cosecant · Cotangent · Angle Unwrap · Direction (3-in 3-out)

🧠 Logic / 逻辑
Node / 节点 Description / 说明
Greater Than / 大于 A > B
Less Than / 小于 A < B
Greater or Equal / 大于等于 A ≥ B
Less or Equal / 小于等于 A ≤ B
Equals / 等于 A = B
AND Gate / 与门 A > 0.5 and B > 0.5
OR Gate / 或门 A > 0.5 or B > 0.5
Bool / 布尔 Boolean with invert toggle / 布尔(可反转)
Gate / 闸门 Signal gate with Set/Reset/Toggle / 信号门
Relay A / 继电器A SPDT relay — contact false→A, contact true→B / 双掷继电器
Relay B / 继电器B SPST relay — out = contact ? B : A / 单掷合并继电器
🎛️ Control / 控制
Node / 节点 Description / 说明
PID Controller / PID控制器 SP/PV PID (scalable output, anti-windup) / SP/PV 双输入 PID(输出可缩放,抗积分饱和)
Power PID / 动力PID PID with base power input / 带基础动力PID
Clamp / 限制 Min/Max clamp / 限幅
Map Range / 映射范围 Range mapping / 范围映射
📤 Output / 输出
Node / 节点 Description / 说明
Redstone Output / 红石输出 Write to Redstone Link (0~15) / 写入红石链接
Private Signal Output / 私有信号输出 Write to named channel / 写入命名通道
Bus Output / 总线输出 Writes to bus channel / 写入总线通道
Speed Control / 转速控制 Speed Controller RPM (-256~256) / 转速控制
⏱️ Sequential / 时序 (Program Computer only / 仅编程计算机)
Node / 节点 Description / 说明
Delay / 延时 Delay N ticks / 延时N tick
Latch / 锁存器 Set/Reset latch, configurable default / 可配置默认状态
T Flip-Flop / T触发器 Toggle flip-flop, configurable default / 可配置默认状态
Pulse Extender / 脉冲延长 Extend input pulse N ticks / 脉冲延长N tick
Loop / 循环 Fire pulse every interval, repeat count times / 循环脉冲
Safety Timer / 保险 Trigger (rising edge) or held-high input → 2-tick pulse → cooldown; held-high repeats as pulse generator / 触发(上升沿)或持续高电平 → 2 tick 脉冲 → 冷却;持续高电平自动循环(脉冲发生器)
Accumulator / 累计器 Rising-edge step counter / 累计器
Continuous Integrator / 连续积分器 Continuous integration, configurable limit / 连续积分器
🎮 Input / 输入 (Control Seat + Attitude Sensor / 控制座椅+姿态传感器)
Node / 节点 Description / 说明
Keyboard Key / 键盘按键 58 bindable keys / 58键绑定
Mouse Joystick / 鼠标摇杆 Dual mode: incremental (mouse delta) / absolute (stick with memory). Toggle in edit panel. / 双模式:增量/绝对值,编辑区切换
View Angle / 视角差 View angle delta / 视角差
Mouse Button / 鼠标按键 Left/Right mouse buttons / 鼠标按键
Gamepad Joystick / 手柄摇杆 Dual stick LX/LY/RX/RY / 双摇杆
Gamepad Button / 手柄按键 15 buttons / 15按键
Gamepad Trigger / 手柄扳机 Analog triggers LT/RT (0~1) / 模拟扳机
World View / 世界视角 Player absolute world view direction / 玩家绝对视角
Attitude / 姿态 Block world-space pitch and roll (facing × sub-level rotation) / 方块自身世界姿态俯仰与横滚(朝向 × 子世界旋转)
Forward / 前方朝向 World-space forward yaw/pitch / 结构朝向
Acceleration / 加速度 Block-local X/Y/Z acceleration (structure motion in block axes) / 方块本地加速度(结构运动按方块朝向分解)
Velocity / 速度 Block-local velocity ×2 m/s (structure motion in block axes) / 方块本地速度(结构运动按方块朝向分解)
World Position / 世界坐标 World position with offset / 世界坐标(可偏移)
Target Output / 目标输出 Radar target X/Y/Z/entityId/distance / 雷达目标
🖼️ Display / 显示 (Monitor + Control Seat HUD / 全息显示器+控制座椅抬头显示)
Node / 节点 Description / 说明
Text / 文本 Text display with color / 文字显示
Data Display / 数值显示 Float value display / 数值显示
Image / 图像 16×16 pixel image, signal-driven position / 像素图片
Image Sequence / 图像序列 Multi-frame animation, signal-driven frame / 多帧动画
Pitch Ladder / 俯仰梯 AR HUD pitch ladder (Control Seat), range & interval params / AR HUD 俯仰梯(控制座椅),range/interval 参数
🎵 Audio / 音频 (Amplifier Computer + Speaker / 功放计算机·音响)
Node / 节点 Description / 说明
Music / 曲目 Song host + transport: NBS playback, loop, play/stop / 曲目宿主+传输:NBS 播放、循环、起停
Amplifier / 功放 Gain 0-4 plus a dynamics curve (note loudness → output level) / 增益 0-4 + 力度曲线(音符力度→输出力度)
Wave Shaper / 波形整形 Per-sample shaping curve; identity curve = true bypass / 逐采样整形曲线;恒等曲线 = 真旁路
Audio Output / 音频输出 Publish audio to a named band / 发布音频到命名频段
Channel Split / 声道拆分 Split multi-channel audio to standard layouts (stereo/quad/5.1/7.1) / 多声道音频按标准布局拆分(立体声/四声道/5.1/7.1)
Speaker Play / 播放 Playback sink: hands the source to the host speaker / 播放下沉:把音源交给宿主音响发声
📦 Structure / 结构
Node / 节点 Description / 说明
Encapsulation / 封装 Nest sub-graphs inside a node / 嵌套子图
ENCAP_INPUT / 封装输入 External input pin / 外部输入引脚
ENCAP_OUTPUT / 封装输出 External output pin / 外部输出引脚
🔧 Debug / 调试 (All blocks / 全部方块)
Node / 节点 Description / 说明
Comment / 便利贴 Sticky-note annotation, resizable (80~8000×40~6000), scrollable, 3-color customizable. Drag header to move, parent-move contains nodes. Pure visual — skipped during evaluation. Press C with nodes selected to wrap. / 可调大小/滚动/三色自定义。拖拽顶部移动,父级移动携带内部节点。纯视觉辅助。选中节点按 C 包裹。
Signal Generator / 信号发生器 Test signal source with XY curve preview + Y-axis range label, manual control-point curve or custom f(x) formula, frequency-generate or input-driven output modes, percentile-based robust auto-scale / 测试信号源,XY曲线预览+Y轴范围标注,手动控制点曲线或自定义f(x)公式,频率发生/指定模式输出,百分位数稳健自动缩放
Signal Probe / 信号探针 Real-time signal monitor with 100-tick trend chart, percentile-based robust auto-scale (p1-p99), freeze/clear / 实时信号监视,100 tick趋势图,百分位数稳健自动缩放(p1-p99),冻结/清除

Signal Generator Modes / 信号发生器模式:

Mode / 模式 Description / 说明
🎯 Manual Curve / 手动曲线 Drag control points on XY chart. Double-click to add, right-click to delete, drag X/Y freely (X clamped between neighbors, server-sorted). Points synced via multiplayer collaboration. / XY图上拖拽控制点。双击添加,右键删除,XY双向自由拖拽(X被相邻点夹持,服务端排序)。多人协作同步。
📐 Custom f(x) / 自定义公式 Enter formula expression using variable x (0~1). Supports all math functions (trig in degrees), auto full-width paren conversion. Speed/amplitude disabled — formula controls everything. / 输入公式表达式,变量 x(0~1)。支持全部数学函数(三角函数用度),自动全角括号转换。speed/amplitude 禁用。
🔄 Frequency Generate / 频率发生 X auto-advances 0→1 cyclically. Speed control (manual mode only). Current X position shown as sky-blue marker on chart. / X自动0→1循环推进。speed控制速度(仅手动模式)。天蓝色标记线显示当前X位置。
🎯 Input-Driven / 指定模式 X set by dragging sky-blue marker line on chart. No EditBox — pure drag interaction. / 拖拽天蓝色标记线设置X值。无输入框,纯拖拽交互。

Signal Probe Features / 信号探针功能:

  • 100-tick ring buffer trend chart with percentile-based robust auto-scale (p1-p99)
  • Percentile filtering replaces fixed ±5 clipping — correctly displays large-range data (e.g. 0~360)
  • Right-click: Freeze/Unfreeze, Clear History
  • Shows "---" when blueprint not running

🎮 Controls / 操作指南

Action / 操作 Input / 按键
Add node menu / 添加节点 Right-click empty / 右键空白
Two-column layout / 双列布局 Click the state-label button on the menu title row (1 Col/2 Col), gold = two columns on / 点击菜单标题行右侧状态文字按钮(单列/双列),金色=双列开启
Edit params / 编辑参数 Left-click → ▶ / 左键→▶
Connect / 连接 Drag output pin → input pin / 拖拽输出→输入
Delete node / 删除节点 Hover + X / 悬停+X
Delete connection / 删除连线 TAB + Left-click / TAB+左键点击
Delete selected / 删除选中 Delete
Box select / 框选 TAB + drag / TAB+拖拽
Duplicate / 复制 Ctrl + D
Undo / 撤回 Ctrl + Z
Redo / 重做 Ctrl + Y
Wrap in Comment / 注释包裹 Select nodes + C / 选中节点+C
Edit Comment text / 编辑注释文本 Double-click comment body / 双击注释节点
Resize Comment / 调整注释大小 Drag bottom-right corner / 拖动右下角
Scroll Comment / 滚动注释 Ctrl + Scroll / Ctrl+滚轮
Zoom / 缩放 Scroll wheel / 滚轮
Pan / 平移 Left-drag blank canvas (drag on a node = move it) / 左键拖拽空白处(节点上拖拽=移动节点)
Open editor (most blocks) / 打开编辑器 Right-click / 右键
Speaker — Playback settings (gain/radius/mute) / 播放设置(音量/半径/静音) Second-row button in the speaker editor / 音响编辑器第二行按钮
Control Seat — Sit / 乘坐 Right-click (empty hand) / 右键(空手)
Control Seat/Radar — Editor / 编辑器 Shift + Right-click / Shift+右键
Control Seat — Dismount / 下马 ~
Control Seat — Switch mode / 切换模式 TAB
Control Seat — Release mouse / 释放鼠标 ESC
Signal Gen — Add control point / 添加控制点 Double-click XY chart / 双击XY图
Signal Gen — Delete control point / 删除控制点 Right-click control point / 右键控制点
Signal Gen — Drag control point / 拖拽控制点 Left-drag (X clamped, Y free) / 左键拖拽
Signal Gen — Drag X marker / 拖拽X标记 Left-drag sky-blue line (input mode) / 左键拖拽天蓝色线
Signal Gen — Switch mode / 切换模式 Click toggle button (confirm with second click) / 点击切换按钮(二次点击确认)
Probe — Freeze/Unfreeze / 冻结解冻 Double-click probe node / 双击探针节点
Probe — Clear/Clear History / 清除历史 Right-click probe node / 右键探针节点
Bookmark — Open panel / 打开书签面板 Click ★ bottom-right / 点击右下角★
Bookmark — Add / 添加书签 [+] in panel or Ctrl+M / 面板内[+]或Ctrl+M
Bookmark — Rename / 重命名 Click ✎ on bookmark row / 点击书签行✎
Bookmark — Delete / 删除 Click × on bookmark row / 点击书签行×
Bookmark — Jump / 跳转 Click → or name / 点击→或名称
Bookmark — Reorder / 拖拽排序 Drag name area to new position / 拖拽名称区域到新位置
Bookmark — Reset view / 重置视角 [↺] in panel or Home key / 面板[↺]或Home键

All editor actions above are rebindable — editor settings (top-right button) → Keys tab. / 上表编辑器动作均可在编辑器设置(右上角按钮)→「键位」标签页重绑。


🔄 Sable Physics Integration / Sable 物理集成

Deep integration with Sable physics engine for rotating structures. / 与Sable物理引擎深度集成,支持旋转结构。

Block / 方块 Feature / 功能
Control Seat / 控制座椅 Entity yaw tracks sub-level rotation / 实体yaw追踪子世界
Attitude Sensor / 姿态传感器 Read logicalPose() quaternion / 读取姿态四元数

Thread safe / 线程安全: Shared fields volatile. Without Sable / 无Sable: Control Seat fully functional, Sensor outputs 0 / 控制座椅完全可用,传感器输出0


💾 Schematic Support / 蓝图兼容

All 12 blocks support Create's Schematicannon — graphs and state fully preserved. / 全部十二种方块支持蓝图大炮,图与状态完整保留。

Uses Create's IMergeableBE + SafeNbtWriter / 采用 Create 官方接口


📦 Recipes / 合成配方

Block / 方块 Materials / 材料
🖥️ Monitor / 全息显示器 Redstone Link×2 + Precision Mechanism + Glass Pane×2 + Brass Casing + Glowstone Dust×2
🖥️ Blueprint / 蓝图计算机 Redstone Link×2 + Precision Mechanism + Glass Pane×2 + Repeater + Comparator + Brass Casing×2
⚡ Speed Proxy / 转速代理 Brass Ingot×4 + Cogwheel + Glass Pane×2 + Comparator + Andesite Casing
🔌 Program / 编程计算机 Andesite Casing×4 + Repeater + Glass Pane×2 + Comparator + Andesite Alloy
🪑 Control Seat / 控制座椅 Heavy Weighted Pressure Plate + Iron Ingot×2 + Brass Casing + Redstone + Redstone Link×4
📐 Attitude Sensor / 姿态传感器 Iron Ingot×6 + Repeater + Comparator + Brass Casing×2
📡 Radar / 雷达 Monitor×2 + Iron Ingot×4 + Brass Casing + Redstone Block×2
📱 Portable Terminal / 便携终端 Redstone Link×4 + Blueprint Computer + Glass Pane×4
🎛️ Kinetic Gauge / 动力传感器 Iron Ingot×4 + Shaft×4 + Brass Casing

⚙️ Block Properties / 方块属性

Property / 属性 Value / 值
Hardness / 硬度 1.0 (hand breakable / 空手可破坏)
Hand break / 空手破坏 Drops without NBT / 掉落无NBT
Wrench right-click / 扳手右键 Rotate FACING / 旋转方向
Wrench Shift+right-click / 扳手Shift+右键 Pick up with full NBT / 收回保留NBT
🎛️ Kinetic Gauge wrench / 动力传感器扳手 Shaft end: roll through the 4 same-shaft poses (shaft fixed); top/bottom: tilt-preserving yaw; others: Create's default / 轴端面:同轴四态滚转(轴不动);点上/下:保倾偏航;其余面:官方默认

🔧 Technical Highlights / 技术亮点

Feature / 特性 Description / 说明
👥 Multiplayer Collaboration / 多人协作 Real-time editing, cursor tracking, node lock / 实时编辑、光标追踪、节点锁
⚡ Server-Authoritative Eval / 服务端权威评估 Client receives EvalSnapshot — no local evaluator / 客户端接收快照,无本地评估器
⚡ Topological Sort Eval / 拓扑排序求值 O(1) input query cache / O(1) 输入查询缓存
🚀 GC-Friendly / GC友好 Reused evaluator instances / 重用求值器
🔄 Signal Bus / 信号总线 Global named-channel communication / 全局命名通道通信
🧹 PID Anti-Windup / PID抗饱和 Integral capping / 积分上限钳制
🛡️ Cycle Detection / 环检测 Compile-time circular dependency check / 编译时循环引用检测
🎮 GLFW Raw Input / GLFW原始输入 Bypass Minecraft keybinding system / 绕过MC键位系统
🔄 Sable Integration / Sable集成 BlockEntitySubLevelActor sub-level pose reading / 子世界姿态读取

📜 Changelog / 更新日志

完整变更日志已拆分至 CHANGELOG.md —— 每个版本一个 <details> 块。 The full changelog now lives in CHANGELOG.md — one <details> block per release.

Version 标题 / Title
v1.2.6 功放电脑 + 音响 + NBS 钢琴卷帘编辑器(双视图 · 选择/剪贴板 · 拖移搬移 · 逐音符力度/声像/细音高 · 层面板与重排 · 静音 · 配色收编)· 与门节点 · 曲线双节点(AMP 力度曲线 + WSHAPE)· 闸门/T 触发器/锁存器当前态手动切换 / Amplifier Computer + Speaker + NBS Piano Roll Editor (dual views, selection & clipboard, drag-to-move, per-note velocity/panning/pitch, layer panel & reorder, mute, themed palette) · AND gate node · curve duo (AMP dynamics curve + WSHAPE) · manual current-state toggle on Gate / T Flip-Flop / Latch
v1.2.5.2 修复:动力传感器扳手旋转(同轴滚转 · 点上/下保倾偏航)· 贴地放置修正 · 倒置朝下时屏幕读数翻正 · 行走时视角摇晃导致 HUD 虚像晃动 · 切换游戏语言后 HUD 文字变乱线 · 节点分类重构 · 视口裁剪 / 菜单命中 · 数控齿轮箱轴面常在 / 扳手回归官方 · 变速器过载后输出恢复 · 输出指令正反转与负行程 · 编码器清零改节点体引脚 · PID/PID_POWER 积分死区 · 频道名旧草稿回写(#10)· 去掉整图保存覆盖(#17)· 封装子图节点数据同步 · 封装子图展开状态跨玩家同步 · 参数输入框实时同步 · 封装子图顶栏合并 · 占用封装禁删 · 键位系统扩容(删除连线 + 像素编辑器动作)· 统一键鼠序列绑定 · 旧键位配置迁移 · 删节点撤销/重做恢复连线(pinId + 占用检测)· 变速器代理态显示(值盒「(代理)」+ 滚轮拒收) / Fix: Kinetic Gauge Wrench Rotation (Shaft Roll · Tilt-Preserving Yaw) · Floor Placement · Inverted Mount Text Upright · View Bobbing Wobble & Garbled HUD Text After a Language Switch · Node Category Refactor · Viewport Cull / Menu Hit · CNC Gearbox Shaft Faces Always Present / Wrench Back to Official · Transmission Output Recovers After Overload · Output-Command Forward-Reverse & Negative Travel · Encoder Reset on the Node Body · PID/PID_POWER Integral Deadband · channel-name stale-draft write-back (#10) · drop whole-graph save overwrite (#17) · sub-graph node data sync · sub-graph expansion state sync across players · live param-box sync · sub-graph top-bar merge · occupied-encapsulation delete guard · display-mode top-bar merge · display lock follows selection · smooth remote display-layout drags · key-binding system gains delete-wire and pixel-editor actions · unified sequence bindings (legacy key-binding configs migrate) · undo/redo node-delete restores wires (pinId + occupancy check) · transmission proxy display (value-box "(proxy)" + wheel refused while node-driven)
v1.2.5.1 动力传感器(kinetic_gauge,Create 表同款 3 轴放置 · STRESS/RPM 节点 · 蓝屏显示)· 编辑器输入焦点与选中高亮修复 · GUI 巨型文件拆分(HUD 裁剪数学 / 显示编辑器 / 设置界面 tab)
v1.2.5 公式语言升级:控制流 + vec3 + 预算池 / GUI 架构迁移 / 像素编辑器 / 可编程变速箱
v1.2.4.1 回归审计 · 总线系统 · 封装状态 · 公式一致性 · Sable 加固
v1.2.4 多人协作 + 调试工具链 + 公式编辑器体验

更早版本(v1.2.3 及以前)见 CHANGELOG.md。 Older releases (v1.2.3 and earlier): see CHANGELOG.md.


❓ FAQ / 常见问题

Node editor laggy? / 节点编辑器卡顿? Editor drawing is viewport-culled (v1.2.5.2): only on-screen nodes cost render time. 1024 nodes on screen runs fine — node count and PID count are no longer practical limits. / v1.2.5.2 起编辑器绘制做了视口裁剪(只画屏内节点):同屏 1024 个节点也无压力,节点数量与 PID 数量不再是实际限制。
Speed Proxy not working? / 转速代理不工作? Place directly adjacent to a Speed Controller. / 放置在转速控制器相邻面。
State lost after schematic? / 蓝图放置后状态丢失? Use Create 6.0.10+. Full NBT interfaces registered. / 确保使用Create 6.0.10+。
Can computers communicate? / 计算机可以通信吗? Yes — Private Signal I/O (named channels) or BUS_IN/BUS_OUT (banded). / 可以——私有信号I/O或BUS总线。

📥 Installation / 安装

Dependency / 依赖 Version / 版本
Minecraft 1.21.1
NeoForge 21.1.233+
Create 6.0.10+

Sable is optional / Sable 为可选

  1. Install NeoForge + Create / 安装 NeoForge + Create
  2. Place .jar in mods folder / 将 .jar 放入 mods
  3. Launch! / 启动!

🌐 Links / 链接

⭐ If you enjoy this mod, star us on GitHub! / 喜欢请在GitHub点⭐! Unleash Create's potential with visual programming! / 用可视化编程释放机械动力的潜力!🚀

How to Install create-schematic-compute (Mod)

create-schematic-compute by StarryNight_Luo is verified for Neoforge across Minecraft versions 1.21.1 (latest release: 1.2.6, file size: 1.2 MB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.21.1) and platform (Neoforge).
  2. Make sure you have the compatible loader or environment installed for Neoforge.
  3. Move the downloaded create-schematic-compute file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.1
Neoforge
2mo ago 3
1.21.1
Neoforge
2mo ago 2
1.21.1
Neoforge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
[1.2.6] create-schematic-compute 1.2.6 by StarryNight_Luo on Oct 18, 2026
Download
## Create: Schematic Compute 1.2.6

### ✨ New / 新增
  • 🎵 **功放电脑 + 音响 / Amplifier Computer + Speaker**(create_schematic_compute:amplifier_computer / speaker):两个新方块接上 **CSC 混音音频引擎**——服务端排程、音符展开时烘焙层音量/声像、事件带目标时刻由客户端墙钟定点播放(2s 预播吸收服务端停顿);功放开盖屏 16 频段频谱 + 增益曲线 + 声道拆分(聚合/立体声/4.0/5.1/7.1),音响按世界位置发声、带增益/静音/红石静音。 / Two new blocks on the **CSC mixing audio engine**: server-side scheduling with layer volume/panning baked at note expansion, target-timed events placed on the client's wall clock (a 2 s pre-roll absorbs server stalls); the amplifier's lid screen shows a 16-band spectrum with a gain curve and channel split (mix / stereo / quad / 5.1 / 7.1), and the speaker voices audio at its world position with gain / mute / redstone-mute controls.
  • 🎹 **NBS 钢琴卷帘编辑器 / NBS Piano Roll Editor**:双击 MUSIC 节点打开——钢琴卷帘(点放/擦除/拖拽涂抹)+ 层面板 + 传输条(播放/停止/循环/速度)+ 试听 + .nbs 导入导出(v1–v5 读 / v5 写);**双样式视图**(卷帘 tick×键 / 层列 tick×层 + 底部钢琴条);**选择 + 剪贴板**(框选 / Ctrl 点选 / 复制剪切粘贴,与 OpenNBS 等社区编辑器**跨窗互贴**);**拖移搬移**(拖到新格搬移、同格改音高、选区随拖);**逐音符力度/声像/细音高**(Set 弹窗 + 悬停微调);层面板逐行自包含 + 细调弹窗 + 层重排;图标化顶栏、卷帘键位列表与谱面 1:1 对齐、层总览面板、层静音开关、导入弹窗滚动条;13 个 NBS 命令入键位系统(播放/撤销/导入导出等可绑)。 / Double-click a MUSIC node: a piano roll (place / erase / drag-paint) with a layer panel, transport bar and audition, plus .nbs import/export (v1–v5 read / v5 write); **dual views** (roll tick×key / lane tick×layer with a piano strip); **selection & clipboard** (marquee / Ctrl-click / copy-cut-paste with **cross-window pasting** into OpenNBS-style editors); **drag-to-move** (a new cell relocates, the same cell retunes, selections travel); **per-note velocity / panning / fine pitch** (Set dialog + hover micro-adjust); self-contained layer rows with a detail popup and layer reorder; an icon top bar, a roll key list aligned 1:1 with the score, a layer overview picker, per-layer mute and an import-dialog scrollbar; thirteen NBS commands join the key-binding system.
  • 🎛️ **曲线双节点 / Curve duo**:AMP 力度曲线(x = 音符力度、y = 输出力度,拖点/双击加/右键删)+ 新节点 **WSHAPE 波形整形**(逐样本 LUT 骑 AudioRef 下发、起音时固化进采样,恒等曲线 = 真旁路)。 / The AMP dynamics curve (x = note velocity, y = output level) plus the new **WSHAPE wave shaper** (a per-sample LUT riding the AudioRef, baked into the sample at voice start; an identity curve is a true bypass).
  • 🎛️ **新节点:与门 / New node: AND Gate**:与或门完全镜像(2 入 1 出,A、B 都 >0.5 输出 1,NaN 判假),级联可拼多输入。 / A strict mirror of OR (two ins one out, 1 only when both exceed 0.5, NaN counts false); chain gates for more inputs.
  • 🎛️ **闸门 / T 触发器 / 锁存器当前态手动切换 / Manual current-state toggle**:三个时序节点的编辑区可手动拨当前态,调试更顺手。 / The three sequential nodes gain an edit-area toggle for their current state — handier for debugging.

### 🐛 Fixes / 修复
  • 🐛 **NBS 编辑器实测反馈一批 / NBS editor field-feedback batch**:卷帘右键按下在空格上误放音符(改走擦除路径);右键点空白取消选择;导入换曲后速度框滞留旧值(失焦曾把旧速度写回新曲上传);钢琴条选中标记两缺陷(画序反写 + F/F# 黑白键身份颠倒,卷帘键行着色同修);导入弹窗滚轮滚动 + 真滚动条 + 文件计数;层名输入框点别处 / Esc 取消(此前滞留吃按键)。 / RMB press on blank cells placed notes (now erases); right-click on blank clears the selection; the tempo box kept the prev
...
<details>
<summary><b>v1.2.5.2</b> — 修复:动力传感器扳手旋转(同轴滚转 · 点上/下保倾偏航)· 贴地放置修正 · 倒置朝下时屏幕读数翻正 · 行走时视角摇晃导致 HUD 虚像晃动 · 切换游戏语言后 HUD 文字变乱线 · 节点分类重构 · 视口裁剪 / 菜单命中 · 数控齿轮箱轴面常在 / 扳手回归官方 · 变速器过载后输出恢复 · 输出指令正反转与负行程 · 编码器清零改节点体引脚 · PID/PID_POWER 积分死区 · 频道名旧草稿回写(#10)· 去掉整图保存覆盖(#17)· 封装子图节点数据同步 · 封装子图展开状态跨玩家同步 · 参数输入框实时同步 · 封装子图顶栏合并 · 占用封装禁删 · 键位系统扩容(删除连线 + 像素编辑器动作)· 统一键鼠序列绑定 · 旧键位配置迁移 · 删节点撤销/重做恢复连线(pinId + 占用检测)· 变速器代理态显示(值盒「(代理)」+ 滚轮拒收) / Fix: Kinetic Gauge Wrench Rotation (Shaft Roll · Tilt-Preserving Yaw) · Floor Placement · Inverted Mount Text Upright · View Bobbing Wobble &amp; Garbled HUD Text After a Language Switch · Node Category Refactor · Viewport Cull / Menu Hit · CNC Gearbox Shaft Faces Always Present / Wrench Back to Official · Transmission Output Recovers After Overload · Output-Command Forward-Reverse &amp; Negative Travel · Encoder Reset on the Node Body · PID/PID_POWER Integral Deadband · channel-name stale-draft write-back (#10) · drop whole-graph save overwrite (#17) · sub-graph node data sync · sub-graph expansion state sync across players · live param-box sync · sub-graph top-bar merge · occupied-encapsulation delete guard · display-mode top-bar merge · display lock follows selection · smooth remote display-layout drags · key-binding system gains delete-wire and pixel-editor actions · unified sequence bindings (legacy key-binding configs migrate) · undo/redo node-delete restores wires (pinId + occupancy check) · transmission proxy display (value-box "(proxy)" + wheel refused while node-driven)</summary>

### 🔧 动力传感器扳手 / Kinetic Gauge Wrench

| Change / 变更 | Description / 说明 |
|---------------|-------------------|
| 🧰 **行为变更**:三语义 | ① <b>轴端面</b>(点击轴 ∥ 旋转轴)→ 同轴四态按角点序(右上→右下→左下→左上)滚转 90°,**轴不动**——对官方的有意偏离(官方端面点击会翻轴断连);② <b>点上/下</b> → 沿当前倾侧偏航 90°,屏幕保持朝上/朝下不翻面(第二处偏离);③ <b>其余面</b> → 与 Create IWrenchable 默认逐字相同(绕所点面的轴转;facing 同轴面翻 axis_along_first)。环表提纯在 KineticGaugeStates.nextInShaftRoll/nextInYaw(纯函数),KineticGaugePlacementTest 钉死每步绕轴 90°、getClockWise 同向、4 步闭合 / ① shaft-end: roll through the four same-shaft states in corner order, 90° per step, shaft fixed (deliberate deviation — official pivots the shaft); ② Y-face: yaw staying on the current tilt (second deviation); ③ other faces verbatim Create's IWrenchable default. Rings are pure functions in KineticGaugeStates, pinned for 90° steps, getClockWise sense and 4-cycle closure. |
| 🐛 Y 轴滚转环序 **(bug 修复)** | 竖置轴的滚转环曾写成 NW→SW→NE→SE——第 2/4 步是 180° 对角跳(「互不重合」钉子查不出顺序错)。现改为 getClockWise 环(NW→NE→SE→SW),并由环序钉子(每步法线绕轴恰转 90°)锁死 / The vertical-shaft roll ring hopped 180° on steps 2 and 4; now a getClockWise cycle, locked by ring-order pins. |
| 🐛 横置点上/下偏航 **(bug 修复)** | ① 竖置 facing 点上/下以前只在两个 along_first 态来回 → 现沿朝下环保倾偏航(倒置屏不翻回朝上);② 四个横置朝向里有两个屏幕朝下反了 → 重排 blockstate:**W/N/E/S 全部 x=0 上仰讲台**(up-west/north/east/south),偏航四步屏幕都朝玩家。KineticGaugePlacementTest 钉死 / Vertical-facing Y-click used to toggle two states; horizontal yaw had two inverted screens. Table now gives all four horizontals an up-t
...
<details>
<summary><b>v1.2.5.1</b> — 动力传感器(Create 表同款 3 轴放置 · STRESS/RPM 节点 · 蓝屏显示)· 编辑器输入焦点与选中高亮修复 · GUI 巨型文件拆分 / Kinetic Gauge (Create-style 3-axis Placement · STRESS/RPM Nodes · Blue Screen) · Editor Input Focus &amp; Highlight Fixes · GUI Decomposition</summary>

### 🎯 编辑器输入与选中修复 / Editor Input &amp; Selection Fixes

| Fix / 修复 | Description / 说明 |
|-----------|-------------------|
| ⌨️ 输入中途丢焦点 / Focus lost mid-typing | 重建 EditState 会把整批 EditBox 换成新实例并丢掉焦点;现在重建前记录聚焦字段下标与光标,重建后按下标还原(光标仅多行编辑器且文本仍够长时还原)/ An EditState rebuild replaced every box and dropped focus; the focused field index and caret are now captured and restored |
| 🔁 显示编辑器吞键 / Display editor swallowed keys | MonitorDisplayEditor.handleKeyPressed 曾无条件 return true,设置面板打开时(离开显示模式后并不关闭)节点图输入框完全收不到按键;改为「仅面板打开且未消费 → 返回 null」把输入交还屏幕(charTyped 同步修正)/ The display editor consumed every key unconditionally, so node-graph edit boxes got nothing while the settings panel was open |
| 🖱️ 设置面板点击穿透 / Settings-panel clicks fell through | 拆分丢失了「设置面板点击优先」与模式无关的语义:在显示模式点开设置面板后回到节点图,面板仍渲染但点击穿透到底下图编辑区(关闭/保存按钮、输入框不可点);现恢复面板打开即优先——handleSettingsClick 提为 public,屏幕在面板打开时直接路由 / The split lost the mode-independent settings-panel click priority: a panel opened in display mode kept rendering in graph mode while clicks fell through to the graph editor (close/save buttons and EditBoxes unreachable). Priority is restored — the screen routes to the now-public handleSettingsClick whenever the panel is open |
| 🖼️ 选中高亮消失 / 回弹 / Highlight vanished or bounced | 高亮判定原用对象相等,整图同步或重载替换节点实例后旧实例再也匹配不上;改为按 id 判定(isSelectedById / isPrimaryById)/ Highlight matching is now by id instead of object identity |
| ⚡ 每秒数次整批重建 / Edit boxes rebuilt several times per second | 图代际是 per-instance 的,跨实例用裸 int 比较永远「看起来变了」(实测 1→2→3→4→1 循环);改为绑定图实例 + 按节点结构指纹增量重建,无结构变化即零重建 / The generation compare is bound to the graph instance and rebuilds are incremental per node |
| 📝 折叠丢未提交输入 / Collapse dropped uncommitted input | 增量重建引入的清理曾把「折叠但仍在图」的节点编辑状态一并删除,整图同步导致的折叠后再展开会丢 busBox 未提交文本;现只清已离开图的节点,折叠节点保留状态与指纹、仅退出展开集合 / The cull added with the incremental rebuild also dropped collapsed-but-present nodes' edit states, so a collapse arriving via a whole-graph sync lost uncommitted busBox text on re-expand; only nodes that left the graph are culled now |
| 🔖 书签命名对话框加确认/取消按钮 / Bookmark name dialog gains Confirm/Cancel buttons | 新建/重命名对话框底部新增 **确认/取消** 按钮,纯鼠标即可完成,不再必须按 Enter/Esc;键盘路径保持不变(确认与 Enter 同路径,取消与 Esc 同路径);对话框内点击改为模态消费,不再穿透到底下画布 / The add/rename dialog gains **Confirm/Cancel** buttons for a mouse-only flow — Enter/Esc are no longer required and keep working (Confirm shares the Enter path, Cancel the Esc path); clicks inside the dialog are consumed modally instead of falling through to the canvas |
| 🏷️ 方块名输入框透明化 + 图名软锁 / Transparent block-name box + graph-name soft lock | 顶栏方块名输入框背景改为透明(聚焦时以细底边提示可编辑区);新增**图名软锁**:一人改名时其余玩家的名字框自动只读并交出焦点,名字框显示金色描边与编辑者名字,防止两人同时改名;焦点翻转立即上报(键盘编辑不触发鼠标移动,锁的广播与释放不等 30s 过期)/ The top-bar block-name box is now tr
...
[1.2.5] create-schematic-compute 1.2.5 by StarryNight_Luo on Oct 18, 2026
Download
<summary><b>v1.2.5</b> — 公式语言升级:控制流 + vec3 + 预算池 / GUI 架构迁移 / 像素编辑器 / 可编程变速箱 / Formula Language Upgrade: Control Flow + vec3 + Budget Pool / GUI Architecture Migration / Pixel Editor / Programmable Gearbox</summary>

### 🧮 公式语法升级 / Formula Syntax Upgrade

| Feature / 功能 | Description / 说明 |
|----------------|-------------------|
| 🔁 Control Flow / 控制流 | repeat / while / if / else / break / continue — loop-heavy formulas spread across ticks / 循环公式跨 tick 分摊 |
| 🧊 vec3 + Vector Functions / 向量 | vec3(x,y,z), swizzle v.x/y/z, length/normalize/dot/cross/dist/yaw/pitch (yaw/pitch aligned with the DIRECTION node, degrees, yaw ∈ [0,360)) |
| ⚖️ Comparison & Logic / 比较逻辑 | < > <= >= exact; ==/!= 1e-6 tolerance; && \|\| ! with !=0 truthiness |
| 📐 Scalar Functions / 标量函数 | sin cos tan asin acos atan2 sinh cosh sqrt ln log exp sec csc cot (degrees convention) |
| 🎯 @output vec3 Expansion / 输出展开 | @output v (vec3) auto-expands into 3 scalar pins v.x/v.y/v.z with stable pinIds |
| 🔗 Warm Restart Toggle / 温启动开关 | Pinless eval-policy setting in the formula edit panel (segmented toggle like the signal generator's mode switch): warm keeps iterating toward new inputs without resetting progress vs strict freeze (default) / 编辑区无引脚两段式按钮:温启动保留进度继续迭代 vs 严格冻结(默认) |
| 🌐 CJK Input / 中文输入 | Chinese/full-width symbols, letters, digits and spaces convert to half-width ASCII as you type (()→(), ×→*, ≥→>=, full-width x→x …) / 中文/全角符号输入即转半角 |
| ✍️ Editor Support / 编辑器支持 | Syntax highlighting, autocomplete and validation for all new tokens; -- line comments / 新语法高亮补全校验;-- 行注释 |


### ⏱️ 公式预算池 / Formula Budget Pool

| Mechanism / 机制 | Behavior / 行为 |
|------------------|----------------|
| 🕒 Per-Node Slice / 节点配额 | slice = formulaBudgetMs / N_heavy_prev (default 3.0ms, configurable 0.5–20); every node admitted every tick — zero starvation / 保底零饿死 |
| 🤝 Cooperative Suspend / 协作挂起 | Wall-clock check every 16 iterations at loop boundaries; carrier (loop stack + Env snapshot) saved, resumed next tick via seek execution — no lost iterations / 循环边界挂起续算不丢迭代 |
| 📤 Emit-on-Done / 收敛输出 | Outputs frozen during spread, fresh value only on done — half-converged values never leak / 半收敛解永不流出 |
| 🧊 Freeze / Warm / 冻结与温启动 | Input change mid-spread: strict freeze completes the old snapshot (default); warm keeps iterating toward the new inputs without resetting progress (opt-in) / 温启动保留进度继续迭代 |
| 🛡️ MAX_ITER Backstop / 兜底 | 1M iterations spread-wide → shed to lastGood + one-shot warning, unfrozen on formula edit / 超限冻结直到编辑 |
| ⚡ Dedup / 去重 | Same script + same inputs deduplicated per tick (pure functions, array-iso
...
### 🔍 回归审计 + 总线系统 / Regression Audit + Bus System

  • 回归审计 / Regression audit**:对 1915202 起的改动做全量业务逻辑审计(6 路并行 + 对抗验证),修复雷达红石输出失效、传感器子关卡姿态误用、flipflop 同步风暴、子图状态泄漏、Sable 专用服务器反射错误等。/ Full business-logic audit of changes since 1915202 (6 parallel + adversarial verification): fixed radar redstone output, sensor sub-level pose misuse, flipflop sync storm, sub-graph state leak, and Sable dedicated-server reflection errors.
  • 总线跨方块编辑修复 / BUS cross-block editing fixes**:创建同名 BUS_OUT 不再自动同步覆盖原频道 owner 的 band 定义;改名保留自身 band 与连线(BUS_IN 采用新频道 band);点击空白处提交频道名;修复反复编译+运行导致 BUS_IN 读 0(loadGraphFromBytes 的 generation 冲突);自身 BUS_OUT 不再误报冲突。/ Creating a same-name BUS_OUT no longer overwrites the original owner's band definitions; rename preserves the node's bands and connections (BUS_IN adopts the new channel's bands); clicking empty space commits the channel name; fixed BUS_IN reading 0 after repeated compile+run (generation conflict in loadGraphFromBytes); a node's own BUS_OUT no longer reports a false conflict.
  • 编译 BUS 断线修复 / Compile-time BUS disconnection fix**:移除 loadGraphFromBytes 中 cleanupBusChannels(),防止编译时向客户端广播空频段导致连线永久丢失。/ Removed cleanupBusChannels() from loadGraphFromBytes to stop empty band syncs from permanently deleting connections.
  • 编辑器冲突检测 / Editor conflict detection**:修复 crossConflict 死代码(客户端从不显示跨方块冲突),改名/删除时 localBusNames 保持同步。/ Fixed the crossConflict dead code (cross-block conflicts were never shown client-side); localBusNames stays in sync on rename/delete.

### 📦 封装节点 / Encapsulation Nodes

  • 封装节点输出假数值 / Fake outputs from encapsulated nodes**:修复 recompileEvaluatorFull() 的 runtimeState.clear() 清除子图时序组件状态(DELAY/LATCH/flipflop 等),导致封装内部计算偏差。1.2.3 的子评估器缓存掩盖了此问题,修复缓存失效后暴露。现在重编译前保存并恢复 subStates。/ runtimeState.clear() no longer wipes sub-graph sequential state (DELAY/LATCH/flipflop etc.) — subStates are saved and restored before a full recompile; previously masked by the v1.2.3 sub-evaluator cache.
  • 封装内时序节点编辑区状态 / In-encapsulation sequential node state**:扩展 RuntimeStateSyncPacket 携带子图 flipflop 状态,编辑器在子图内显示正确的时序节点实时状态。/ RuntimeStateSyncPacket now carries sub-graph flipflop state so the editor shows correct live sequential state inside encapsulation.
  • 子图展开状态初始化 / Sub-graph expansion state init**:修复进出封装节点后 expandedInitDone 未重置,导致子图展开节点不恢复。/ Fixed expandedInitDone not resetting when entering/leaving encapsulation, so expanded sub-graph nodes fail to restore.

### 📝 公式编辑器 / Formula Editor

  • 公式节点双缓存统一 / Unified formula cache**:移除 GraphEvaluator.scriptCache,改为 node.cachedScript 单一真相源,消除引脚解析与求值的缓存漂移。/ Removed GraphEvaluator.scriptCache; node.cachedScript is now the single source of truth, eliminating pin-resolution vs. evaluation cache drift.
  • 公式节点清空回弹 A+B / Formula empty-value bounce-back A+B**:createEditState 不再强制默认值。/ createEditState no longer forces default values.
  • 公式编辑器光标与选区 / Formula editor caret & selection**:MLE 图空间坐标转换 + 方向键折叠选区。/ MLE graph-space coordinate conversion
...
[1.2.4] create-schematic-compute 1.2.4 by StarryNight_Luo on Oct 18, 2026
Download
### 👥 Multiplayer Collaboration / 多人协作
All 7 blocks now support real-time collaborative graph editing — multiple players can edit the same node graph simultaneously. / 全部 7 种方块支持多人实时协作编辑同一节点图。

| Feature / 功能 | Description / 说明 |
|----------------|-------------------|
| 🖱️ Live Cursors / 实时光标 | Colored crosshairs with player names / 彩色十字准星 + 玩家名 |
| 📦 Remote Node Drag / 远程拖拽节点 | Smooth lerp animation on remote moves / 远程移动平滑插值动画 |
| 🔗 Wire Preview / 连线预览 | Live bezier curve while dragging wires / 拖拽连线时实时贝塞尔曲线 |
| 👤 Player List / 玩家列表 | Right-side vertical list, host highlighted / 右侧竖向列表,房主高亮 |
| 🔒 Node Lock / 节点锁定 | IMAGE nodes protected during pixel editing / 像素编辑时自动锁定 |
| ⚡ Join/Leave / 加入离开 | Appear immediately on open, disappear on close / 打开即现,关闭即消 |
| ✏️ Op-Based Editing / 操作同步 | GraphOp + OpExecutor model, server-authoritative ID allocation / 服务器权威 ID 分配 |

### ⚡ Architecture Refactoring / 架构重构

| Change / 改动 | Description / 说明 |
|---------------|-------------------|
| 🖥️ Server-Authoritative Eval / 服务端评估 | Client-side GraphEvaluator removed. All evaluation runs server-side; results synced via ClientboundGraphEvalPacket + EvalSnapshot. Fixes PRIVATE_IN/BUS_IN always returning 0 on client. |
| 🏗️ Unified BE Base / 统一 BE 基类 | SyncedGraphBlockEntity consolidates ~200 lines duplicated across 7 BEs (BUS lifecycle, RedstoneLink, NBT, sync, EvalSnapshot). |
| 📦 Blob Data Channel / Blob 通道 | BlobDataPacket + BlobRegistry for chunked large data. SET_IMAGE_PIXELS from Base64 to direct int[]. |

### 🔧 Debug Toolchain / 调试工具链

| Tool / 工具 | Description / 说明 |
|-------------|-------------------|
| 📶 Signal Generator / 信号发生器 | Test signal source. Manual curve mode (draggable control points, X-clamped, server-sorted) or custom f(x) formula (all math functions, auto full-width paren conversion). Frequency-generate (auto-cycling X) or input-driven (drag sky-blue marker). Auto-scale Y axis with ±5 outlier clipping. |
| 📊 Signal Probe / 信号探针 | Real-time monitor with 100-tick trend chart. Auto-scale Y axis with outlier clipping. Right-click freeze/unfreeze/clear. |

### 📌 View Bookmarks / 视角书签
  • ★ button (bottom-right, above ▼) toggles bookmark panel / ★按钮开关书签面板
  • [+] / Ctrl+M save current view, [↺] / Home reset to origin
  • [✎] rename, [✕] delete, [→] or click name to jump with 200ms ease-in-out transition
  • Drag name area to reorder, synced via MOVE_BOOKMARK op
  • Click outside naming dialog to cancel; Esc handled by unified popup stack
  • Multiplayer-synced via ADD_BOOKMARK / REMOVE_BOOKMARK / RENAME_BOOKMARK / MOVE_BOOKMARK ops

### 🐛 Fixes & Polish / 修复与打磨
  • 🔧 **Graph Init** — onLoad() bumps generation to force full recompile on first tick.
  • 🚌 **BUS Channel** — registerChannels() no longer requires bandCount()>0; empty-band channels register so BUS_IN reads immediately.
  • 🎨 **Color Picker UX** — ESC closes picker + panels together. Duplicated nodes get sortB = original+1.
  • 📝 **Bilingual Comments** — All
...
[1.2.3] create-schematic-compute 1.2.3 by StarryNight_Luo on Oct 18, 2026
Download
## 📝 v1.2.3 — A.B.C Occlusion System & Sticky Notes

> **English:**
> This major update overhauls the graph editor's rendering and hit-testing architecture with a professional **A.B.C Layered Occlusion System**. It fixes long-standing Z-order bugs where nodes would render under expanded panels or have their clicks stolen by background UI. Additionally, introduces fully-fledged **Comment Nodes** for documentation and resolves several critical desync and crash issues.
>
> **中文:**
> 此重大更新为图形编辑器引入了专业的 **A.B.C 分层遮挡系统**,彻底重构了渲染与命中检测架构。修复了节点在展开面板下渲染错误、点击被底层 UI 拦截等长期存在的 Z 轴排序问题。此外,新增了功能完整的**注释节点**,并修复了多处严重的同步错误与崩溃问题。

### ✨ Features & Enhancements | 新特性与优化

  • 🎨 A.B.C Occlusion System:**
  • EN:** Implements a strict 3-layer sorting hierarchy (A: Layer → B: Depth → C: Internal Element). Layers include Grid, Comments, Connections, Nodes, Overlays, and Tooltips. This ensures UI elements never visually clash or incorrectly overlap.
  • CN:** 实现严格的三层排序逻辑(A: 图层 → B: 深度 → C: 内部元素)。图层涵盖网格、注释、连线、节点本体、叠加层及悬浮提示,彻底杜绝 UI 元素视觉冲突。
  • 📝 Comment Nodes (Sticky Notes):**
  • EN:** Adds a new visual-only node (0 inputs/outputs) available in all 7 programmable blocks. Features resizable dimensions (up to 8000x6000), scrollable markdown text, independent color customization (BG/Border/Text), and nested parenting (dragging a parent moves children).
  • CN:** 在全息蓝图等 7 种可编程方块中新增纯视觉注释节点(无输入输出)。支持超大尺寸调节(最大 8000x6000)、文本滚动、Markdown 换行、三色独立定制(背景/边框/文字)及嵌套父子移动逻辑。
  • ⚡ Performance & Spatial Logic:**
  • EN:** Introduces SpatialIndex (uniform grid hashing) for O(k) spatial queries, replacing expensive linear searches. Manual EditBox rendering prevents text bleeding through opaque node bodies.
  • CN:** 引入基于均匀网格哈希的 SpatialIndex,将空间查询复杂度降至 O(k),取代昂贵的线性扫描。手动渲染编辑框,解决文字穿透节点背景的问题。
  • 🖱️ Interaction Polish:**
  • EN:** Comment headers are now draggable while the body remains clickable. Ctrl+Scroll scrolls comment text while normal scroll zooms the canvas. Nested comments maintain correct Z-depth (inner stays on top of outer).
  • CN:** 注释节点头部支持拖拽,主体保留点击交互。Ctrl+滚轮滚动注释内容,普通滚轮缩放画布。嵌套注释保持正确的 Z 轴深度(内层高于外层)。

### 🐛 Bug Fixes | 问题修复

  • 🔧 Editor Z-Order & Hit-Detection:**
  • EN:** Fixed nodes rendering under expanded edit panels. Fixed inability to click/drag nodes overlapping expanded areas. Fixed inline edit controls (buttons, fields) ignoring Z-order. Fixed viewport culling ignoring expanded heights.
  • CN:** 修复节点在展开面板下渲染的错误;修复重叠在展开区域上的节点无法点击/拖拽的问题;修复内置控件(按钮、输入框)无视 Z 轴排序的问题;修复视口裁剪忽略展开区域高度的问题。
  • ☁️ Server & Networking:**
  • EN:** **Critical Fix:** Removed client-side class imports (Screen, Minecraft) from common code to prevent Dedicated Server crashes (Fixes #4). Fixed Monitor block graph overwriting. Fixed BUS band name synchronization. Fixed Image node copy causing false cycles. Fixed Terminal pixel editor Esc behavior.
  • CN:** **关键修复:** 移除通用代码中对客户端类(Screen, Minecraft)的引用,防止专用服务端崩溃(修复 #4)。修复 Monitor 方块图像覆盖问题;修复 BUS 频段名称同步问题;修复复制图像节点导致的伪循环;修
...
[1.2.2] create-schematic-compute 1.2.2 by StarryNight_Luo on Oct 18, 2026
Download
### v1.2.2 — Portable Terminal + Layer Panel + Undo/Redo
  • 📱 **Portable Terminal** — new handheld item to remotely discover and edit programmable blocks. Scans overworld and Sable sub-level devices within configurable range (1–256 blocks). One-click opens the block's native GUI.
  • 🇨🇳 便携终端** — 新增手持物品,远程发现和编辑可编程方块。扫描 overworld 和 Sable 子世界设备,范围可配置(1-256 格)。一键打开方块原生 GUI。
  • 🔍 **Sable sub-level scanning** — server-side scan via LevelPlot.getLoadedChunks() with rotation-corrected world position calculation. Classloader-safe interface detection handles Sable's jarjar isolation.
  • 🇨🇳 Sable 子世界扫描** — 服务端通过 LevelPlot.getLoadedChunks() 扫描,带旋转修正的世界坐标计算。类加载器安全的接口检测处理 Sable 的 jarjar 隔离。
  • 🖼️ **Photoshop-style layer panel** — redesigned Holographic Monitor display editor with 108px-wide layer panel, 30px rows, and 24×24 component thumbnails. Drag-and-drop layer reordering with ghost row and auto-scroll.
  • 🇨🇳 Photoshop 风格图层面板** — 重新设计全息显示器编辑器,108px 宽图层面板,30px 行高,24×24 组件缩略图。支持拖拽排序、幽灵行和自动滚动。
  • ↩️ **Undo/Redo system** — Ctrl+Z / Ctrl+Y support for graph editor (add/delete nodes, connections, duplicate) and pixel editor (paint operations, new frames). Graph-level undo uses NBT snapshots with 50-step history.
  • 🇨🇳 撤销/重做系统** — 图形编辑器(添加/删除节点、连线、复制)和像素编辑器(绘制、新建帧)支持 Ctrl+Z/Y。图形级撤销使用 NBT 快照,50 步历史记录。
  • 🖥️ **Display editor fixes** — selection highlight now renders on top of all elements. Clicking empty display area starts dragging the already-selected component.
  • 🇨🇳 显示编辑器修复** — 选中高亮现在渲染在所有元素之上。点击空白区域开始拖拽已选中组件。
  • 🛠️ **Radar fixes** — removed aggressive validateSableCache() that cleared Sable pose every tick. Bootstrap now uses boundingBox() for precise sub-level matching.
  • 🇨🇳 雷达修复** — 移除每帧清除 Sable 姿态的 validateSableCache()。Bootstrap 现使用 boundingBox() 精确匹配子世界。
  • 🧹 **Code cleanup** — portable terminal streamlined (7 dead packet files removed, screen code -52%). All screens unified toggleRunning() pattern.
  • 🇨🇳 代码清理** — 便携终端精简(移除 7 个废弃包文件,屏幕代码减少 52%)。所有屏幕统一 toggleRunning() 模式。
  • 🎨 **3D terminal model** — custom Blockbench handheld model with GUI display angles.
  • 🇨🇳 3D 终端模型** — 自定义 Blockbench 手持模型,已调整 GUI 显示角度。

[1.2.1] create-schematic-compute 1.2.1 by StarryNight_Luo on Oct 18, 2026
Download
### v1.2.1
  • ⚡ **GUI 性能优化** — 消除每帧分配:池化 Vector3f/Quaternionf、缓存红石输入列表、用快速格式化替代 String.format(ff0/ff1/ff2/ff3/hex8)、修复 MultiLineEditBox 的 O(n²) 子串分配
  • EN GUI perf** — eliminated per-frame allocations: pooled JOML objects, cached redstone inputs, fast formatters, O(n²) substring fix
  • 🎨 **原子颜色调色板** — 16 个可配置颜色存入 volatile int[] 数组,原子交换消除跨线程颜色撕裂
  • EN Atomic colors** — single volatile array prevents cross-thread color tearing
  • 🏗️ **脏标记框架** — NodeGraph.graphGeneration 计数器用于缓存失效;markDirty() 接入所有变更路径(拖拽、参数编辑、展开/折叠、编译、像素编辑)
  • EN Dirty flags** — graphGeneration counter with markDirty() on all mutation paths
  • 📐 **精度加固** — 新建 GeometryConstants 统一 22 个布局常量、去重 clampImageNorm/elemRotAABB/调色板、统一 FONT_BLOCK_SCALE、修复 PALETTE_CELL 不一致(24→16)、修复网格线子像素抖动(截断→Math.round)、MultiLineEditBox LINE_HEIGHT 从硬编码改为 font.lineHeight
  • EN Precision** — shared GeometryConstants, deduplicated geometry, fixed PALETTE_CELL, grid line rounding
  • 🛠️ **雷达 Sable 修复** — 移除 tryBootstrapSableCache() 中 100 万坐标守卫(蓝图放置的雷达无法初始化)、修复 RadarBlockEntitySable 中 savedLevel 回退竞争(蓝图放置时双 null 导致 physicsTick 返回)
  • EN Radar fixes** — removed 1M coordinate guard, fixed savedLevel race condition
  • 🧩 **DIRECTION 节点解锁** — 在 BlueprintScreen 和 ProgramComputerScreen 中可见(定义已久但被所有过滤器隐藏)
  • EN DIRECTION node** — now visible in BlueprintScreen and ProgramComputerScreen
  • 📦 **雷达战利品表** — 雷达方块破坏时掉落自身
  • EN Radar loot** — radar block drops itself on break
[1.2.0] create-schematic-compute 1.2.0 by StarryNight_Luo on Oct 18, 2026
Download
### v1.2.0
  • ✨ **Formula → multi-line script editor** — MultiLineEditBox with word wrap, drag-select, Ctrl+A, Enter/arrows, paste \r\n normalization
  • 🇨🇳 Formula → 多行脚本编辑器** — 自动换行、拖选、Ctrl+A 全选、Enter/方向键导航、粘贴 \r\n 规范化
  • ✨ **Formula script syntax** — assignments (var = expr), @output named pins, -- comments, \ line continuation, dynamic I/O pins
  • 🇨🇳 公式脚本语法** — 赋值语句、@output 命名输出、-- 注释、\\ 续行、动态输入/输出引脚
  • ✨ **8 new nodes** — SQRT, LN, LOG, EXP, SEC, CSC, COT, ANGLE_UNWRAP (78 total)
  • 🇨🇳 8 个新节点** — 平方根、自然对数、常用对数、指数、正割、余割、余切、角度解绕(共 78 种)
  • ✨ **3D Holographic Radar** — real-time scanner, target locking, Classic/Holographic styles, Blockbench model, TARGET_OUT node
  • 🇨🇳 3D 全息雷达** — 实时扫描器、目标锁定、经典/全息风格、Blockbench 模型、TARGET_OUT 节点
  • ✨ **BUS_IN / BUS_OUT nodes** — multi-band bus channels with global BAND_REGISTRY, zero-copy cross-computer signals
  • 🇨🇳 BUS_IN/BUS_OUT 节点** — 多频段总线通道,全局注册表,零拷贝跨计算机信号传递
  • ✨ **Encapsulation I/O** — import/export via toolbar, file browser, sub-graph state persistence
  • 🇨🇳 封装导入/导出** — 工具栏按钮、文件浏览器、子图状态持久化
  • ✨ **World coordinate nodes** — VELOCITY, ACCELERATION, DIRECTION, POSITION for sensors and radar
  • 🇨🇳 世界坐标节点** — VELOCITY、ACCELERATION、DIRECTION、POSITION
  • ✨ **Identifier scanning** — variable names support [a-zA-Z_][a-zA-Z0-9_]* (X1/X0 style vars)
  • 🇨🇳 标识符扫描** — 变量名支持字母数字下划线(X1/X0 风格)
  • ✨ **Wide FORMULA node + multi-column Trig menu** — 240px node width, 17-item Trig split into 2 columns
  • 🇨🇳 宽体公式节点 + 双列三角菜单** — 240px 节点宽度,17 项三角分类双列显示
  • 🐛 **E key fix** — printable keys no longer close GUI
  • 🇨🇳 E 键修复** — 可打印字符不再关闭 GUI
  • ⚡ **Performance** — dead code removed, ScriptParseResult cached, buildVisualLines dirty flag
  • 🇨🇳 性能优化** — 死代码移除、ScriptParseResult 缓存、visualLines dirty 标志
  • 🐛 **Various fixes** — expand button hit test, output pin connection offset, pin auto-cleanup, \r\n normalization
  • 🇨🇳 多项修复** — 展开按钮命中检测、输出引脚连线偏移、引脚自动清理、\r\n 规范化
[1.1.5] create-schematic-compute 1.1.5 by StarryNight_Luo on Oct 18, 2026
Download
### v1.1.5
  • ✨ **Add: LATCH edit panel** — Configurable default set/reset state toggle with real-time current state display
  • 🇨🇳 新增:锁存器编辑面板** — 可配置初始置位/复位切换,实时显示当前状态
  • ✨ **Add: PRIVATE_IN/PRIVATE_OUT on Program Computer** — Private signal channels now available for cross-block communication
  • 🇨🇳 新增:编程计算机支持私有信号** — PRIVATE_IN/PRIVATE_OUT 节点可用于跨方块通信
  • ✨ **Add: RuntimeState sync packet** — flipflopStates synced server→client on change for real-time UI display in multiplayer
  • 🇨🇳 新增:运行时状态同步包** — 翻转状态变化时服务端→客户端同步,多人游戏编辑区实时显示
  • 🐛 **Fix: Recompile state reset** — GATE, T_FLIPFLOP, and LATCH current state now resets to configured default on recompile
  • 🇨🇳 修复:重新编译状态重置** — 闸门、T触发器、锁存器重新编译后当前状态回归初始默认值
  • 🐛 **Fix: Edit panel live state display** — GATE/T_FLIPFLOP/LATCH current state now updates in real-time during execution (shared object single-player + network sync multiplayer)
  • 🇨🇳 修复:编辑区实时状态显示** — 闸门/T触发器/锁存器当前状态运行时实时更新(单机共享对象+多人网络同步)
  • 🐛 **Fix: World reload state persistence** — Program Computer and Blueprint Computer now correctly restore flipflopStates and pulseTimers across world reloads
  • 🇨🇳 修复:世界重载状态持久化** — 编程计算机和蓝图计算机世界重载后正确恢复时序节点运行状态
  • 🐛 **Fix: RuntimeState load consistency** — All 6 block entities audited; Blueprint now loads full runtime state; SpeedProxy clears pidState on graph change
  • 🇨🇳 修复:运行时状态加载一致性** — 全部6个方块实体审查;蓝图计算机现在加载完整运行时状态;SpeedProxy 图变化时清理 pidState
  • 🔧 **NBT compatibility: v1→v2 migration** — Old LATCH saves (params.length=0) auto-upgraded to new format
  • 🇨🇳 NBT 兼容层:v1→v2 迁移** — 旧版锁存器存档(params.length=0)自动升级为新格式
[1.1.4] create-schematic-compute 1.1.4 by StarryNight_Luo on Oct 18, 2026
Download
### v1.1.4
  • ✨ **Add: VELOCITY node (56→57)** — Structure-local X/Y/Z velocity from sable physics, ×2 m/s (Control Seat + Attitude Sensor)
  • 🇨🇳 新增:速度节点(56→57)** — sable 物理结构本地 X/Y/Z 速度,×2 m/s(控制座椅 + 姿态传感器)
  • ✨ **Add: Universal param input pins** — All numeric EditBox params now expose input pins inside the edit panel (PID kp/ki/kd, DELAY ticks, LOOP count/interval, etc.)
  • 🇨🇳 新增:通用参数输入引脚** — 所有数值编辑框参数在编辑区内部显示输入引脚(PID 的 kp/ki/kd、DELAY 的 ticks 等)
  • ✨ **Add: CLAMP/MAP param pins** — min/max and in/out range pins moved to edit panel with EditBox fallback defaults
  • 🇨🇳 新增:CLAMP/MAP 参数引脚** — min/max 和映射范围参数移至编辑区,支持编辑框默认值
  • ✨ **Add: NBT compatibility layer** — Data format versioning, v0→v1 migration, stable NodeType string IDs for forward compatibility
  • 🇨🇳 新增:NBT 兼容层** — 数据格式版本化、v0→v1 迁移、NodeType 稳定字符串 ID,确保向前兼容
  • ✨ **Add: Runtime state persistence** — PID integrals, delay queues, flipflop states saved to NBT and restored on reload
  • 🇨🇳 新增:运行时状态持久化** — PID 积分项、延时队列、触发器状态等存入 NBT,存档重载后不丢失
  • ✨ **Add: Expanded state NBT persistence** — Node expand/collapse state saved and restored
  • 🇨🇳 新增:展开状态持久化** — 节点展开/折叠状态存入 NBT,重载后保持
  • ✨ **Add: Edit panel pin rendering** — Param pins rendered as circles in the edit panel, connected pins shown dimmed with label retained
  • 🇨🇳 新增:编辑区引脚渲染** — 参数引脚以圆点形式显示在编辑区内,连线后变暗但标签保留
  • 🐛 **Fix: Encapsulation node copy** — Ctrl+D now deep-copies sub-graph contents
  • 🇨🇳 修复:封装节点复制** — Ctrl+D 现在会深拷贝子图内容
  • 🐛 **Fix: Wire drag** — Connects to nearest pin instead of all nearby pins simultaneously
  • 🇨🇳 修复:连线拖拽** — 只连最近引脚,不再同时连多个
  • 🐛 **Fix: TAB+click** — Deletes the nearest connection instead of the first match
  • 🇨🇳 修复:TAB+点击** — 删除最近连线,而非列表第一个
  • 🐛 **Fix: Connection bezier positions** — Correctly target functional pins on body and param pins in edit panel
  • 🇨🇳 修复:连线贝塞尔位置** — 正确指向节点体功能引脚和编辑区参数引脚
  • 🐛 **Fix: Velocity/acceleration block-relative rotation** — Properly rotates to block-local frame
  • 🇨🇳 修复:速度/加速度方块相对旋转** — 正确旋转到方块本地坐标系
  • 🐛 **Fix: CLAMP/MAP not working** — Evaluator now falls back to EditBox params when pins are unconnected
  • 🇨🇳 修复:CLAMP/MAP 不工作** — 求值器无连线时回退到编辑框参数值
  • 🐛 **Fix: Block filtering** — VELOCITY correctly excluded from Blueprint, included in ControlSeat/Sensor
  • 🇨🇳 修复:节点过滤** — VELOCITY 正确排除于蓝图计算机,包含于控制座椅/姿态传感器**

[1.1.3] create-schematic-compute 1.1.3 by StarryNight_Luo on Oct 18, 2026
Download
### v1.1.3
  • ✨ **Add: 7 new node types (49→56)** — OR Gate, GE (>=), LE (<=), ROUND (N decimals), Continuous Integrator, Acceleration, Gamepad Trigger
  • 🇨🇳 新增:7 种节点(49→56)** — 或门、大于等于、小于等于、保留N位小数、连续积分器、加速度、手柄扳机
  • ✨ **Add: IMAGE/IMAGE_SEQUENCE rotation input** — signal-driven rotation with rotation scale param + per-axis moveScale (X/Y) + invertX/invertY toggles
  • 🇨🇳 新增:IMAGE/IMAGE_SEQUENCE 旋转输入** — 信号驱动旋转(旋转倍率参数)+ 分轴移动倍率 + X/Y反转切换
  • ✨ **Add: T_FLIPFLOP edit panel** — configurable default on/off state toggle
  • 🇨🇳 新增:T 触发器编辑区** — 可配置默认开/关切换
  • ✨ **Add: i18n support** — ~130 new translation keys for node edit panels, pin labels, toolbar buttons, toggles (zh_cn + en_us)
  • 🇨🇳 新增:多语言支持** — 约 130 个新翻译键覆盖节点编辑区、引脚标签、工具栏按钮、切换按钮
  • 🐛 **Fix: GAMEPAD_BUTTON binding** — moved capture from event-driven keyPressed() to frame-polling with edge detection; now works with mapping software
  • 🇨🇳 修复:手柄按键绑定** — 从事件驱动改为帧轮询+上升沿检测,现在配合映射软件也能正常工作
  • 🐛 **Fix: Gamepad trigger clamp** — trigger axes clamped to [0,1] for phone/Bluetooth gamepads reporting [-1,1]
  • 🇨🇳 修复:手柄扳机钳制** — 扳机轴钳制到 [0,1],兼容手机蓝牙手柄的 [-1,1] 范围
  • 🐛 **Fix: IMAGE_SEQUENCE frame display** — 3D renderer now reads frame input pin and selects correct frame
  • 🇨🇳 修复:图像序列帧显示** — 3D 渲染器现在读取帧输入引脚并选择对应帧
  • 🐛 **Fix: Monitor display rotation** — center-based rotation with correct direction matching GUI preview
  • 🇨🇳 修复:全息显示器旋转** — 中心基轴旋转,方向与 GUI 预览一致
  • 🐛 **Fix: Double checkmark on toggle buttons** — removed duplicate ✔ from i18n strings
  • 🇨🇳 修复:切换按钮双勾号** — 移除 i18n 字符串中重复的 ✔
  • ⚡ **Perf: Acceleration computation** — uses pure float trig instead of JOML object allocations; no GC stutter on sable structures
  • 🇨🇳 性能:加速度计算** — 纯浮点三角函数替代 JOML 对象分配,sable 结构无 GC 卡顿
[1.1.2] create-schematic-compute 1.1.2 by StarryNight_Luo on Oct 18, 2026
Download
### v1.1.2
  • ✨ **Add: GATE node** — Signal gate with 4 inputs (value/open/close/toggle) and NBT-persistent state; available on Blueprint and Program computers
  • 🐛 **Fix: Node connection culling** — Connections on the left/top side of the GUI are no longer incorrectly culled
  • 🐛 **Fix: Monitor GUI rotation** — Display element rotation direction now matches between GUI editor and 3D screen
  • 🐛 **Fix: Monitor GUI margins** — Component positions in GUI now include the 0.04-block bezel margin matching the 3D screen
  • 🐛 **Fix: Monitor IMAGE clamping** — Rotated IMAGE/IMAGE_SEQUENCE elements use AABB-aware edge clamping matching the 3D renderer
  • 🐛 **Fix: Monitor IMAGE positioning** — Clamping bounds aligned with content area instead of display area
  • 🐛 **Fix: Monitor settings data loss** — Changing screen settings no longer resets display element positions/rotations
  • 🐛 **Fix: Monitor live preview** — Display area updates in real-time while editing screen width/length
  • 🐛 **Fix: ACCUMULATOR crash** — Placing accumuator node on Program Computer no longer crashes the game
  • 🐛 **Fix: MOUSE_BUTTON node** — Now outputs 1 while button held (previously was pulse-on-click)
[1.1.1] create-schematic-compute 1.1.1 by StarryNight_Luo on Oct 18, 2026
Download
### v1.1.1
  • ✨ **Add: Encapsulation node** — nest sub-graphs inside a single node, double-click to expand, 48→49 types
  • ✨ **Add: Monitor Redstone Input** — Holographic Monitor can now read Redstone Link network signals via REDSTONE_IN node
  • ✨ **Add: Toolbar position toggle** — bottom-right button to switch toolbar (X/Compile/Run/Grid/Style) between top-left and bottom-left; position persisted to config file
  • 🐛 **Fix: Control Seat view jump** — smooth transition between Joystick and View Angle modes (Mixin-based raw mouse delta capture, zero GLFW cursor manipulation)
  • 🐛 **Fix: Monitor 3D renderer redstone** — 3D holographic display now correctly evaluates REDSTONE_IN nodes (was passing empty InputSource list)
  • 🐛 **Fix: Monitor redstone registration** — late-registered listeners now receive initial signal state via force-resend; dedicated MonitorRedstoneSyncPacket for lightweight client sync
  • ⚡ **Perf: Comprehensive code audit** — NaN guards on all arithmetic nodes (ADD/SUB/MUL/MAP/INTERP), FORMULA compilation cache, volatile thread safety on all static fields, evaluator caching (60+ FPS → graph-change-only), Sensor reflection cache, ControlSeat entity scan radius 50→2 blocks
  • ♻️ **Refactor: RedstoneLinkHelper** — ~400 lines of duplicated redstone link code (FreqLink, registerLinks, addLink, unregisterLinks, lifecycle hooks) deduplicated across 4 block entities (Blueprint, ProgramComputer, ControlSeat, Sensor)
  • ♻️ **Refactor: GraphBlockEntity interface** — replaces 6-branch instanceof chains in BlueprintSavePacket/BlueprintTogglePacket with single interface check
  • ♻️ **Refactor: Star imports eliminated** — all import java.util.* expanded to explicit imports across 6 files
  • 🔧 **Mixin infrastructure** — added Mixin AP + LocalPlayerMixin for Entity.turn() interception in Control Seat
  • 🛡️ **Player disconnect cleanup** — PLAYER_INPUTS now cleared per-player on PlayerLoggedOutEvent

create-schematic-compute Icon
Download create-schematic-compute
Select game version
Select platform