Class ResearchdTeamArgument

java.lang.Object
com.portingdeadmods.researchd.content.commands.arguments.ResearchdTeamArgument
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<ResearchdTeamArgumentProvider>

public class ResearchdTeamArgument extends Object implements com.mojang.brigadier.arguments.ArgumentType<ResearchdTeamArgumentProvider>
  • Method Details

    • get

      public static ResearchTeam get(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • teamArgument

      public static ResearchdTeamArgument teamArgument()
    • parse

      public ResearchdTeamArgumentProvider parse(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      parse in interface com.mojang.brigadier.arguments.ArgumentType<ResearchdTeamArgumentProvider>
      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<ResearchdTeamArgumentProvider>