Class CustomTextOption


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

    • CustomTextOption

      public CustomTextOption(OptionCategory category, String fieldName, String label, String defaultValue)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Creates a String textbox. 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 field name
      label - - the label, can be the display string or i18n key.
      defaultValue - - The default value.