Is your feature request related to a problem?
Expanding on the new Dialog API.
Describe the solution you'd like.
Add a DialogClickEvent that will allow for the following:
- Detect the click type so that we can have multiple use buttons (left, right, middle, keyboard). Not sure if this is possible as I have not looked at what packets are sent.
- Detect which button was clicked so that we can run code when a button is pressed in addition to the action that was set in the dialog for that button. This will allow for making a Dialog that does things other than just customClick if we want to run code. For example, if I want to open another dialog when clicking on a button but still run code at the same time.
- Get the player doing the click.
- Get the action type of the button being clicked.
- Get the dialog that was clicked inside. This will be able to be compared to the dialog that the player has open.
I am sure there are more things that someone would want to be able to see inside of this event, but those are some quick things.
Describe alternatives you've considered.
Wait for Mojang to expand on the customClick dialog (unlikely).
Other
No response
Is your feature request related to a problem?
Expanding on the new Dialog API.
Describe the solution you'd like.
Add a DialogClickEvent that will allow for the following:
I am sure there are more things that someone would want to be able to see inside of this event, but those are some quick things.
Describe alternatives you've considered.
Wait for Mojang to expand on the customClick dialog (unlikely).
Other
No response