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/NumberRange
intermediary net/minecraft/class_2096
official cx
  • Field Details

    • EXCEPTION_EMPTY

      static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType EXCEPTION_EMPTY
      Mappings:
      Namespace Name Mixin selector
      named EXCEPTION_EMPTY Lnet/minecraft/predicate/NumberRange;EXCEPTION_EMPTY:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_9700 Lnet/minecraft/class_2096;field_9700:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official a Lcx;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • EXCEPTION_SWAPPED

      static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType EXCEPTION_SWAPPED
      Mappings:
      Namespace Name Mixin selector
      named EXCEPTION_SWAPPED Lnet/minecraft/predicate/NumberRange;EXCEPTION_SWAPPED:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_9701 Lnet/minecraft/class_2096;field_9701:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official b Lcx;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
  • Method Details

    • bounds

      Mappings:
      Namespace Name Mixin selector
      named bounds Lnet/minecraft/predicate/NumberRange;bounds()Lnet/minecraft/predicate/NumberRange$Bounds;
      intermediary comp_4771 Lnet/minecraft/class_2096;comp_4771()Lnet/minecraft/class_2096$class_11893;
      official a Lcx;a()Lcx$a;
    • getMin

      default Optional<T> getMin()
      Mappings:
      Namespace Name Mixin selector
      named getMin Lnet/minecraft/predicate/NumberRange;getMin()Ljava/util/Optional;
      intermediary method_74106 Lnet/minecraft/class_2096;method_74106()Ljava/util/Optional;
      official b Lcx;b()Ljava/util/Optional;
    • getMax

      default Optional<T> getMax()
      Mappings:
      Namespace Name Mixin selector
      named getMax Lnet/minecraft/predicate/NumberRange;getMax()Ljava/util/Optional;
      intermediary method_74107 Lnet/minecraft/class_2096;method_74107()Ljava/util/Optional;
      official c Lcx;c()Ljava/util/Optional;
    • isDummy

      default boolean isDummy()
      Mappings:
      Namespace Name Mixin selector
      named isDummy Lnet/minecraft/predicate/NumberRange;isDummy()Z
      intermediary method_9041 Lnet/minecraft/class_2096;method_9041()Z
      official d Lcx;d()Z