Interface NumberRange.CommandFactory<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.CommandFactory<T extends Number,​R extends NumberRange<T>>
Mappings:
Namespace Name
official bz$b
intermediary net/minecraft/class_2096$class_2098
named net/minecraft/predicate/NumberRange$CommandFactory
  • Method Summary

    Modifier and Type Method Description
    R create​(com.mojang.brigadier.StringReader reader, T min, T max)  
  • Method Details

    • create

      R create​(com.mojang.brigadier.StringReader reader, @Nullable T min, @Nullable T max) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official create Lbz$b;create(Lcom/mojang/brigadier/StringReader;Ljava/lang/Number;Ljava/lang/Number;)Lbz;
      intermediary create Lnet/minecraft/class_2096$class_2098;create(Lcom/mojang/brigadier/StringReader;Ljava/lang/Number;Ljava/lang/Number;)Lnet/minecraft/class_2096;
      named create Lnet/minecraft/predicate/NumberRange$CommandFactory;create(Lcom/mojang/brigadier/StringReader;Ljava/lang/Number;Ljava/lang/Number;)Lnet/minecraft/predicate/NumberRange;