Interface KeyedEnum

All Known Implementing Classes:
InfoSlotDisplayEvent.Position

@Deprecated(forRemoval=true) public interface KeyedEnum
Deprecated, for removal: This API element is subject to removal in a future version.
Use KeyedEnum instead. Scheduled for removal in JourneyMap for Minecraft 26.2.
Interface indicating an enum has a key.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Key is the label.
  • Method Details

    • getKey

      String getKey()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Key is the label.
      Returns:
      - The Key, can be the display string or i18n key.