Package net.pl3x.map.core.command
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
Represents a Pl3xMap command.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static @NotNull org.incendo.cloud.minecraft.extras.RichDescription
description
(@NotNull String description, @NotNull net.kyori.adventure.text.minimessage.tag.resolver.TagResolver.Single... placeholders) Create a command description.@NotNull CommandHandler
Get the command handler.abstract void
register()
Register subcommand.
-
Constructor Details
-
Pl3xMapCommand
-
-
Method Details
-
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 commandplaceholders
- placeholders- Returns:
- rich description
-