Class NumberRangeArgumentType.FloatRangeArgumentType

java.lang.Object
net.minecraft.command.argument.NumberRangeArgumentType.FloatRangeArgumentType
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<NumberRange.FloatRange>, NumberRangeArgumentType<NumberRange.FloatRange>
Enclosing interface:
NumberRangeArgumentType<T extends NumberRange<?>>

public static class NumberRangeArgumentType.FloatRangeArgumentType
extends Object
implements NumberRangeArgumentType<NumberRange.FloatRange>
Mappings:
Namespace Name
official dx$a
intermediary net/minecraft/class_2224$class_2225
named net/minecraft/command/argument/NumberRangeArgumentType$FloatRangeArgumentType
  • Field Details

    • EXAMPLES

      private static final Collection<String> EXAMPLES
      Mappings:
      Namespace Name Mixin selector
      official a Ldx$a;a:Ljava/util/Collection;
      intermediary field_9937 Lnet/minecraft/class_2224$class_2225;field_9937:Ljava/util/Collection;
      named EXAMPLES Lnet/minecraft/command/argument/NumberRangeArgumentType$FloatRangeArgumentType;EXAMPLES:Ljava/util/Collection;
  • Constructor Details

    • FloatRangeArgumentType

      public FloatRangeArgumentType()
  • Method Details

    • parse

      public NumberRange.FloatRange parse​(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      parse in interface com.mojang.brigadier.arguments.ArgumentType<NumberRange.FloatRange>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Ldx$a;a(Lcom/mojang/brigadier/StringReader;)Lbz$c;
      intermediary method_9423 Lnet/minecraft/class_2224$class_2225;method_9423(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2096$class_2099;
      named parse Lnet/minecraft/command/argument/NumberRangeArgumentType$FloatRangeArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/predicate/NumberRange$FloatRange;
    • getExamples

      public Collection<String> getExamples()
      Specified by:
      getExamples in interface com.mojang.brigadier.arguments.ArgumentType<NumberRange.FloatRange>
      Mappings:
      Namespace Name Mixin selector
      official getExamples Ldx$a;getExamples()Ljava/util/Collection;
      intermediary getExamples Lnet/minecraft/class_2224$class_2225;getExamples()Ljava/util/Collection;
      named getExamples Lnet/minecraft/command/argument/NumberRangeArgumentType$FloatRangeArgumentType;getExamples()Ljava/util/Collection;