命令方块编辑器
Command Block Editor 是一款实用模组,让创建和管理命令方块系统变得更快、更方便。
无需逐个编辑命令方块,你可以在一个编辑器中编写多个命令,并自动生成完整的命令方块链。
非常适合地图制作者、技术型建造者以及任何使用大型命令方块系统的玩家。
打开编辑器
按下配置的快捷键(默认:=)以打开编辑器。
- 如果你正注视着一个命令方块,编辑器将加载该命令方块的命令。
- 否则,将在你当前位置创建一个新的命令方块并在编辑器中打开它。
- 按
Ctrl + S保存并关闭编辑器。
编辑器语法
| 语法 | 说明 |
|---|---|
<number> |
重复执行命令多次。 |
! |
将第一个命令方块设置为循环命令方块。 |
@ |
切换自动模式。在第一个命令上启用自动模式,在后续命令上禁用它。 |
? |
将命令方块设置为条件命令方块。 |
`表达式` |
计算数学表达式。 |
表达式支持:
i迭代索引+加法-减法*乘法/除法( )括号;分隔重复模式中的值(例如,`1;2`生成1, 2, 1, 2, ...)
示例
输入:
3: say `i+1`
5: say `1;2`
say hi
?: say hi
输出:
say 1
say 2
say 3
say 1
say 2
say 1
say 2
say 1
say hi
say hi (conditional)
键盘快捷键
| 快捷键 | 操作 |
|---|---|
Ctrl + S |
保存并关闭编辑器。 |
Ctrl + U |
取消当前行的组合。 |
Ctrl + Shift + K |
删除当前行。 |
Alt + ↑ / Alt + ↓ |
将当前行上移或下移。 |
Alt + Shift + ↓ |
复制当前行。 |
Command Block Editor
Command Block Editor is a utility mod that makes creating and managing command block systems much faster and more convenient.
Instead of editing command blocks one by one, you can write multiple commands in a single editor and automatically generate complete command block chains.
Perfect for map makers, technical builders, and anyone who works with large command block setups.
Opening the Editor
Press the configured keybind (default: =) to open the editor.
- If you are looking at a command block, the editor will open with that command block's commands loaded.
- Otherwise, a new command block will be created at your current position and opened in the editor.
- Press
Ctrl + Sto save and close the editor.
Editor Syntax
| Syntax | Description |
|---|---|
<number> |
Repeat a command multiple times. |
! |
Make the first command block a repeating command block. |
@ |
Toggle auto mode. On the first command it enables auto mode, on subsequent commands it disables it. |
? |
Make a command block conditional. |
`expression` |
Evaluate a mathematical expression. |
Expressions support:
iiteration index+addition-subtraction*multiplication/division( )parentheses;separates values in a repeating pattern (for example,`1;2`produces1, 2, 1, 2, ...)
Example
Input:
3: say `i+1`
5: say `1;2`
say hi
?: say hi
Output:
say 1
say 2
say 3
say 1
say 2
say 1
say 2
say 1
say hi
say hi (conditional)
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Ctrl + S |
Save and close the editor. |
Ctrl + U |
Ungroup current line. |
Ctrl + Shift + K |
Delete the current line. |
Alt + ↑ / Alt + ↓ |
Move the current line up or down. |
Alt + Shift + ↓ |
Duplicate the current line. |
下载 Command Block Editor
下载 Command Block Editor
下载 Command Block Editor
下载 Command Block Editor
下载 Command Block Editor
下载 Command Block Editor
下载 Command Block Editor
下载 Command Block Editor
下载 Command Block Editor
下载 Command Block Editor
Bug 修复
添加了取消组合的快捷键
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧