|
Quilt Loader 1
|
Class containing helper methods that mods should use to create config files as part of Quilt's config system. More...
Static Public Member Functions | |
| static Config | create (String family, String id, Path path, Config.Creator... creators) |
| Creates and registers a config file. | |
| static Config | create (String family, String id, Config.Creator... creators) |
| Creates and registers a config file. | |
| static< C extends WrappedConfig > C | create (String family, String id, Path path, Config.Creator before, Class< C > configCreatorClass, Config.Creator after) |
| Creates and registers a config with fields derived from the fields of the passed class. | |
| static< C extends WrappedConfig > C | create (String family, String id, Path path, Config.Creator before, Class< C > configCreatorClass) |
| Creates and registers a config with fields derived from the fields of the passed class. | |
| static< C extends WrappedConfig > C | create (String family, String id, Path path, Class< C > configCreatorClass, Config.Creator after) |
| Creates and registers a config with fields derived from the fields of the passed class. | |
| static< C extends WrappedConfig > C | create (String family, String id, Path path, Class< C > configCreatorClass) |
| Creates and registers a config with fields derived from the fields of the passed class. | |
| static< C extends WrappedConfig > C | create (String family, String id, Config.Creator before, Class< C > configCreatorClass, Config.Creator after) |
| Creates and registers a config with fields derived from the fields of the passed class. | |
| static< C extends WrappedConfig > C | create (String family, String id, Config.Creator before, Class< C > configCreatorClass) |
| Creates and registers a config with fields derived from the fields of the passed class. | |
| static< C extends WrappedConfig > C | create (String family, String id, Class< C > configCreatorClass, Config.Creator after) |
| Creates and registers a config with fields derived from the fields of the passed class. | |
| static< C extends WrappedConfig > C | create (String family, String id, Class< C > configCreatorClass) |
| Creates and registers a config with fields derived from the fields of the passed class. | |
Class containing helper methods that mods should use to create config files as part of Quilt's config system.
|
inlinestatic |
Creates and registers a config with fields derived from the fields of the passed class.
The passed class should have the following characteristics:
| family | the mod owning the resulting config file |
| id | the config's id |
| configCreatorClass | a class as described above |
|
inlinestatic |
Creates and registers a config with fields derived from the fields of the passed class.
The passed class should have the following characteristics:
ValueList or ValueMap of basic or complex types or a org.quiltmc.config.api.values.ConfigSerializableObject) Certain annotations can also be used on fields of this class to attach metadata to them. The org.quiltmc.config.api.annotations.Comment annotation is one such annotation that is provided by default, but additional ConfigFieldAnnotationProcessors can be registered with ConfigFieldAnnotationProcessor#register(Class, ConfigFieldAnnotationProcessor).
| family | the mod owning the resulting config file |
| id | the config's id |
| configCreatorClass | a class as described above |
| after | a Config.Creator that can be used to configure the resulting config further |
|
inlinestatic |
Creates and registers a config with fields derived from the fields of the passed class.
The passed class should have the following characteristics:
ValueList or ValueMap of basic or complex types or a org.quiltmc.config.api.values.ConfigSerializableObject) Certain annotations can also be used on fields of this class to attach metadata to them. The org.quiltmc.config.api.annotations.Comment annotation is one such annotation that is provided by default, but additional ConfigFieldAnnotationProcessors can be registered with ConfigFieldAnnotationProcessor#register(Class, ConfigFieldAnnotationProcessor).
| family | the mod owning the resulting config file |
| id | the config's id |
| before | a Config.Creator that can be used to configure the resulting config further |
| configCreatorClass | a class as described above |
|
inlinestatic |
Creates and registers a config with fields derived from the fields of the passed class.
The passed class should have the following characteristics:
ValueList or ValueMap of basic or complex types or a org.quiltmc.config.api.values.ConfigSerializableObject) Certain annotations can also be used on fields of this class to attach metadata to them. The org.quiltmc.config.api.annotations.Comment annotation is one such annotation that is provided by default, but additional ConfigFieldAnnotationProcessors can be registered with ConfigFieldAnnotationProcessor#register(Class, ConfigFieldAnnotationProcessor).
| family | the mod owning the resulting config file |
| id | the config's id |
| before | a Config.Creator that can be used to configure the resulting config further |
| configCreatorClass | a class as described above |
| after | a Config.Creator that can be used to configure the resulting config further |
|
inlinestatic |
Creates and registers a config file.
| family | the mod owning the resulting config file |
| id | the configs id |
| creators | any number of Config.Creators that can be used to configure the resulting config |
|
inlinestatic |
Creates and registers a config with fields derived from the fields of the passed class.
The passed class should have the following characteristics:
ValueList or ValueMap of basic or complex types or a org.quiltmc.config.api.values.ConfigSerializableObject) Certain annotations can also be used on fields of this class to attach metadata to them. The org.quiltmc.config.api.annotations.Comment annotation is one such annotation that is provided by default, but additional ConfigFieldAnnotationProcessors can be registered with ConfigFieldAnnotationProcessor#register(Class, ConfigFieldAnnotationProcessor).
| family | the mod owning the resulting config file |
| id | the config's id |
| path | additional path elements to include as part of this configs file, e.g. if the path is empty, the config file might be ".minecraft/config/example_mod/id.toml" if the path is "client/gui", the config file might be ".minecraft/config/example_mod/client/gui/id.toml" |
| configCreatorClass | a class as described above |
|
inlinestatic |
Creates and registers a config with fields derived from the fields of the passed class.
The passed class should have the following characteristics:
ValueList or ValueMap of basic or complex types or a org.quiltmc.config.api.values.ConfigSerializableObject) Certain annotations can also be used on fields of this class to attach metadata to them. The org.quiltmc.config.api.annotations.Comment annotation is one such annotation that is provided by default, but additional ConfigFieldAnnotationProcessors can be registered with ConfigFieldAnnotationProcessor#register(Class, ConfigFieldAnnotationProcessor).
| family | the mod owning the resulting config file |
| id | the configs id |
| path | additional path elements to include as part of this configs file, e.g. if the path is empty, the config file might be ".minecraft/config/example_mod/id.toml" if the path is "client/gui", the config file might be ".minecraft/config/example_mod/client/gui/id.toml" |
| configCreatorClass | a class as described above |
| after | a Config.Creator that can be used to configure the resulting config further |
|
inlinestatic |
Creates and registers a config with fields derived from the fields of the passed class.
The passed class should have the following characteristics:
ValueList or ValueMap of basic or complex types or a org.quiltmc.config.api.values.ConfigSerializableObject) Certain annotations can also be used on fields of this class to attach metadata to them. The org.quiltmc.config.api.annotations.Comment annotation is one such annotation that is provided by default, but additional ConfigFieldAnnotationProcessors can be registered with ConfigFieldAnnotationProcessor#register(Class, ConfigFieldAnnotationProcessor).
| family | the mod owning the resulting config file |
| id | the config's id |
| path | additional path elements to include as part of this configs file, e.g. if the path is empty, the config file might be ".minecraft/config/example_mod/id.toml" if the path is "client/gui", the config file might be ".minecraft/config/example_mod/client/gui/id.toml" |
| before | a Config.Creator that can be used to configure the resulting config further |
| configCreatorClass | a class as described above |
|
inlinestatic |
Creates and registers a config with fields derived from the fields of the passed class.
The passed class should have the following characteristics:
ValueList or ValueMap of basic or complex types or a org.quiltmc.config.api.values.ConfigSerializableObject) Certain annotations can also be used on fields of this class to attach metadata to them. The org.quiltmc.config.api.annotations.Comment annotation is one such annotation that is provided by default, but additional ConfigFieldAnnotationProcessors can be registered with ConfigFieldAnnotationProcessor#register(Class, ConfigFieldAnnotationProcessor).
| family | the mod owning the resulting config file |
| id | the config's id |
| path | additional path elements to include as part of this configs file, e.g. if the path is empty, the config file might be ".minecraft/config/example_mod/id.toml" if the path is "client/gui", the config file might be ".minecraft/config/example_mod/client/gui/id.toml" |
| before | a Config.Creator that can be used to configure the resulting config further |
| configCreatorClass | a class as described above |
| after | a Config.Creator that can be used to configure the resulting config further |
|
inlinestatic |
Creates and registers a config file.
| family | the mod owning the resulting config file |
| id | the configs id |
| path | additional path elements to include as part of this configs file, e.g. if the path is empty, the config file might be ".minecraft/config/example_mod/id.toml" if the path is "client/gui", the config file might be ".minecraft/config/example_mod/client/gui/id.toml" |
| creators | any number of Config.Creators that can be used to configure the resulting config |