[1.21] EnchantmentHelper#getAttackDamage() & EnchantmentHelper#getProtectionAmount() #3851
Replies: 1 comment
-
This article might help you. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Hi!
Pre 1.21 I was getting player attack damage (with enchantments bonus) with this code and now EnchantmentHelper#getAttackDamage() is gone, any ideas?
On the other hand, I was getting different player protection amounts with this code but now it needs ServerWorld... How I can pass ServerWorld client-side?
Thank you very much for your help because it's driving me crazy :P
Beta Was this translation helpful? Give feedback.
All reactions