Class CustomIntegerOption
java.lang.Object
journeymap.api.v2.client.option.Option<Integer>
journeymap.api.v2.client.option.CustomOption<Integer>
journeymap.api.v2.client.option.CustomIntegerOption
Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Summary
Fields inherited from class Option
config, defaultValue -
Constructor Summary
ConstructorsConstructorDescriptionCustomIntegerOption(OptionCategory category, String fieldName, String label, Integer defaultValue, Integer minValue, Integer maxValue, Boolean allowNeg) Deprecated, for removal: This API element is subject to removal in a future version.Creates an Integer textbox. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class Option
get, getCategory, getDefaultValue, getFieldName, getLabel, getSortOrder, set, setSortOrder
-
Constructor Details
-
CustomIntegerOption
public CustomIntegerOption(OptionCategory category, String fieldName, String label, Integer defaultValue, Integer minValue, Integer maxValue, Boolean allowNeg) Deprecated, for removal: This API element is subject to removal in a future version.Creates an Integer 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 fieldname.label- - The label, can be the display string or i18n key.defaultValue- - The default value.minValue- - The minimum allowed value.maxValue- - The maximum allowed value.allowNeg- - Allow negative values.
-
-
Method Details
-
getMinValue
Deprecated, for removal: This API element is subject to removal in a future version. -
getMaxValue
Deprecated, for removal: This API element is subject to removal in a future version. -
getAllowNeg
Deprecated, for removal: This API element is subject to removal in a future version.
-
CustomIntegerOptioninstead. Scheduled for removal in JourneyMap for Minecraft 26.2.