Class Pl3xMapCommand

java.lang.Object
net.pl3x.map.core.command.Pl3xMapCommand
Direct Known Subclasses:
ConfirmCommand, FullRenderCommand, HelpCommand, HideCommand, PauseCommand, RadiusRenderCommand, ReloadCommand, ResetMapCommand, ResumeCommand, ShowCommand, StatusCommand, StitchCommand, VersionCommand

public abstract class Pl3xMapCommand extends Object
Represents a Pl3xMap command.
  • Constructor Details

    • Pl3xMapCommand

      protected Pl3xMapCommand(@NotNull @NotNull CommandHandler handler)
  • Method Details

    • getHandler

      @NotNull public @NotNull CommandHandler getHandler()
      Get the command handler.
      Returns:
      command handler
    • register

      public abstract void register()
      Register subcommand.
    • description

      @NotNull protected static @NotNull org.incendo.cloud.minecraft.extras.RichDescription description(@NotNull @NotNull String description, @NotNull @NotNull net.kyori.adventure.text.minimessage.tag.resolver.TagResolver.Single... placeholders)
      Create a command description.
      Parameters:
      description - description of command
      placeholders - placeholders
      Returns:
      rich description