net.minecraft.predicate

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

net.minecraft.advancements.criterion.MinMaxBounds
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
ERROR_EMPTY
field_9700
EXCEPTION_EMPTY
com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_SWAPPED
ERROR_SWAPPED
field_9701
EXCEPTION_SWAPPED

Method summary

Modifier and TypeMethod
NumberRange$Bounds<T>
bounds()
bounds()
comp_4771()
bounds()
default Optional<T>
min()
min()
method_74106()
getMin()
default Optional<T>
max()
max()
method_74107()
getMax()
default boolean
isAny()
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)
validateContainedInRange(MinMaxBounds<V> allowed)
method_1_1405(class_2096<V> arg0)
validateWithin(NumberRange<V> other)