Class EnumOption<E extends KeyedEnum>

java.lang.Object
journeymap.api.v2.client.option.Option<E>
journeymap.api.v2.client.option.EnumOption<E>

@Deprecated(forRemoval=true) public class EnumOption<E extends KeyedEnum> extends Option<E>
Deprecated, for removal: This API element is subject to removal in a future version.
Use EnumOption instead. Scheduled for removal in JourneyMap for Minecraft 26.2.
  • Constructor Details

    • EnumOption

      public EnumOption(OptionCategory category, String fieldName, String label, E defaultValue)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Boolean - creates a dropdown of the enum list. Labels are specified in the getKey from KeyedEnum that your enum must extend. For tooltips, your i18n key plus .tooltip in your language json example mod.option.label and mod.option.label.tooltip
      Parameters:
      category - - The category;
      fieldName - - The fieldName;
      defaultValue - - The default enum value.