Command Macro Key
作者:XiaoHuNao
Do you have any common commands? Do you think it is boring and tedious over and over again, then you can bind shortcut keys to execute commands now
介绍
中文介绍正在准备中,下面暂时显示原文。
Do you have any common commands? Do you think it is boring and tedious over and over again, then you can bind shortcut keys to execute commands now
Macro Type
- single
- delayed
- repeating
- key is the number corresponding to the key you want. The list can be found here : https://www.glfw.org/docs/3.3/group__keys.html
- You can use the/macro reload command to hot load an update
- If there is no “/” in the command field, it will be sent as chat text
- You can use \n as a separator to execute multiple commands consecutively, such as “Hello World\nHello Minecraft”
- For specific scenarios, the mod provides common placeholders as an alternative, such as “/gamemode creative %player_name%”.
Placeholder
player_name
player_pos_x
player_pos_y
player_pos_z
player_pos
player_health
player_food
player_exp
player_level
player_dimension
player_biome
player_facing
player_xRot
player_yRot
player_uuid
[
{
"macro":"command_macro_key:single",
"command": "/gamemode creative",
"primaryKey": 334,
"modifierKey": 0
},
{
"macro":"command_macro_key:delayed",
"command": "/gamemode creative",
"primaryKey": 334,
"modifierKey": 0,
"delay": 60
},
{
"macro":"command_macro_key:repeating",
"command": "/gamemode creative",
"primaryKey": 334,
"modifierKey": 0,
"repeat": 5,
"interval": 20
},
{
"macro":"command_macro_key:single",
"command": "/gamemode creative",
"primaryKey": 334,
"modifierKey": 0,
//optionalField
//It can only take effect in macros-server.json5 configuration, if there is this field, the permission will be ignored.
"hasOp": true,
//optionalField
//Valid for a specific archive only
"location": ".\\saves\\~~~~~"
}
]
常见问题
Command Macro Key 支持哪些 Minecraft 版本?
Command Macro Key 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Command Macro Key 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
XiaoHuNao 的其他作品
查看全部 →EnemyBanner
by XiaoHuNao
敌人旗帜,灵感来自知名游戏《泰拉瑞亚》中的敌人旗帜。
18.1万
1 年前
CurseForge
Create Heat JS
by XiaoHuNao
Allow to use Kubejs, customize Create's Heat Source Block, HeatLevel.
8.2万
5 个月前
CurseForge
MineTeam
by XiaoHuNao
Inspired by the team system of the famous game Terraria, it also supports teaming up with all the monsters
6,662
1 年前
CurseForge
评论
登录后评论和评分