Class TeamArgumentType

java.lang.Object
eu.sculkpowered.server.command.argument.TeamArgumentType
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<Team>

public final class TeamArgumentType extends Object implements com.mojang.brigadier.arguments.ArgumentType<Team>
  • Constructor Details

    • TeamArgumentType

      public TeamArgumentType(TeamHandler teamHandler)
  • Method Details

    • team

      public static TeamArgumentType team(Server server)
    • team

      public static TeamArgumentType team(TeamHandler teamHandler)
    • parse

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