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

Fix default attribute modifiers in item tooltip #5211

Merged

Conversation

eclipseisoffline
Copy link
Contributor

This PR fixes the default item attribute modifiers in the tooltip to match Java behaviour.

Before:

Before image with the attribute modifiers showing the bug

After:

After image, showing the same attribute modifiers in green text, like on Java

The PR also makes use of all translations for the equipment slot groups, shrinking big tooltips like these:

Before image, showing a bunch of the same attribute modifier entries for all equipment slots

Down to these:

After image, showing the same attribute modifier under one group

Lastly, this PR also fixes attribute modifiers for the minecraft:knockback_resistance attribute displaying wrongly (modifiers for these attribute show 10 times the value, which was implemented in Geyser, but wasn't properly updated when generic.knockback_resistance changed into knockback_resistance).

@eclipseisoffline eclipseisoffline marked this pull request as ready for review December 10, 2024 21:15
@onebeastchris
Copy link
Member

thank youuuu

@onebeastchris onebeastchris merged commit 4d12c29 into GeyserMC:feature/1.21.4 Dec 10, 2024
1 check passed
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