跳到正文

Autokey

作者:cubic

Simple, client side scripting for Minecraft.

收藏

截图

介绍

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

Autokey is a free and open-source fabric mod for Minecraft that aims to provide a simple and easy-to-understand scripting interface.

This mod allows you to write and use scripts or macros that can press keys, send chat messages, do calculations and much more!

📥 Installation

Just drop the mod and the Fabric API into your mods folder.
Press B to open the main menu.

📝 Scripts

You can code your own scripts or download some from the snippets section of this project on GitLab.

Suggestions

Suggest features here.

GUI

Example projects

Chat calculator

demo_calc

Code:
~~~akey
parts = split(message, ” “)

firstNumber = getArrayElementAt(parts, 1)
operator = getArrayElementAt(parts, 2)
secondNumber = getArrayElementAt(parts, 3)

result = “invalid”
if (operator == “+”)
{
result = parseDouble(firstNumber) + parseDouble(secondNumber)
}
if (operator == “-“)
{
result = parseDouble(firstNumber) – parseDouble(secondNumber)
}
if (operator == “*”)
{
result = parseDouble(firstNumber) * parseDouble(secondNumber)
}
if (operator == “/”)
{
result = parseDouble(firstNumber) / parseDouble(secondNumber)
}

print(firstNumber _ ” ” _ operator _ ” ” _ secondNumber _ ” = ” _ toString(result))
~~~

Sugar cane farm builder

demo_build

常见问题

Autokey 支持哪些 Minecraft 版本?

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

Autokey 怎么安装?

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

评论

登录后评论和评分

cubic 的其他作品

查看全部 →