Skip to content

feat: Custom Click Action API - #1890

Open
bluegreensea wants to merge 2 commits into
PaperMC:dev/4.0.0from
bluegreensea:feature/custom-click-action-api
Open

bluegreensea wants to merge 2 commits into
PaperMC:dev/4.0.0from
bluegreensea:feature/custom-click-action-api

Conversation

@bluegreensea

Copy link
Copy Markdown

Custom click action packet parse and event API.

The Test used refCnt not exists, I am not sure the Test still correct or not.

@roccodev

roccodev commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Shouldn't there be a way to consume the action on the proxy without forwarding it to the backend? Say for example for click prompts sent by the proxy

Granted it probably won't hurt to still send it to the backend, but there is a chance another conflicting action is registered there

I'm also wondering whether you could also build a callback/future-based prompt API, or whether that is better suited for plugins to handle

@bluegreensea

bluegreensea commented Sep 26, 2026 •

Copy link
Copy Markdown
Author

The first thing is done.

Can I ask what the exactly mean for callback/future-based prompt API?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants