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

[Feature Request]: Button to Call Methods #15

Open
RawDiamondMC opened this issue Jul 20, 2024 · 2 comments
Open

[Feature Request]: Button to Call Methods #15

RawDiamondMC opened this issue Jul 20, 2024 · 2 comments
Labels
priority: normal this issue does not break any critical functionality - it must be adressed, but not immediately type: enhancement this issue requests additions or enhancements to the codebase

Comments

@RawDiamondMC
Copy link

It would be nice if we can add buttons which calls Java methods.

@gliscowo gliscowo added type: enhancement this issue requests additions or enhancements to the codebase priority: normal this issue does not break any critical functionality - it must be adressed, but not immediately labels Jul 21, 2024
@gliscowo
Copy link
Member

This is definitely something to consider having, but I'd like to hear from you (a potential user) on:

  • what use cases you have
  • how you'd like to see it be implemented

Cheers

@RawDiamondMC
Copy link
Author

RawDiamondMC commented Jul 24, 2024

This is definitely something to consider having, but I'd like to hear from you (a potential user) on:

* what use cases you have

* how you'd like to see it be implemented

Cheers

Use case

I want to make a quest book so I want to create a "Submit" button.

Implementation

Maybe writing like mixins?

[Submit](Lcom.example.Class;aConsumer)

aConsumer should be a Consumer<Player>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: normal this issue does not break any critical functionality - it must be adressed, but not immediately type: enhancement this issue requests additions or enhancements to the codebase
Projects
None yet
Development

No branches or pull requests

2 participants