Package net.minecraft.predicate
Interface NumberRange<T extends Number & Comparable<T>>
- All Known Implementing Classes:
NumberRange.AngleRange,NumberRange.DoubleRange,NumberRange.IntRange
public interface NumberRange<T extends Number & Comparable<T>>
- Mappings:
Namespace Name named net/minecraft/predicate/NumberRangeintermediary net/minecraft/class_2096official cx
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic final recordNumberRange.Bounds<T extends Number & Comparable<T>>static final recordstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypestatic final com.mojang.brigadier.exceptions.SimpleCommandExceptionType -
Method Summary
-
Field Details
-
EXCEPTION_EMPTY
static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType EXCEPTION_EMPTY- Mappings:
Namespace Name Mixin selector named EXCEPTION_EMPTYLnet/minecraft/predicate/NumberRange;EXCEPTION_EMPTY:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_9700Lnet/minecraft/class_2096;field_9700:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official aLcx;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
EXCEPTION_SWAPPED
static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType EXCEPTION_SWAPPED- Mappings:
Namespace Name Mixin selector named EXCEPTION_SWAPPEDLnet/minecraft/predicate/NumberRange;EXCEPTION_SWAPPED:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_9701Lnet/minecraft/class_2096;field_9701:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official bLcx;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
Method Details
-
bounds
NumberRange.Bounds<T> bounds()- Mappings:
Namespace Name Mixin selector named boundsLnet/minecraft/predicate/NumberRange;bounds()Lnet/minecraft/predicate/NumberRange$Bounds;intermediary comp_4771Lnet/minecraft/class_2096;comp_4771()Lnet/minecraft/class_2096$class_11893;official aLcx;a()Lcx$a;
-
getMin
- Mappings:
Namespace Name Mixin selector named getMinLnet/minecraft/predicate/NumberRange;getMin()Ljava/util/Optional;intermediary method_74106Lnet/minecraft/class_2096;method_74106()Ljava/util/Optional;official bLcx;b()Ljava/util/Optional;
-
getMax
- Mappings:
Namespace Name Mixin selector named getMaxLnet/minecraft/predicate/NumberRange;getMax()Ljava/util/Optional;intermediary method_74107Lnet/minecraft/class_2096;method_74107()Ljava/util/Optional;official cLcx;c()Ljava/util/Optional;
-
isDummy
default boolean isDummy()- Mappings:
Namespace Name Mixin selector named isDummyLnet/minecraft/predicate/NumberRange;isDummy()Zintermediary method_9041Lnet/minecraft/class_2096;method_9041()Zofficial dLcx;d()Z
-