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

Goat horns and item cooldowns for 1.21.2 #5102

Merged
merged 10 commits into from
Oct 31, 2024

Conversation

eclipseisoffline
Copy link
Contributor

This PR should handle most of the goat horn changes in 1.21.2. Goat horn instruments have been turned data-driven and this PR takes account for that. This PR should also fix item cooldowns and implement support for tracking cooldown groups in Geyser, although Bedrock still doesn't always support showing custom item cooldowns visually.

Some basic testing has been done, both vanilla- and non-vanilla goat horns seem to translate correctly and have correct their cooldowns applied and sounds played. Some notes:

  • GeyserInstrument may need a better name, but Instrument conflicts with MCPL.

  • In JavaCooldownTranslator, it says that

    Not every item, as of 1.19, appears to be server-driven. Just these two.

    (These two being goat horns and shields) is this still the case, or are there now more server-driven item cooldowns for Bedrock?

  • Non-vanilla goat horns show a double tooltip (see attached screenshot), is it possible to hide the vanilla tooltip or not?

  • Unrelated to the main topic of this PR, a unnecessary TODO in Enchantment has been removed and a small error in the Javadoc there has been fixed.

Screenshot_20241024_164210

@Camotoy Camotoy merged commit 6cc2aa3 into GeyserMC:feature/1.21.2 Oct 31, 2024
2 checks 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