Class GetTeamPlayerListCommand
java.lang.Object
at.setup_studios.mc_milsim.commands.GetTeamPlayerListCommand
Command handler for displaying the list of players in a specific team.
Provides functionality to view all players currently assigned to a team.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
register
(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher) Registers the team player list command with the dispatcher.
-
Constructor Details
-
GetTeamPlayerListCommand
public GetTeamPlayerListCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher) Registers the team player list command with the dispatcher. Command structure: /milsim teams playersThe team argument includes suggestions based on existing teams. - Parameters:
dispatcher
- The command dispatcher to register the command with
-