Class RangeArgument.Floats

java.lang.Object
net.minecraft.commands.arguments.RangeArgument.Floats
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<MinMaxBounds.Doubles>, RangeArgument<MinMaxBounds.Doubles>
Enclosing interface:
RangeArgument<T extends MinMaxBounds<?>>

public static class RangeArgument.Floats extends Object implements RangeArgument<MinMaxBounds.Doubles>
  • Field Details

  • Constructor Details

    • Floats

      public Floats()
  • Method Details

    • getRange

      public static MinMaxBounds.Doubles getRange(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_170805_, String p_170806_)
    • parse

      public MinMaxBounds.Doubles parse(com.mojang.brigadier.StringReader p_170803_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      parse in interface com.mojang.brigadier.arguments.ArgumentType<MinMaxBounds.Doubles>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • getExamples

      public Collection<String> getExamples()
      Specified by:
      getExamples in interface com.mojang.brigadier.arguments.ArgumentType<MinMaxBounds.Doubles>