Package journeymap.api.v2.client.option
Class CustomTextOption
java.lang.Object
journeymap.api.v2.client.option.Option<String>
journeymap.api.v2.client.option.CustomOption<String>
journeymap.api.v2.client.option.CustomTextOption
-
Field Summary
Fields inherited from class journeymap.api.v2.client.option.Option
config, defaultValue -
Constructor Summary
ConstructorsConstructorDescriptionCustomTextOption(OptionCategory category, String fieldName, String label, String defaultValue) Creates a String textbox. -
Method Summary
Methods inherited from class journeymap.api.v2.client.option.Option
get, getCategory, getDefaultValue, getFieldName, getLabel, getSortOrder, set, setSortOrder
-
Constructor Details
-
CustomTextOption
public CustomTextOption(OptionCategory category, String fieldName, String label, String defaultValue) 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 categoryfieldName- - the field namelabel- - the label, can be the display string or i18n key.defaultValue- - The default value.
-