Uses of Class
net.neoforged.neoforge.common.ModConfigSpec.Range
Packages that use ModConfigSpec.Range
-
Uses of ModConfigSpec.Range in net.neoforged.neoforge.client.gui
Methods in net.neoforged.neoforge.client.gui with parameters of type ModConfigSpec.RangeModifier and TypeMethodDescriptionprotected @Nullable ConfigurationScreen.ConfigurationSectionScreen.Element
ConfigurationScreen.ConfigurationSectionScreen.createSlider
(String key, Supplier<Integer> source, Consumer<Integer> target, @Nullable ModConfigSpec.Range<Integer> range) protected <T> net.minecraft.client.OptionInstance.TooltipSupplier
<T> ConfigurationScreen.ConfigurationSectionScreen.getTooltip
(String key, @Nullable ModConfigSpec.Range<?> range) protected net.minecraft.network.chat.Component
ConfigurationScreen.ConfigurationSectionScreen.getTooltipComponent
(String key, @Nullable ModConfigSpec.Range<?> range) -
Uses of ModConfigSpec.Range in net.neoforged.neoforge.common
Fields in net.neoforged.neoforge.common declared as ModConfigSpec.RangeModifier and TypeFieldDescriptionprivate static final ModConfigSpec.Range
<Integer> ModConfigSpec.ListValueSpec.MAX_ELEMENTS
private static final ModConfigSpec.Range
<Integer> ModConfigSpec.ListValueSpec.NON_EMPTY
private @Nullable ModConfigSpec.Range
<?> ModConfigSpec.BuilderContext.range
private final @Nullable ModConfigSpec.Range
<?> ModConfigSpec.ValueSpec.range
private final @Nullable ModConfigSpec.Range
<Integer> ModConfigSpec.ListValueSpec.sizeRange
Methods in net.neoforged.neoforge.common that return ModConfigSpec.RangeModifier and TypeMethodDescription<V extends Comparable<? super V>>
@Nullable ModConfigSpec.Range<V> ModConfigSpec.BuilderContext.getRange()
<V extends Comparable<? super V>>
@Nullable ModConfigSpec.Range<V> ModConfigSpec.ValueSpec.getRange()
ModConfigSpec.ListValueSpec.getSizeRange()
The allowable range of the size of the list.static ModConfigSpec.Range
<Integer> ModConfigSpec.Range.of
(int min, int max) Methods in net.neoforged.neoforge.common with parameters of type ModConfigSpec.RangeModifier and TypeMethodDescription<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
.<V extends Comparable<? super V>>
voidModConfigSpec.BuilderContext.setRange
(ModConfigSpec.Range<V> value) Constructors in net.neoforged.neoforge.common with parameters of type ModConfigSpec.RangeModifierConstructorDescriptionprivate
ListValueSpec
(Supplier<?> supplier, @Nullable Supplier<?> newElementSupplier, Predicate<Object> listValidator, Predicate<Object> elementValidator, ModConfigSpec.BuilderContext context, List<String> path, @Nullable ModConfigSpec.Range<Integer> sizeRange)