Interface Enchantment

All Superinterfaces:
Keyed

@NonExtendable public interface Enchantment extends Keyed
Marker type for entries in the minecraft:enchantment registry.

This interface is used as the generic type for typed registry keys.

Calling Keyed.key() returns the entry's registry key.

  • Method Summary

    Methods inherited from interface Keyed

    key