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

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

  • Method Details

    • getHandler

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

      public abstract void register()
      Register subcommand.
    • description

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