
Autokey
Simple, client side scripting for Minecraft.
- Загрузки
- 3K
- Подписчики
- 40
- Обновлён
- 24 мая 2024 г.
- Лицензия
- MIT
Опубликован 1 марта 2022 г.
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
GUI

Example projects
Chat calculator

Code:
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

Ченджлог
1.1.2+1.20.6Бета1.20.6 · 24 мая 2024 г.
Updated to 1.20.6
1.1.2+1.20.5Бета1.20.5 · 28 апреля 2024 г.
Updated to 1.20.5
1.1.2+1.20.4Бета1.20.4 · 16 декабря 2023 г.
Updated to 1.20.4
1.1.2+1.20.1Бета1.20.1 · 18 ноября 2023 г.
Minor changes to api and internals (again). Added printCommand function.
1.1.2+1.20.2Бета1.20.2 · 18 ноября 2023 г.
Minor changes to api and internals (again). Added printCommand function.
1.1.0+1.20.1Бета1.20.1 · 17 ноября 2023 г.
Update to 1.20.1 with minor changes to internals.
1.0.0+1.18.2Бета1.18.2 · 23 августа 2022 г.
Added "Only allow client message" to the settings screen. Turning this option off will trigger the script even if the message (as long as it starts with the specified prefix) in chat was not sent by the player.
A lot of internal and breaking API changes were made to make the mod more modular.
1.0.0+1.19.2Бета1.19.2 · 23 августа 2022 г.
Added "Only allow client message" to the settings screen. Turning this option off will trigger the script even if the message (as long as it starts with the specified prefix) in chat was not sent by the player.
A lot of internal and breaking API changes were made to make the mod more modular.
Комментарии
Загружаем…