-
-
Notifications
You must be signed in to change notification settings - Fork 19
GH-999 Add end screen command #1104
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
Conversation
Introduced the end screen overlay functionality, including the EndScreenCommand for showing the end screen to self or another player. Added English and Polish message translations for the end screen, updated the Translation interface and implementations, and extended PaperOverlay to support the new end screen.
📦 Development Build ReadyWarning Do not use this build in production. It is for testing purposes only and may be unstable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request introduces a new /endscreen
command, allowing players to show the win screen to themselves or others. The implementation is well-structured, including internationalization support for messages. I've made a couple of suggestions to improve consistency in naming and message formatting. The included refactoring of PaperFeature
to remove an unused generic is a good improvement.
eternalcore-core/src/main/java/com/eternalcode/core/feature/fun/endscreen/EndScreenCommand.java
Outdated
Show resolved
Hide resolved
...e/src/main/java/com/eternalcode/core/feature/fun/endscreen/messages/ENEndScreenMessages.java
Outdated
Show resolved
Hide resolved
…n/endscreen/messages/ENEndScreenMessages.java Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
…/end-screen-command
No description provided.