Uses of Class
net.neoforged.neoforge.common.ModConfigSpec.ConfigValue
Packages that use ModConfigSpec.ConfigValue
Package
Description
-
Uses of ModConfigSpec.ConfigValue in net.neoforged.neoforge.client.gui
Fields in net.neoforged.neoforge.client.gui declared as ModConfigSpec.ConfigValueModifier and TypeFieldDescriptionprotected final ModConfigSpec.ConfigValue
<List<T>> ConfigurationScreen.ConfigurationListScreen.valueList
Methods in net.neoforged.neoforge.client.gui with parameters of type ModConfigSpec.ConfigValueModifier and TypeMethodDescriptionprotected <T> @Nullable ConfigurationScreen.ConfigurationSectionScreen.Element
ConfigurationScreen.ConfigurationSectionScreen.createList
(String key, ModConfigSpec.ListValueSpec spec, ModConfigSpec.ConfigValue<List<T>> list) protected @Nullable ConfigurationScreen.ConfigurationSectionScreen.Element
ConfigurationScreen.ConfigurationSectionScreen.createOtherValue
(String key, ModConfigSpec.ConfigValue<?> value) Called when aModConfigSpec.ConfigValue
is found that has an unknown data type.protected boolean
ConfigurationScreen.ConfigurationSectionScreen.isNonDefault
(ModConfigSpec.ConfigValue<?> cv) Constructors in net.neoforged.neoforge.client.gui with parameters of type ModConfigSpec.ConfigValueModifierConstructorDescriptionConfigurationListScreen
(ConfigurationScreen.ConfigurationSectionScreen.Context context, String key, net.minecraft.network.chat.Component title, ModConfigSpec.ListValueSpec spec, ModConfigSpec.ConfigValue<List<T>> valueList) -
Uses of ModConfigSpec.ConfigValue in net.neoforged.neoforge.common
Subclasses of ModConfigSpec.ConfigValue in net.neoforged.neoforge.commonModifier and TypeClassDescriptionstatic class
static class
static class
ModConfigSpec.EnumValue<T extends Enum<T>>
static class
static class
Fields in net.neoforged.neoforge.common with type parameters of type ModConfigSpec.ConfigValueModifier and TypeFieldDescriptionprivate final List
<ModConfigSpec.ConfigValue<?>> ModConfigSpec.Builder.values
Methods in net.neoforged.neoforge.common that return ModConfigSpec.ConfigValueModifier and TypeMethodDescription<T> ModConfigSpec.ConfigValue
<T> <T> ModConfigSpec.ConfigValue
<T> <T> ModConfigSpec.ConfigValue
<T> <T> ModConfigSpec.ConfigValue
<T> ModConfigSpec.Builder.define
(List<String> path, Supplier<T> defaultSupplier, Predicate<Object> validator) <T> ModConfigSpec.ConfigValue
<T> ModConfigSpec.Builder.define
(List<String> path, Supplier<T> defaultSupplier, Predicate<Object> validator, Class<?> clazz) <T> ModConfigSpec.ConfigValue
<T> ModConfigSpec.Builder.define
(List<String> path, ModConfigSpec.ValueSpec value, Supplier<T> defaultSupplier) <T> ModConfigSpec.ConfigValue
<T> <T> ModConfigSpec.ConfigValue
<T> <T> ModConfigSpec.ConfigValue
<T> ModConfigSpec.Builder.defineInList
(String path, Supplier<T> defaultSupplier, Collection<? extends T> acceptableValues) <T> ModConfigSpec.ConfigValue
<T> ModConfigSpec.Builder.defineInList
(String path, T defaultValue, Collection<? extends T> acceptableValues) <T> ModConfigSpec.ConfigValue
<T> ModConfigSpec.Builder.defineInList
(List<String> path, Supplier<T> defaultSupplier, Collection<? extends T> acceptableValues) <T> ModConfigSpec.ConfigValue
<T> ModConfigSpec.Builder.defineInList
(List<String> path, T defaultValue, Collection<? extends T> acceptableValues) <V extends Comparable<? super V>>
ModConfigSpec.ConfigValue<V> ModConfigSpec.Builder.defineInRange
(String path, Supplier<V> defaultSupplier, V min, V max, Class<V> clazz) <V extends Comparable<? super V>>
ModConfigSpec.ConfigValue<V> ModConfigSpec.Builder.defineInRange
(String path, V defaultValue, V min, V max, Class<V> clazz) <V extends Comparable<? super V>>
ModConfigSpec.ConfigValue<V> ModConfigSpec.Builder.defineInRange
(List<String> path, Supplier<V> defaultSupplier, V min, V max, Class<V> clazz) <V extends Comparable<? super V>>
ModConfigSpec.ConfigValue<V> ModConfigSpec.Builder.defineInRange
(List<String> path, V defaultValue, V min, V max, Class<V> clazz) <T> ModConfigSpec.ConfigValue
<List<? extends T>> ModConfigSpec.Builder.defineList
(String path, Supplier<List<? extends T>> defaultSupplier, Predicate<Object> elementValidator) Deprecated.<T> ModConfigSpec.ConfigValue
<List<? extends T>> ModConfigSpec.Builder.defineList
(String path, Supplier<List<? extends T>> defaultSupplier, Supplier<T> newElementSupplier, Predicate<Object> elementValidator) <T> ModConfigSpec.ConfigValue
<List<? extends T>> ModConfigSpec.Builder.defineList
(String path, List<? extends T> defaultValue, Predicate<Object> elementValidator) <T> ModConfigSpec.ConfigValue
<List<? extends T>> ModConfigSpec.Builder.defineList
(String path, List<? extends T> defaultValue, Supplier<T> newElementSupplier, Predicate<Object> elementValidator) <T> ModConfigSpec.ConfigValue
<List<? extends T>> ModConfigSpec.Builder.defineList
(List<String> path, Supplier<List<? extends T>> defaultSupplier, @Nullable Supplier<T> newElementSupplier, Predicate<Object> elementValidator, @Nullable ModConfigSpec.Range<Integer> sizeRange) Build a new config value that holds aList
.<T> ModConfigSpec.ConfigValue
<List<? extends T>> ModConfigSpec.Builder.defineList
(List<String> path, Supplier<List<? extends T>> defaultSupplier, Predicate<Object> elementValidator) <T> ModConfigSpec.ConfigValue
<List<? extends T>> ModConfigSpec.Builder.defineList
(List<String> path, Supplier<List<? extends T>> defaultSupplier, Supplier<T> newElementSupplier, Predicate<Object> elementValidator) Build a new config value that holds aList
.<T> ModConfigSpec.ConfigValue
<List<? extends T>> ModConfigSpec.Builder.defineList
(List<String> path, List<? extends T> defaultValue, Predicate<Object> elementValidator) <T> ModConfigSpec.ConfigValue
<List<? extends T>> ModConfigSpec.Builder.defineList
(List<String> path, List<? extends T> defaultValue, Supplier<T> newElementSupplier, Predicate<Object> elementValidator) <T> ModConfigSpec.ConfigValue
<List<? extends T>> ModConfigSpec.Builder.defineListAllowEmpty
(String path, Supplier<List<? extends T>> defaultSupplier, Predicate<Object> elementValidator) <T> ModConfigSpec.ConfigValue
<List<? extends T>> ModConfigSpec.Builder.defineListAllowEmpty
(String path, Supplier<List<? extends T>> defaultSupplier, Supplier<T> newElementSupplier, Predicate<Object> elementValidator) <T> ModConfigSpec.ConfigValue
<List<? extends T>> ModConfigSpec.Builder.defineListAllowEmpty
(String path, List<? extends T> defaultValue, Predicate<Object> elementValidator) <T> ModConfigSpec.ConfigValue
<List<? extends T>> ModConfigSpec.Builder.defineListAllowEmpty
(String path, List<? extends T> defaultValue, Supplier<T> newElementSupplier, Predicate<Object> elementValidator) <T> ModConfigSpec.ConfigValue
<List<? extends T>> ModConfigSpec.Builder.defineListAllowEmpty
(List<String> path, Supplier<List<? extends T>> defaultSupplier, Predicate<Object> elementValidator) <T> ModConfigSpec.ConfigValue
<List<? extends T>> ModConfigSpec.Builder.defineListAllowEmpty
(List<String> path, Supplier<List<? extends T>> defaultSupplier, Supplier<T> newElementSupplier, Predicate<Object> elementValidator) Build a new config value that holds aList
.<T> ModConfigSpec.ConfigValue
<List<? extends T>> ModConfigSpec.Builder.defineListAllowEmpty
(List<String> path, List<? extends T> defaultValue, Predicate<Object> elementValidator) <T> ModConfigSpec.ConfigValue
<List<? extends T>> Method parameters in net.neoforged.neoforge.common with type arguments of type ModConfigSpec.ConfigValueModifier and TypeMethodDescriptionprivate void
ModConfigSpec.forEachValue
(Iterable<Object> configValues, Consumer<ModConfigSpec.ConfigValue<?>> consumer) -
Uses of ModConfigSpec.ConfigValue in net.neoforged.neoforge.common.config
Fields in net.neoforged.neoforge.common.config declared as ModConfigSpec.ConfigValueModifier and TypeFieldDescriptionfinal ModConfigSpec.ConfigValue
<String> NeoForgeServerConfig.permissionHandler
-
Uses of ModConfigSpec.ConfigValue in net.neoforged.neoforge.oldtest
Fields in net.neoforged.neoforge.oldtest declared as ModConfigSpec.ConfigValueModifier and TypeFieldDescriptionprivate final ModConfigSpec.ConfigValue
<T> ConfigUITest.Common.Wrap.cfg
The field for thecfg
record component.Methods in net.neoforged.neoforge.oldtest that return ModConfigSpec.ConfigValueModifier and TypeMethodDescriptionConfigUITest.Common.Wrap.cfg()
Returns the value of thecfg
record component.Methods in net.neoforged.neoforge.oldtest with parameters of type ModConfigSpec.ConfigValueModifier and TypeMethodDescription(package private) static <T> Supplier
<T> ConfigUITest.Common.wrap
(ModConfigSpec.ConfigValue<T> cfg) Constructors in net.neoforged.neoforge.oldtest with parameters of type ModConfigSpec.ConfigValueModifierConstructorDescriptionWrap
(ModConfigSpec.ConfigValue<T> cfg) Creates an instance of aWrap
record class.
ModConfigSpec.Builder.defineList(String, Supplier, Supplier, Predicate)