JsMacros Ruby
作者:rebot | 分类:模组
价格:0 墨喵币
下载量:0
点赞:0
版本 1.0.2+fabric
本资源为搬运资源,原资源地址:
https://modrinth.com/mod/jsmacros-ruby
资源信息
Minecraft 版本: 26.1 26.1.1 26.1.2 26.2
平台: fabric
标签: utility
资源介绍
JsMacros Ruby
Write your JsMacros macros in Ruby instead of JavaScript. Drop .rb files into your macros folder and they run under JRuby with the full JsMacros API.
Requirements
- JsMacros Reloaded 2.0.0 or newer — required. This is a companion mod; it does nothing on its own.
- Fabric, Minecraft 26.1.2+
Install
- Install JsMacros Reloaded.
- Drop JsMacros Ruby into your
mods/folder — exactly like any other Fabric mod. (No more hunting for aconfig/jsMacros/Extensions/folder.) - Write macros as
.rbfiles. They're picked up automatically and bound to triggers like any JS macro.
Example
Chat.log("Hello from Ruby!")
# the full JsMacros API is available
player = Player.get_player
Chat.log "You are at #{player.get_x}, #{player.get_y}, #{player.get_z}"
Notes
- JRuby is bundled into the mod (no separate Ruby install needed).
- Open source — see the source link.
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
请 登录 后发表评论。
举报此资源
请登录后举报
暂无评论,抢个沙发吧~