toggle menu
UnderscoreEnchantsAPI
2.2.0
jvm
switch theme
search in API
UnderscoreEnchantsAPI
/
com.roughlyunderscore.registry
/
UEAPIRegistry
/
findEnchantmentByKey
find
Enchantment
By
Key
@
Since
(
version
=
"2.2"
)
abstract
fun
findEnchantmentByKey
(
key
:
NamespacedKey
)
:
RegistrableEnchantment
?
Finds an enchantment by a NamespacedKey.
Return
the enchantment, or null if not found