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

Added legacy show achievements #890

Merged
merged 7 commits into from
Jun 7, 2023
Merged

Added legacy show achievements #890

merged 7 commits into from
Jun 7, 2023

Conversation

LOOHP
Copy link
Contributor

@LOOHP LOOHP commented Apr 2, 2023

Before Minecraft 1.12, there is a hover event action called show_achievement.
Here's an example of it:

{"action":"show_achievement","value":"achievement.bakeCake"}

This PR adds legacy support to it.

Vanilla clients on or after 1.12 can silently ignore these hover events, so there should be no need to deliberately remove them if someone were to send them to modern clients.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Copy link
Member

@zml2008 zml2008 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be fine to add, as much as it is of limited use to most users it doesn't really harm anything or increase maintenance burden. Just a few nitpicks on style though.

@zml2008 zml2008 added this to the 4.14.0 milestone Apr 24, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@LOOHP
Copy link
Contributor Author

LOOHP commented Apr 28, 2023

There you go :)

zml2008
zml2008 previously approved these changes May 2, 2023
kashike
kashike previously approved these changes May 5, 2023
@zml2008 zml2008 dismissed their stale review May 5, 2023 03:37

retracted pending resolution of @emilyy-dev's review comments

@kashike kashike dismissed their stale review May 5, 2023 06:34

@emilyy-dev's review comments

LOOHP added 2 commits May 6, 2023 03:02

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
@LOOHP
Copy link
Contributor Author

LOOHP commented May 6, 2023

There you go (again)

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
@LOOHP
Copy link
Contributor Author

LOOHP commented May 6, 2023

And again :)

zml2008 added 2 commits June 6, 2023 21:58

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
…of legacy hover values

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
@zml2008 zml2008 enabled auto-merge June 7, 2023 05:03
@zml2008 zml2008 added this pull request to the merge queue Jun 7, 2023
Merged via the queue into KyoriPowered:main/4 with commit 8dcdbe2 Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants