Class GetPlayerTeamCommand
java.lang.Object
at.setup_studios.mc_milsim.commands.GetPlayerTeamCommand
Command handler for retrieving a player's team information.
Provides functionality to check which team a specific player belongs to.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
register
(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher) Registers the get player team command with the dispatcher.
-
Constructor Details
-
GetPlayerTeamCommand
public GetPlayerTeamCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher) Registers the get player team command with the dispatcher. Command structure: /milsim teams getteamReturns information about which team the specified player is in. - Parameters:
dispatcher
- The command dispatcher to register the command with
-