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

Add enchantments topping #16

Closed
wants to merge 1 commit into from
Closed

Add enchantments topping #16

wants to merge 1 commit into from

Conversation

nickelpro
Copy link

@nickelpro nickelpro commented Aug 13, 2020

This is to address PrismarineJS/minecraft-data#325

It uses the exact same approach as the particletypes topping. There's more useful data to be extracted from enchantments (Slot restrictions, rarity, protection status), but this is enough to address the minecraft-data issue. The string ambiguity is irrelevant for the time being since both detected classes load all of the string constants.

Tested on every version >= 1.8.8

@nickelpro
Copy link
Author

nickelpro commented Aug 13, 2020

This is not ready for merge, just realized that enchantment ids are not sequential in old versions. Going to fix that first

@nickelpro
Copy link
Author

This would need to be rebased onto the new branch even if it worked, so closing this PR

@nickelpro nickelpro closed this Jul 20, 2021
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.

None yet

1 participant