How to use the addEnchantment ? #4757
Unanswered
CNXiaozhiy
asked this question in
FAQ
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How to use the addEnchantment ?
sword.addEnchantment(Enchantments.SHARPNESS, 255);
ERROR: it need RegistryEntry
how can i to get it???
Beta Was this translation helpful? Give feedback.
All reactions