Class SetPlayerTeamCommand
java.lang.Object
at.setup_studios.mc_milsim.commands.SetPlayerTeamCommand
Command handler for adding players to teams.
Provides functionality to assign players to specific teams in the milsim system.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
register
(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher) Registers the add player to team command with the dispatcher.
-
Constructor Details
-
SetPlayerTeamCommand
public SetPlayerTeamCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher) Registers the add player to team command with the dispatcher. Command structure: /milsim teams addAssigns the specified player to the specified team. Includes team name auto-completion suggestions. - Parameters:
dispatcher
- The command dispatcher to register the command with
-