Class ProfileArgumentType

java.lang.Object
meteordevelopment.meteorclient.commands.arguments.ProfileArgumentType
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<String>

public class ProfileArgumentType extends Object implements com.mojang.brigadier.arguments.ArgumentType<String>
  • Constructor Details

    • ProfileArgumentType

      public ProfileArgumentType()
  • Method Details

    • create

      public static ProfileArgumentType create()
    • get

      public static Profile get(com.mojang.brigadier.context.CommandContext<?> context)
    • parse

      public String parse(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      parse in interface com.mojang.brigadier.arguments.ArgumentType<String>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • listSuggestions

      public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
      Specified by:
      listSuggestions in interface com.mojang.brigadier.arguments.ArgumentType<String>
    • getExamples

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