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()