Class GetTeamListCommand
java.lang.Object
at.setup_studios.mc_milsim.commands.GetTeamListCommand
Command handler for listing all teams in the milsim system.
Provides functionality to display all currently existing teams.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
register
(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher) Registers the team list command with the dispatcher.
-
Constructor Details
-
GetTeamListCommand
public GetTeamListCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher) Registers the team list command with the dispatcher. Command structure: /milsim teams list Shows all existing teams with their respective colors.- Parameters:
dispatcher
- The command dispatcher to register the command with
-