跳到正文

KeyItems

作者:Saturnyx

Set keybindings for slash commands

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

KEYITEM

A minecraft mod that allows you to map keybinds to slash commands, allowing you to easily run commands.

Editing Keymap

Go to your .minecraft/config folder, and edit the keymaps.json file. You can see that each keybind is in the
following format:

"Slash_Command": {
    "modifierKey": 342,
    "primaryKey": 72
},
  • Slash_Command can be any command without the / symbol. For example, give @s minecraft:ender_pearl
  • modifierKey can be alt, ctrl or any other key, remember that it will only accept keycode.
  • primaryKey is the letter keycode that is part of the alphabet.
"give @s minecraft:ender_pearl": {
    "modifierKey": 342,
    "primaryKey": 85
},

常见问题

KeyItems 支持哪些 Minecraft 版本?

KeyItems 支持 Minecraft Java 版 1.21.5–1.21.7,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

KeyItems 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。

评论

登录后评论和评分

Saturnyx 的其他作品

查看全部 →