Uses of Class
net.minecraft.predicate.NumberRange
-
Uses of NumberRange in net.minecraft.command.argument
-
Uses of NumberRange in net.minecraft.predicate
Modifier and TypeInterfaceDescriptionprotected static interface
NumberRange.CommandFactory<T extends Number,
R extends NumberRange<T>> protected static interface
NumberRange.Factory<T extends Number,
R extends NumberRange<T>> Modifier and TypeClassDescriptionstatic class
static class
Modifier and TypeMethodDescriptionprotected static <T extends Number,
R extends NumberRange<T>>
RNumberRange.fromJson
(@Nullable JsonElement json, R fallback, BiFunction<JsonElement, String, T> asNumber, NumberRange.Factory<T, R> factory) protected 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)