Uses of Interface
net.minecraft.predicate.NumberRange
-
Uses of NumberRange in net.minecraft.command.argument
-
Uses of NumberRange in net.minecraft.predicate
Modifier and TypeInterfaceDescriptionstatic interface
NumberRange.CommandFactory<T extends Number,
R extends NumberRange<T>> static interface
NumberRange.Factory<T extends Number,
R extends NumberRange<T>> Modifier and TypeClassDescriptionstatic final record
static final record
Modifier and TypeMethodDescriptionstatic <T extends Number,
R extends NumberRange<T>>
com.mojang.serialization.Codec<R>NumberRange.createCodec
(com.mojang.serialization.Codec<T> valueCodec, NumberRange.Factory<T, R> rangeFactory) static <T extends Number,
R extends NumberRange<T>>
RNumberRange.parse
(com.mojang.brigadier.StringReader commandReader, NumberRange.CommandFactory<T, R> commandFactory, Function<String, T> converter, Supplier<com.mojang.brigadier.exceptions.DynamicCommandExceptionType> exceptionTypeSupplier, Function<T, T> mapper)