Improve documentation of Enchantment#values()

This commit is contained in:
md_5 2024-04-17 19:11:14 +10:00
parent 507052e112
commit 6cc615e662
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11

View file

@ -337,7 +337,7 @@ public abstract class Enchantment implements Keyed, Translatable {
* Gets an array of all the registered {@link Enchantment}s
*
* @return Array of enchantments
* @deprecated use {@link Registry#iterator()}
* @deprecated use {@link Registry#iterator() Registry.ENCHANTMENT.iterator()}
*/
@NotNull
@Deprecated