net.minecraft.predicate

public interface NumberRange<T extends Number extends Comparable<T>>

net.minecraft.advancements.criterion.MinMaxBounds
net.minecraft.class_2096
net.minecraft.predicate.NumberRange

Field summary

Modifier and TypeField
com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_EMPTY
field_9700
EXCEPTION_EMPTY
com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_SWAPPED
field_9701
EXCEPTION_SWAPPED

Method summary

Modifier and TypeMethod
NumberRange$Bounds<T>
bounds()
comp_4771()
bounds()
default Optional<T>
min()
method_74106()
getMin()
default Optional<T>
max()
method_74107()
getMax()
default boolean
isAny()
method_9041()
isDummy()
static <V extends Number extends Comparable<V>, B extends NumberRange<V>> Function<B, com.mojang.serialization.DataResult<B>>
validateContainedInRange(MinMaxBounds<V> allowed)
method_1_1405(class_2096<V> arg0)
validateWithin(NumberRange<V> other)
private static com.mojang.serialization.DataResult
lambda$validateContainedInRange$0(com.google.common.collect.Range arg0, MinMaxBounds arg1)
method_1_1403(com.google.common.collect.Range arg0, class_2096 arg1)
method_1_1403(com.google.common.collect.Range arg0, NumberRange self)
private static String
lambda$validateContainedInRange$1(com.google.common.collect.Range arg0, com.google.common.collect.Range arg1)
method_1_1404(com.google.common.collect.Range arg0, com.google.common.collect.Range arg1)
method_1_1404(com.google.common.collect.Range arg0, com.google.common.collect.Range arg1)