Interface NumberRange.Factory<T extends Number,​R extends NumberRange<T>>

Enclosing class:
NumberRange<T extends Number>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public static interface NumberRange.Factory<T extends Number,​R extends NumberRange<T>>
Mappings:
Namespace Name
official bz$a
intermediary net/minecraft/class_2096$class_2097
named net/minecraft/predicate/NumberRange$Factory
  • Method Summary

    Modifier and Type Method Description
    R create​(T min, T max)  
  • Method Details

    • create

      R create​(@Nullable T min, @Nullable T max)
      Mappings:
      Namespace Name Mixin selector
      official create Lbz$a;create(Ljava/lang/Number;Ljava/lang/Number;)Lbz;
      intermediary create Lnet/minecraft/class_2096$class_2097;create(Ljava/lang/Number;Ljava/lang/Number;)Lnet/minecraft/class_2096;
      named create Lnet/minecraft/predicate/NumberRange$Factory;create(Ljava/lang/Number;Ljava/lang/Number;)Lnet/minecraft/predicate/NumberRange;