Autokey 图标

Autokey

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1.2+1.20.6
本资源为搬运资源,原资源地址: https://modrinth.com/mod/autokey
资源信息

Minecraft 版本: 1.20.6

平台: fabric

标签: game-mechanics utility

资源介绍

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:

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

📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
TACZ Aeronautics compat

价格:0 墨喵币
下载量:0

查看详情
Entity Information

价格:0 墨喵币
下载量:0

查看详情
Key - Lock chests, other containers and doors

价格:0 墨喵币
下载量:0

查看详情
Inv View

价格:0 墨喵币
下载量:0

查看详情