Uses of Interface
io.github.projectunified.valuevenue.core.ValueSource
Packages that use ValueSource
Package
Description
-
Uses of ValueSource in io.github.projectunified.valuevenue.bukkit
Classes in io.github.projectunified.valuevenue.bukkit that implement ValueSource -
Uses of ValueSource in io.github.projectunified.valuevenue.common
Classes in io.github.projectunified.valuevenue.common that implement ValueSourceModifier and TypeClassDescriptionclassEnumValueSource<K,SV extends Enum<SV>> AValueSourcewhose source values are all constants of an enum, exposed as a single variable.classAValueSourcewhose values are maps, exposed as the<key>_<name>variables.classSimpleValueSource<K,V> AValueSourcewhose values are a fixed list of values, exposed as a single variable.classAValueSourcewhose values are the pieces of a string, e.g. the lines of a setting. -
Uses of ValueSource in io.github.projectunified.valuevenue.core
Methods in io.github.projectunified.valuevenue.core with parameters of type ValueSourceModifier and TypeMethodDescriptionstatic <K,SV, FV>
CachedValueGenerator<K, SV, FV> CachedValueGenerator.create(ValueSource<K, SV> source, BiFunction<SV, Function<String, Object>, FV> converter) Creates a generator from a source and a conversion, exposing every final value to every key.static <K,SV, FV>
CachedValueGenerator<K, SV, FV> CachedValueGenerator.create(ValueSource<K, SV> source, BiFunction<SV, Function<String, Object>, FV> converter, BiPredicate<FV, K> valueFilter) Creates a generator from a source and a conversion. -
Uses of ValueSource in io.github.projectunified.valuevenue.number
Classes in io.github.projectunified.valuevenue.number that implement ValueSourceModifier and TypeClassDescriptionclassDynamicNumberValueSource<K,N extends Number> AValueSourcewhose values are a range of numbers, with the start, the end and the step of the range selected for each key.classNumberValueSource<K,N extends Number> AValueSourcewhose values are a fixed range of numbers, stepped from the start to the end.