Class SuggestingArgument

  • All Implemented Interfaces:
    com.mojang.brigadier.arguments.ArgumentType

    
    public final class SuggestingArgument<V extends Object, T extends ArgumentType<V>>
     implements ArgumentType<V>
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final T arg
      private final SuggestionProvider<CommandSourceStack> suggester
    • Constructor Summary

      Constructors 
      Constructor Description
      SuggestingArgument(T arg, SuggestionProvider<CommandSourceStack> suggester)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final T getArg()
      final SuggestionProvider<CommandSourceStack> getSuggester()
      V parse(StringReader reader)
      • Methods inherited from class com.mojang.brigadier.arguments.ArgumentType

        getExamples, listSuggestions, parse
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SuggestingArgument

        SuggestingArgument(T arg, SuggestionProvider<CommandSourceStack> suggester)
    • Method Detail

      • getSuggester

         final SuggestionProvider<CommandSourceStack> getSuggester()
      • parse

         V parse(StringReader reader)