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

Enclosing interface:
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
named net/minecraft/predicate/NumberRange$Factory
intermediary net/minecraft/class_2096$class_2097
official dj$a
  • Method Summary

    Modifier and Type
    Method
    Description
    create(Optional<T> min, Optional<T> max)
     
  • Method Details

    • create

      R create(Optional<T> min, Optional<T> max)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/predicate/NumberRange$Factory;create(Ljava/util/Optional;Ljava/util/Optional;)Lnet/minecraft/predicate/NumberRange;
      intermediary create Lnet/minecraft/class_2096$class_2097;create(Ljava/util/Optional;Ljava/util/Optional;)Lnet/minecraft/class_2096;
      official create Ldj$a;create(Ljava/util/Optional;Ljava/util/Optional;)Ldj;