Interface IConfigScreenValueBuilder
@NonExtendable
public interface IConfigScreenValueBuilder
Customizes one value in one config screen category.
- Since:
- 0.1.0
-
Method Summary
Modifier and TypeMethodDescriptionhide()Hide this value from this category.insertAfter(net.mezzdev.config.api.value.IConfigValue<?> value) Insert a config value after this value in this category.insertAfter(IConfigScreenValue<?> value) Insert a config screen value after this value in this category.insertBefore(net.mezzdev.config.api.value.IConfigValue<?> value) Insert a config value before this value in this category.insertBefore(IConfigScreenValue<?> value) Insert a config screen value before this value in this category.setApplyMode(ConfigValueApplyMode applyMode) Set when this value's edits are saved.setRestartRequirement(net.mezzdev.config.api.value.editor.ConfigValueRestartRequirement restartRequirement) Set the restart or reload required after this value is saved.
-
Method Details
-
setApplyMode
Set when this value's edits are saved.- Parameters:
applyMode- when edits for this value are saved- Returns:
- this builder
- Since:
- 0.1.0
-
setRestartRequirement
IConfigScreenValueBuilder setRestartRequirement(net.mezzdev.config.api.value.editor.ConfigValueRestartRequirement restartRequirement) Set the restart or reload required after this value is saved.- Parameters:
restartRequirement- the required restart or reload- Returns:
- this builder
- Since:
- 0.1.0
-
hide
IConfigScreenValueBuilder hide()Hide this value from this category.- Returns:
- this builder
- Since:
- 0.1.0
-
insertBefore
Insert a config value before this value in this category.- Parameters:
value- config value to insert- Returns:
- this builder
- Since:
- 0.1.0
-
insertBefore
Insert a config screen value before this value in this category.- Parameters:
value- config screen value to insert- Returns:
- this builder
- Since:
- 0.1.0
-
insertAfter
Insert a config value after this value in this category.- Parameters:
value- config value to insert- Returns:
- this builder
- Since:
- 0.1.0
-
insertAfter
Insert a config screen value after this value in this category.- Parameters:
value- config screen value to insert- Returns:
- this builder
- Since:
- 0.1.0
-