-
Notifications
You must be signed in to change notification settings - Fork 13
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
1.21 #25
Conversation
extremeheat
commented
Aug 29, 2024
Whats still missing here? Id like to help! |
old displayname code: maybe we can use getName instead? im not sure of the purpose of translation keys but its been removed and getName added, but it accepts a level argument so im not really sure how we should handle this, wouldnt it return like "Unbreaking III"? we just want the displayname without a level for this right? ill test to see exactly what it returns later |
maybe we could do smth to determine if its treasure with the weight since apparently enchantments that cant be obtained from enchantment tables have a weight of 0 |
it dosnt look like the curse and isTreasure properties arent even used for anything in mineflayer so ig we could either remove that property since its not in the code anymore, or just manually update a list with new treasure enchants for each new version, for projects other then mineflayer that might use it |
* update classname * update moved class * updated to equivelant method since gettranslatekey removed * added isCursed list as bandaid alternative for now since isCursed() removed * added isTreasure list as bandaid alternative for now since isTreasure() removed * found alternative method to canCombine() since removed * modified getEnchantmentTarget name to handle registryEntryList since getApplicableItems dosnt return tagKey anymore * bandaid list solution for "tradeable" property since isTradeable removed and no alternative in mappings * bandaid solution for discoverable property since removed and no alternative to isAvailiableForRandomSelection in 1.21 mappings * removed .toPath since apparently it dosnt exist * no longer outputs in tagkey format * fixed not adding enchantcategories for items properly * added SuperGamerTron tag solution
Are there still useful changes here? If yes can you please rebase on master ? |
1.21 missing here: https://github.com/PrismarineJS/minecraft-data-generator-server/blob/d29015b4daaec4f37409236113bdeb64b182a333/.github/workflows/build.yml#L32 |
Added, runs, merging |