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

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

    • create

      R create(com.mojang.brigadier.StringReader reader, Optional<T> min, Optional<T> max) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/predicate/NumberRange$CommandFactory;create(Lcom/mojang/brigadier/StringReader;Ljava/util/Optional;Ljava/util/Optional;)Lnet/minecraft/predicate/NumberRange;
      intermediary create Lnet/minecraft/class_2096$class_2098;create(Lcom/mojang/brigadier/StringReader;Ljava/util/Optional;Ljava/util/Optional;)Lnet/minecraft/class_2096;
      official create Ldh$b;create(Lcom/mojang/brigadier/StringReader;Ljava/util/Optional;Ljava/util/Optional;)Ldh;