KeyboardJS
作者:rebot | 分类:模组
价格:0 墨喵币
下载量:0
点赞:0
版本 1.0.0
本资源为搬运资源,原资源地址:
https://modrinth.com/mod/keyboardjs
资源信息
Minecraft 版本: 1.20.1
平台: forge
标签: game-mechanics
资源介绍
Please do not install on your server!
Please do not install on your server!
Please do not install on your server!
This is a simplified mod that simplifies the keyboard operation of kubejs.
With this mod, you can monitor the operation of keys on the keyboard, including pressing and releasing.
Determine whether a key has been pressed or released by returning a Boolean value.
Pressed Event
ItemEvents.rightClicked("emerald",event=>{
event.player.tell(Keyboard.pressed(Keys.F3))
})
Released Event
PlayerEvents.tick(event=>{
event.player.tell(Keyboard.released(Keys.X))
})
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
请 登录 后发表评论。
举报此资源
请登录后举报
暂无评论,抢个沙发吧~