Schnittstelle MobArenaCommand

Alle bekannten Implementierungsklassen:
ArenaAdminCommands, ArenaSetupCommands, ClassCommand, PlayerArenaCommands, ReloadCommand, VersionCommand

public interface MobArenaCommand
A modular subcommand contribution to the /ma command tree.

Each implementation attaches its own literal (and any arguments) to the shared root builder. This keeps subcommands self-contained and lets CommandManager compose the tree from an ordered list, so future milestones add commands by implementing this interface rather than editing a monolithic builder.

  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    register(@NotNull com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> root)
    Attaches this subcommand to the root /ma builder.
  • Methodendetails

    • register

      void register(@NotNull @NotNull com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> root)
      Attaches this subcommand to the root /ma builder.
      Parameter:
      root - the root literal builder to extend, typically via ArgumentBuilder.then(com.mojang.brigadier.builder.ArgumentBuilder)