Class IRangeArgument.IntRange

java.lang.Object
net.minecraft.command.arguments.IRangeArgument.IntRange
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<MinMaxBounds.IntBound>, IRangeArgument<MinMaxBounds.IntBound>
Enclosing interface:
IRangeArgument<T extends MinMaxBounds<?>>

public static class IRangeArgument.IntRange extends Object implements IRangeArgument<MinMaxBounds.IntBound>
  • Field Details

  • Constructor Details

    • IntRange

      public IntRange()
  • Method Details

    • getRange

      public static MinMaxBounds.IntBound getRange(com.mojang.brigadier.context.CommandContext<CommandSource> p_211372_0_, String p_211372_1_)
    • parse

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

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