Resource icon

EnchantAPI 1.0.0

Compatible API Versions
1.0.11
Contributors
DeadlyLegend
A super simple to use Api for Enchantments

example
you wanna get Sharpness but you dont know the nukkit code (it is DAMAGE_ALL)

just use:

EnchantAPI.getEnchant(Enchant.SHARPNESS)

and thats it it will return The Nukkit Enchantment

simple isn't it?

There is also a Method called

EnchantAPI.getEnchantByName()

it has a String as parameter but if you dont typ the correct name it will throw an error so i would not recommend to use it but if you want go ahead

Thats it if you have any Questions or found a bug join my discord

  • Like
Reactions: Mewa
Author
Deadlylegend612
Downloads
785
Views
2,535
First release
Last update
Rating
2.00 star(s) 1 ratings

Latest reviews

Whats wrong with the normal nukkit enchant api? Yours is just the same..
Btw in Nukkit its Enchantment.get(Enchantment.DAMAGE_ALL)

So pls tell me the purpose xd
Top