Interface ConfigValue
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ConfigValue.Constant,ConfigValue.Variable
public sealed interface ConfigValue
extends Serializable
permits ConfigValue.Constant, ConfigValue.Variable
A string or a variable in a Forge configuration file, or an MCPConfig step or function.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic interfacestatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ConfigValue> static final StringThe variable that refers to a log file for the MCP executor.static final StringThe variable that refers to the current MCP step's output path.static final StringA suffix that is appended to the name of an MCP step to get its output path. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigValueresolve(ConfigValue.Resolver variableResolver)
-
Field Details
-
OUTPUT
The variable that refers to the current MCP step's output path.- See Also:
-
PREVIOUS_OUTPUT_SUFFIX
A suffix that is appended to the name of an MCP step to get its output path.- See Also:
-
LOG
The variable that refers to a log file for the MCP executor.- See Also:
-
CODEC
-
-
Method Details
-
resolve
-
of
-