Class SpawnPlayerCommand
java.lang.Object
at.setup_studios.mc_milsim.commands.SpawnPlayerCommand
Manages the player spawn command functionality for the military simulation mod.
Provides command handling for teleporting players to specific spawn locations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
register
(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher) Registers the spawn command with the Minecraft command system.
-
Constructor Details
-
SpawnPlayerCommand
public SpawnPlayerCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher) Registers the spawn command with the Minecraft command system. Sets up the command structure: /milsim player spawn [player]- Parameters:
dispatcher
- The command dispatcher to register this command with
-