Package journeymap.api.v2.client.option
Class Option<T>
java.lang.Object
journeymap.api.v2.client.option.Option<T>
- Direct Known Subclasses:
BooleanOption,CustomOption,EnumOption,FloatOption,IntegerOption
Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated, for removal: This API element is subject to removal in a future version.protected final TDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOption(OptionCategory category, String fieldName, String label, T defaultValue) Deprecated, for removal: This API element is subject to removal in a future version.Parent for all options. -
Method Summary
Modifier and TypeMethodDescriptionget()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.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.getLabel()Deprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.setSortOrder(int sortOrder) Deprecated, for removal: This API element is subject to removal in a future version.Used for sorting in the options pane.
-
Field Details
-
defaultValue
Deprecated, for removal: This API element is subject to removal in a future version. -
config
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
Option
Deprecated, for removal: This API element is subject to removal in a future version.Parent for all options. 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.
-
-
Method Details
-
getCategory
Deprecated, for removal: This API element is subject to removal in a future version. -
getFieldName
Deprecated, for removal: This API element is subject to removal in a future version. -
getLabel
Deprecated, for removal: This API element is subject to removal in a future version. -
get
Deprecated, for removal: This API element is subject to removal in a future version. -
set
Deprecated, for removal: This API element is subject to removal in a future version. -
getDefaultValue
Deprecated, for removal: This API element is subject to removal in a future version. -
getSortOrder
public int getSortOrder()Deprecated, for removal: This API element is subject to removal in a future version. -
setSortOrder
Deprecated, for removal: This API element is subject to removal in a future version.Used for sorting in the options pane.- Parameters:
sortOrder- the sort order.
-
Optioninstead. Scheduled for removal in JourneyMap for Minecraft 26.2.