Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.20.1]是否能够为kubejs添加更加易用的方法 #58

Closed
WhiseNT opened this issue Dec 17, 2024 · 1 comment
Closed

[1.20.1]是否能够为kubejs添加更加易用的方法 #58

WhiseNT opened this issue Dec 17, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@WhiseNT
Copy link

WhiseNT commented Dec 17, 2024

尝试通过KubeJS来监听用户在LDLib GUI做的操作,但似乎没有足够好用直接的方法。
是否能添加一些更加直接且易用的方法以让KubeJS魔改可以通过GUI完成更多更复杂的功能,例如:
在MBD2机器事件中可以
1.在UI中获取按钮后可以使用例如.isPressed()的方法来监听按钮是否被按下
2.在UI中能够添加.isKeyDown()的方法(希望能够提供wrapper来让"W","S"等字符串可以指向GLFW_KEY)

如果现在通过KubeJS可以做到上面的功能,是否有可能够编写KubeJS对LDLib GUI魔改的教程以帮助理解运用呢?

@Yefancy Yefancy added the enhancement New feature or request label Feb 3, 2025
@Yefancy Yefancy closed this as completed Mar 8, 2025
@Yefancy
Copy link
Member

Yefancy commented Mar 8, 2025

Check ldlib doc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants