Index
All Classes and Interfaces|All Packages
A
- addBatchListener(IConfigValueBatchChangeListener) - Method in interface net.mezzdev.config.api.schema.IConfigSchema
-
Listen for any effective values in this schema changing together.
- addBatchListener(IConfigValueBatchChangeListener) - Method in interface net.mezzdev.config.api.value.IConfigValue
-
Observe the complete effective-value batch whenever it includes this setting.
- addBoolean(String, boolean) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for a boolean config value.
- addBooleanList(String, List<Boolean>) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for a list config value containing booleans.
- addCategory(String) - Method in interface net.mezzdev.config.api.schema.builder.IConfigSchemaBuilder
-
Add a named group of values to the config file.
- addChangeListener(Runnable) - Method in interface net.mezzdev.config.api.sorting.ISortingConfig
-
Run code after the user's saved order changes.
- addColor(String, PackedColor) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for an RGB or ARGB color config value serialized as
0xRRGGBBor0xAARRGGBB. - addColorList(String, List<PackedColor>) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for a list config value containing RGB or ARGB colors serialized as
0xRRGGBBor0xAARRGGBB. - addDouble(String, double) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for a finite double config value.
- addDouble(String, double, double, double) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for a bounded finite double config value.
- addDoubleList(String, List<Double>) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for a list config value containing finite doubles.
- addDoubleList(String, List<Double>, double, double) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for a list config value containing bounded finite doubles.
- addEditorCategory(String) - Method in interface net.mezzdev.config.api.schema.builder.IConfigSchemaBuilder
-
Add a config-screen category without changing how values are grouped in the file.
- addEditorCategory(IConfigEditorCategoryBuilder) - Method in interface net.mezzdev.config.api.value.builder.IConfigValueBuilder
-
Add a category where config editors should show this value.
- addEnum(String, T) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for an enum config value.
- addEnum(String, T, List<T>) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for an enum config value with a restricted set of valid values.
- addEnumList(String, List<T>, Class<T>) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for a list config value containing enum values.
- addEnumList(String, List<T>, List<T>) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for a list config value containing enum values with a restricted set of valid values.
- addInteger(String, int) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for an integer config value.
- addInteger(String, int, int, int) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for a bounded integer config value.
- addIntegerList(String, List<Integer>) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for a list config value containing integers.
- addIntegerList(String, List<Integer>, int, int) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for a list config value containing bounded integers.
- addLegacyName(String) - Method in interface net.mezzdev.config.api.value.builder.IConfigValueBuilder
-
Map this value from its old name when importing a legacy MezzConfig source.
- addLegacyValue(String, String) - Method in interface net.mezzdev.config.api.value.builder.IConfigValueBuilder
-
Map this value from its old storage location when importing a legacy MezzConfig source.
- addLegacyValueMigration(String, String, IConfigValueSerializer<U>, Function<U, T>) - Method in interface net.mezzdev.config.api.value.builder.IConfigValueBuilder
-
Convert a value previously stored by MezzConfig when its type or serialized form changed.
- addList(String, List<T>, IConfigValueSerializer<T>) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for a list config value using a serializer for each list element.
- addList(String, List<T>, IConfigValueSerializer<T>, ConfigListOrdering) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for a list config value using a serializer for each list element and explicit ordering semantics.
- addListener(IConfigValueChangeListener<T>) - Method in interface net.mezzdev.config.api.value.IConfigValue
-
Run code when this setting's
IConfigValue.get()changes. - addLong(String, long) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for a long config value.
- addLong(String, long, long, long) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for a bounded long config value.
- addLongList(String, List<Long>) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for a list config value containing longs.
- addLongList(String, List<Long>, long, long) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for a list config value containing bounded longs.
- addPendingBatchListener(IConfigValueBatchChangeListener) - Method in interface net.mezzdev.config.api.schema.IConfigSchema
-
Listen for any saved values in this schema changing together, including changes waiting for a restart.
- addPendingBatchListener(IConfigValueBatchChangeListener) - Method in interface net.mezzdev.config.api.value.editor.IConfigValueEditorInfo
-
Observe the complete saved-value batch whenever it includes this setting.
- addPendingListener(IConfigValueChangeListener<T>) - Method in interface net.mezzdev.config.api.value.editor.IConfigValueEditorInfo
-
Run code when this setting's
IConfigValueEditorInfo.getPendingValue()changes, even if it is waiting for a restart. - addString(String, String) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for a string config value.
- addStringList(String, List<String>) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for a list config value containing strings.
- addValue(String, T, IConfigValueSerializer<T>) - Method in interface net.mezzdev.config.api.schema.builder.IConfigCategoryBuilder
-
Create a builder for a config value with a custom serializer.
- allowsRemovingValues() - Method in interface net.mezzdev.config.api.sorting.ISortingConfig
-
Return whether users may hide values by removing them from their saved order.
- argb(int) - Static method in record class net.mezzdev.config.api.value.color.PackedColor
-
Create an ARGB color stored as
0xAARRGGBB. - ARGB - Enum constant in enum class net.mezzdev.config.api.value.color.ConfigColorFormat
-
An ARGB color stored as
0xAARRGGBBwith an alpha channel.
B
- BATCH - Enum constant in enum class net.mezzdev.config.api.value.editor.ConfigValueEditMode
-
Editors should stage changes and save them together when the user applies pending changes.
- batchUpdate(Consumer<IConfigBatchUpdater>) - Method in interface net.mezzdev.config.api.schema.IConfigSchema
-
Change several values as one atomic user action.
- build() - Method in interface net.mezzdev.config.api.schema.builder.IConfigSchemaBuilder
-
Finish the declaration, register the schema, and load its initial values.
- build() - Method in interface net.mezzdev.config.api.value.builder.IConfigValueBuilder
-
Build and add the config value to its category.
C
- CLIENT - Enum constant in enum class net.mezzdev.config.api.schema.ConfigSchemaType
-
Client-owned preferences that remain active across worlds and server connections.
- CLIENT_PER_WORLD - Enum constant in enum class net.mezzdev.config.api.schema.ConfigSchemaType
-
Client-owned preferences with a separate file for each singleplayer world or multiplayer server.
- ConfigColorFormat - Enum Class in net.mezzdev.config.api.value.color
-
Formats used by
PackedColor. - ConfigListOrdering - Enum Class in net.mezzdev.config.api.value.serializer
-
Describes whether the order of entries in a list config value is meaningful.
- ConfigMigrationStatus - Enum Class in net.mezzdev.config.api.migration
-
Describes the outcome of a registered legacy config migration.
- Configs - Class in net.mezzdev.config.api
-
Entry point for registering configs with MezzConfig.
- ConfigSchemaType - Enum Class in net.mezzdev.config.api.schema
-
Describes who owns a config schema and how its active values are selected.
- configValue() - Method in interface net.mezzdev.config.api.value.change.IAppliedConfigValueChange
-
Get the config value that changed.
- ConfigValueEditMode - Enum Class in net.mezzdev.config.api.value.editor
-
Hints how config editors should save edits for a config value.
- ConfigValueRange<T> - Record Class in net.mezzdev.config.api.value.serializer
-
Inclusive lower and upper bounds for a config value.
- ConfigValueRange(T, T) - Constructor for record class net.mezzdev.config.api.value.serializer.ConfigValueRange
-
Validate and create an inclusive config value range.
- ConfigValueRestartRequirement - Enum Class in net.mezzdev.config.api.value.editor
-
Defines when a saved config value becomes effective.
- createClientPerWorldSchemaBuilder(String, String) - Method in interface net.mezzdev.config.api.IConfigRegistration
-
Create a client config with separate values for each singleplayer world or multiplayer server.
- createClientSchemaBuilder(String, String) - Method in interface net.mezzdev.config.api.IConfigRegistration
-
Create a client config shared across worlds and server connections.
- createClientSchemaBuilder(Path, String) - Method in interface net.mezzdev.config.api.IConfigRegistration
-
Create a client config stored at an explicit file path.
- createEntry(K, V) - Method in interface net.mezzdev.config.api.value.serializer.IConfigKeyValueSerializer
-
Create an entry from edited key and value components.
- createServerSchemaBuilder(String, String) - Method in interface net.mezzdev.config.api.IConfigRegistration
-
Create a server-owned config stored with each world and synchronized to connected clients.
- createSortingConfig(String, Comparator<String>, boolean) - Method in interface net.mezzdev.config.api.IConfigRegistration
-
Create a persistent user-defined order for strings discovered at runtime.
- createSortingConfig(String, IConfigValueSerializer<T>, Comparator<T>, boolean) - Method in interface net.mezzdev.config.api.IConfigRegistration
-
Create a persistent user-defined order for mod-specific values discovered at runtime.
D
- deserialize(String) - Method in interface net.mezzdev.config.api.value.serializer.IConfigValueSerializer
-
Parse stored text, returning diagnostics instead of throwing when the input is invalid.
E
- equals(Object) - Method in record class net.mezzdev.config.api.value.color.PackedColor
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.mezzdev.config.api.value.serializer.ConfigValueRange
-
Indicates whether some other object is "equal to" this one.
F
- FAILED - Enum constant in enum class net.mezzdev.config.api.migration.ConfigMigrationStatus
-
Migration failed without applying any of its updates.
- failure(String) - Static method in interface net.mezzdev.config.api.value.serializer.IDeserializeResult
-
Create a failed deserialization result with one diagnostic message.
- failure(List<String>) - Static method in interface net.mezzdev.config.api.value.serializer.IDeserializeResult
-
Create a failed deserialization result with one or more diagnostic messages.
- format() - Method in record class net.mezzdev.config.api.value.color.PackedColor
-
Returns the value of the
formatrecord component. - forMod(String) - Static method in class net.mezzdev.config.api.Configs
-
Get a registration for config schemas and sort orders owned by a mod.
G
- GAME_RESTART - Enum constant in enum class net.mezzdev.config.api.value.editor.ConfigValueRestartRequirement
-
Changes take effect after restarting the client game or dedicated server process.
- get() - Method in interface net.mezzdev.config.api.value.IConfigValue
-
Get the value currently in effect.
- getAllValidValues() - Method in interface net.mezzdev.config.api.value.serializer.IConfigValueSerializer
-
List every valid choice when config editors should present a fixed selection.
- getBackupPath() - Method in interface net.mezzdev.config.api.migration.IConfigMigrationResult
-
Get the preserved backup that can be shown to the user or used for recovery.
- getCategories() - Method in interface net.mezzdev.config.api.schema.IConfigSchema
-
Get all the categories in this schema.
- getComparator(Collection<T>) - Method in interface net.mezzdev.config.api.sorting.ISortingConfig
-
Get a comparator that applies the saved preference to the currently available values.
- getConfigValues() - Method in interface net.mezzdev.config.api.schema.category.IConfigCategory
-
Get the config values in builder insertion order.
- getDefaultSortedValues(Collection<T>) - Method in interface net.mezzdev.config.api.sorting.ISortingConfig
-
Sort the currently available values without applying the user's saved preference.
- getDefaultValue() - Method in interface net.mezzdev.config.api.value.editor.IConfigValueEditorInfo
-
Get the default value.
- getDestinationPath() - Method in interface net.mezzdev.config.api.migration.IConfigMigrationResult
-
Get the new MezzConfig file that migration targeted.
- getDiagnostics() - Method in interface net.mezzdev.config.api.value.serializer.IDeserializeResult
-
Get messages that explain a repaired or rejected input.
- getEditMode() - Method in interface net.mezzdev.config.api.value.editor.IConfigValueEditorInfo
-
Get the edit mode hint for this value.
- getEditorCategories() - Method in interface net.mezzdev.config.api.schema.IConfigSchema
-
Get all categories where config editors can show values.
- getEditorCategories() - Method in interface net.mezzdev.config.api.value.editor.IConfigValueEditorInfo
-
Get the categories where config editors should show this value.
- getEditorInfo() - Method in interface net.mezzdev.config.api.value.IConfigValue
-
Get the saved state, identity, metadata, and listener hooks used by config editors.
- getElementSerializer() - Method in interface net.mezzdev.config.api.value.serializer.IConfigListValueSerializer
-
Get the serializer config editors should use for individual elements.
- getFailure() - Method in interface net.mezzdev.config.api.migration.IConfigMigrationResult
-
Get the reason an attempted migration failed.
- getId() - Method in interface net.mezzdev.config.api.schema.IConfigSchema
-
Get the stable storage identifier for integrations that need to distinguish this schema.
- getKey(T) - Method in interface net.mezzdev.config.api.value.serializer.IConfigKeyValueSerializer
-
Get the key from the entry.
- getKeySerializer() - Method in interface net.mezzdev.config.api.value.serializer.IConfigKeyValueSerializer
-
Get the serializer for the key.
- getLegacyPath() - Method in interface net.mezzdev.config.api.migration.IConfigMigrationResult
-
Get the old config file that was selected for import.
- getLocalizationKey() - Method in interface net.mezzdev.config.api.schema.category.IConfigEditorCategory
-
Get the translation key used for this category's name.
- getLocalizationKey() - Method in interface net.mezzdev.config.api.value.editor.IConfigValueEditorInfo
-
Get the translation key used for this config value's name.
- getModId() - Method in interface net.mezzdev.config.api.schema.IConfigSchema
-
Get the mod id that owns this config schema.
- getName() - Method in interface net.mezzdev.config.api.schema.category.IConfigEditorCategory
-
The name of the category.
- getName() - Method in interface net.mezzdev.config.api.value.editor.IConfigValueEditorInfo
-
Get the stable storage name of this config value.
- getOrdering() - Method in interface net.mezzdev.config.api.value.serializer.IConfigListValueSerializer
-
Tell config editors whether reordering entries changes the setting's meaning.
- getPath() - Method in interface net.mezzdev.config.api.schema.IConfigSchema
-
Get the current local backing file path, if one exists.
- getPendingValue() - Method in interface net.mezzdev.config.api.value.editor.IConfigValueEditorInfo
-
Get the saved value, including a restart-required change that is not effective yet.
- getRange() - Method in interface net.mezzdev.config.api.value.serializer.IConfigValueSerializer
-
Describe an inclusive range that config editors can present with a bounded control.
- getRestartRequirement() - Method in interface net.mezzdev.config.api.value.editor.IConfigValueEditorInfo
-
Get the lifecycle boundary when saved changes become effective.
- getResult() - Method in interface net.mezzdev.config.api.value.serializer.IDeserializeResult
-
Get the usable value, or an empty optional when parsing failed.
- getSchemas() - Static method in class net.mezzdev.config.api.Configs
-
Get all config schemas that have been built and registered.
- getSerializer() - Method in interface net.mezzdev.config.api.value.editor.IConfigValueEditorInfo
-
Get this setting's serializer for validation and editor integration.
- getSortedValues(Collection<T>) - Method in interface net.mezzdev.config.api.sorting.ISortingConfig
-
Apply the saved user preference to the values currently available.
- getStatus() - Method in interface net.mezzdev.config.api.migration.IConfigMigrationResult
-
Get the migration outcome.
- getType() - Method in interface net.mezzdev.config.api.schema.IConfigSchema
-
Get this schema's activation, authority, and location behavior.
- getValidValuesDescription() - Method in interface net.mezzdev.config.api.value.serializer.IConfigValueSerializer
-
Describe valid input for config editors and error messages.
- getValue(T) - Method in interface net.mezzdev.config.api.value.serializer.IConfigKeyValueSerializer
-
Get the component value from the entry.
- getValueSerializer() - Method in interface net.mezzdev.config.api.value.serializer.IConfigKeyValueSerializer
-
Get the serializer for the component value.
H
- hashCode() - Method in record class net.mezzdev.config.api.value.color.PackedColor
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.mezzdev.config.api.value.serializer.ConfigValueRange
-
Returns a hash code value for this object.
I
- IAppliedConfigValueChange<T> - Interface in net.mezzdev.config.api.value.change
-
Describes one setting before and after an applied change.
- IConfigBatchUpdater - Interface in net.mezzdev.config.api.schema.update
-
Queues related setting changes for
IConfigSchema.batchUpdate(Consumer). - IConfigCategory - Interface in net.mezzdev.config.api.schema.category
-
A named group of values stored together in a config file.
- IConfigCategoryBuilder - Interface in net.mezzdev.config.api.schema.builder
-
Declares the settings stored in one config category.
- IConfigEditorCategory - Interface in net.mezzdev.config.api.schema.category
-
Describes a visual group that config screens can use to present related values.
- IConfigEditorCategoryBuilder - Interface in net.mezzdev.config.api.schema.builder
-
Identifies a config-screen category while a schema is being declared.
- IConfigKeyValueSerializer<T,
K, - Interface in net.mezzdev.config.api.value.serializerV> -
Lets config editors treat a mod-specific value as separately editable key and value components.
- IConfigListValueSerializer<T> - Interface in net.mezzdev.config.api.value.serializer
-
Describes a list whose elements config editors can validate, add, remove, or reorder individually.
- IConfigMigrationContext - Interface in net.mezzdev.config.api.migration
-
Imports converted legacy settings without exposing MezzConfig's file format.
- IConfigMigrationResult - Interface in net.mezzdev.config.api.migration
-
Reports the final outcome of a registered legacy migration.
- IConfigMigrator - Interface in net.mezzdev.config.api.migration
-
Imports a config file from the format a mod used before adopting MezzConfig.
- IConfigRegistration - Interface in net.mezzdev.config.api
-
Creates config schemas and persistent sort orders for one mod.
- IConfigSchema - Interface in net.mezzdev.config.api.schema
-
Provides runtime access to a group of config values stored and activated together.
- IConfigSchemaBuilder - Interface in net.mezzdev.config.api.schema.builder
-
Declares the settings stored in one config file or synchronized as one server config.
- IConfigValue<T> - Interface in net.mezzdev.config.api.value
-
Provides runtime access to one config setting.
- IConfigValueBatchChangeListener - Interface in net.mezzdev.config.api.value.change
-
Reacts to related config value changes after the complete batch is available.
- IConfigValueBuilder<T> - Interface in net.mezzdev.config.api.value.builder
-
Configures optional behavior before adding a value to its category.
- IConfigValueChangeListener<T> - Interface in net.mezzdev.config.api.value.change
-
Reacts when one config value changes.
- IConfigValueEditorInfo<T> - Interface in net.mezzdev.config.api.value.editor
-
Provides the saved state, identity, presentation metadata, and listener hooks needed by config editors.
- IConfigValueSerializer<T> - Interface in net.mezzdev.config.api.value.serializer
-
Teaches MezzConfig how to store, validate, and describe a mod-specific value type.
- IDeserializeResult<T> - Interface in net.mezzdev.config.api.value.serializer
-
Reports whether a custom serializer could use stored text and what was wrong with it.
- IMMEDIATE - Enum constant in enum class net.mezzdev.config.api.value.editor.ConfigValueEditMode
-
Editors can save changes as soon as the user makes them.
- isActive() - Method in interface net.mezzdev.config.api.schema.IConfigSchema
-
Return whether this schema currently supplies values for the running game context.
- ISortingConfig<T> - Interface in net.mezzdev.config.api.sorting
-
Stores a user's preferred order for values discovered at runtime.
- ISortingConfigMigrationContext<T> - Interface in net.mezzdev.config.api.migration
-
Supplies a converted legacy order to a sorting config.
- ISortingConfigMigrator<T> - Interface in net.mezzdev.config.api.migration
-
Imports a saved order from the format a mod used before adopting a MezzConfig sorting config.
- isValid(T) - Method in interface net.mezzdev.config.api.value.serializer.IConfigValueSerializer
-
Return whether this value can be safely stored.
- isVisible(Collection<T>, T) - Method in interface net.mezzdev.config.api.sorting.ISortingConfig
-
Return whether the user-visible order currently includes a value.
M
- max() - Method in record class net.mezzdev.config.api.value.serializer.ConfigValueRange
-
Returns the value of the
maxrecord component. - migrate(Path, IConfigMigrationContext) - Method in interface net.mezzdev.config.api.migration.IConfigMigrator
-
Import values from the selected legacy file.
- migrate(Path, ISortingConfigMigrationContext<T>) - Method in interface net.mezzdev.config.api.migration.ISortingConfigMigrator
-
Import the order from the selected legacy file.
- MIGRATED - Enum constant in enum class net.mezzdev.config.api.migration.ConfigMigrationStatus
-
The destination did not exist and the selected legacy file was migrated successfully.
- min() - Method in record class net.mezzdev.config.api.value.serializer.ConfigValueRange
-
Returns the value of the
minrecord component.
N
- net.mezzdev.config.api - package net.mezzdev.config.api
-
Register and discover configs managed by MezzConfig.
- net.mezzdev.config.api.migration - package net.mezzdev.config.api.migration
-
Import settings and persistent sort orders from files that a mod used before adopting MezzConfig.
- net.mezzdev.config.api.schema - package net.mezzdev.config.api.schema
-
Inspect and atomically update config schemas.
- net.mezzdev.config.api.schema.builder - package net.mezzdev.config.api.schema.builder
-
Declare schemas, categories, and their config values.
- net.mezzdev.config.api.schema.category - package net.mezzdev.config.api.schema.category
-
Inspect the storage and presentation categories exposed by a built config schema.
- net.mezzdev.config.api.schema.update - package net.mezzdev.config.api.schema.update
-
Queue related config value updates so a schema can validate and apply them atomically.
- net.mezzdev.config.api.sorting - package net.mezzdev.config.api.sorting
-
Persist user-defined ordering for values that a mod discovers at runtime.
- net.mezzdev.config.api.value - package net.mezzdev.config.api.value
-
Read and update individual config values.
- net.mezzdev.config.api.value.builder - package net.mezzdev.config.api.value.builder
-
Configure optional config value behavior before adding a value to its category.
- net.mezzdev.config.api.value.change - package net.mezzdev.config.api.value.change
-
Observe individual and batched config value changes.
- net.mezzdev.config.api.value.color - package net.mezzdev.config.api.value.color
-
Represent built-in RGB and ARGB config values.
- net.mezzdev.config.api.value.editor - package net.mezzdev.config.api.value.editor
-
Inspect saved values and presentation metadata used by config editors.
- net.mezzdev.config.api.value.serializer - package net.mezzdev.config.api.value.serializer
-
Serialize, validate, and describe built-in or mod-specific config value types.
- newValue() - Method in interface net.mezzdev.config.api.value.change.IAppliedConfigValueChange
-
Get the value after the change.
- NONE - Enum constant in enum class net.mezzdev.config.api.value.editor.ConfigValueRestartRequirement
-
Changes can take effect without a world, client game, or dedicated server restart.
O
- oldValue() - Method in interface net.mezzdev.config.api.value.change.IAppliedConfigValueChange
-
Get the value before the change.
- onConfigValueChanged(IAppliedConfigValueChange<T>) - Method in interface net.mezzdev.config.api.value.change.IConfigValueChangeListener
-
Called after the change has been applied.
- onConfigValuesChanged(List<? extends IAppliedConfigValueChange<?>>) - Method in interface net.mezzdev.config.api.value.change.IConfigValueBatchChangeListener
-
Called after the complete batch has been applied.
- onMigrationComplete(IConfigMigrationResult) - Method in interface net.mezzdev.config.api.migration.IConfigMigrator
-
Receive the final migration outcome for logging, diagnostics, or user-facing feedback.
- onMigrationComplete(IConfigMigrationResult) - Method in interface net.mezzdev.config.api.migration.ISortingConfigMigrator
-
Receive the final migration outcome for logging, diagnostics, or user-facing feedback.
- ORDERED - Enum constant in enum class net.mezzdev.config.api.value.serializer.ConfigListOrdering
-
Changing the order changes the meaning of the config value.
P
- PackedColor - Record Class in net.mezzdev.config.api.value.color
-
A color stored as a packed integer.
- PackedColor(int, ConfigColorFormat) - Constructor for record class net.mezzdev.config.api.value.color.PackedColor
-
Validate and create a packed color.
- packedValue() - Method in record class net.mezzdev.config.api.value.color.PackedColor
-
Returns the value of the
packedValuerecord component. - partialSuccess(T, String) - Static method in interface net.mezzdev.config.api.value.serializer.IDeserializeResult
-
Create a partially successful deserialization result with one diagnostic message.
- partialSuccess(T, List<String>) - Static method in interface net.mezzdev.config.api.value.serializer.IDeserializeResult
-
Create a partially successful deserialization result with one or more diagnostic messages.
R
- rgb(int) - Static method in record class net.mezzdev.config.api.value.color.PackedColor
-
Create an RGB color stored as
0xRRGGBB. - RGB - Enum constant in enum class net.mezzdev.config.api.value.color.ConfigColorFormat
-
An RGB color stored as
0xRRGGBBwithout an alpha channel.
S
- serialize(T) - Method in interface net.mezzdev.config.api.value.serializer.IConfigValueSerializer
-
Convert a valid value to its stable text representation.
- SERVER - Enum constant in enum class net.mezzdev.config.api.schema.ConfigSchemaType
-
Server-owned settings stored with the world, with effective values synchronized to connected clients.
- set(IConfigValue<T>, T) - Method in interface net.mezzdev.config.api.migration.IConfigMigrationContext
-
Import a converted value into the destination schema.
- set(IConfigValue<T>, T) - Method in interface net.mezzdev.config.api.schema.update.IConfigBatchUpdater
-
Add or replace a value change in this batch.
- set(T) - Method in interface net.mezzdev.config.api.value.IConfigValue
-
Validate and save a new value.
- setEditMode(ConfigValueEditMode) - Method in interface net.mezzdev.config.api.value.builder.IConfigValueBuilder
-
Set the edit mode hint for this value.
- setLegacyMigration(List<Path>, IConfigMigrator) - Method in interface net.mezzdev.config.api.schema.builder.IConfigSchemaBuilder
-
Import a config file that the mod used before adopting MezzConfig.
- setLegacyMigration(List<Path>, ISortingConfigMigrator<T>) - Method in interface net.mezzdev.config.api.sorting.ISortingConfig
-
Import a saved order from an older file when this sorting config does not have a destination file yet.
- setLegacySources(List<Path>) - Method in interface net.mezzdev.config.api.schema.builder.IConfigSchemaBuilder
-
Load this schema from a MezzConfig file at an older location when the destination does not exist yet.
- setRestartRequirement(ConfigValueRestartRequirement) - Method in interface net.mezzdev.config.api.value.builder.IConfigValueBuilder
-
Set when saved changes to this value become effective.
- setSortedValues(Collection<T>, List<T>) - Method in interface net.mezzdev.config.api.migration.ISortingConfigMigrationContext
-
Import the converted saved order.
- setSortedValues(Collection<T>, List<T>) - Method in interface net.mezzdev.config.api.sorting.ISortingConfig
-
Save the user's preferred order for the values currently available.
- setSortedValues(ISortingConfig<T>, Collection<T>, List<T>) - Method in interface net.mezzdev.config.api.migration.IConfigMigrationContext
-
Import a saved order, including any values the user had hidden.
- SKIPPED_DESTINATION_EXISTS - Enum constant in enum class net.mezzdev.config.api.migration.ConfigMigrationStatus
-
The destination already existed, so migration was not attempted.
- SKIPPED_INACTIVE - Enum constant in enum class net.mezzdev.config.api.migration.ConfigMigrationStatus
-
The migration target is permanently inactive, such as a client declaration on a dedicated server.
- SKIPPED_NO_LEGACY_FILE - Enum constant in enum class net.mezzdev.config.api.migration.ConfigMigrationStatus
-
None of the registered legacy files existed, so migration was not attempted.
- success(T) - Static method in interface net.mezzdev.config.api.value.serializer.IDeserializeResult
-
Create a successful deserialization result.
T
- toString() - Method in record class net.mezzdev.config.api.value.color.PackedColor
-
Returns a string representation of this record class.
- toString() - Method in record class net.mezzdev.config.api.value.serializer.ConfigValueRange
-
Returns a string representation of this record class.
U
- UNORDERED - Enum constant in enum class net.mezzdev.config.api.value.serializer.ConfigListOrdering
-
Changing the order does not change the meaning of the config value.
V
- valueOf(String) - Static method in enum class net.mezzdev.config.api.migration.ConfigMigrationStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.mezzdev.config.api.schema.ConfigSchemaType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.mezzdev.config.api.value.color.ConfigColorFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.mezzdev.config.api.value.editor.ConfigValueEditMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.mezzdev.config.api.value.editor.ConfigValueRestartRequirement
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.mezzdev.config.api.value.serializer.ConfigListOrdering
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class net.mezzdev.config.api.migration.ConfigMigrationStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.mezzdev.config.api.schema.ConfigSchemaType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.mezzdev.config.api.value.color.ConfigColorFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.mezzdev.config.api.value.editor.ConfigValueEditMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.mezzdev.config.api.value.editor.ConfigValueRestartRequirement
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.mezzdev.config.api.value.serializer.ConfigListOrdering
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WORLD_RESTART - Enum constant in enum class net.mezzdev.config.api.value.editor.ConfigValueRestartRequirement
-
Changes take effect after leaving and reopening a world.
All Classes and Interfaces|All Packages