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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static org.incendo.cloud.minecraft.extras.RichDescription
description
(String description, net.kyori.adventure.text.minimessage.tag.resolver.TagResolver.Single... placeholders) Create a command description.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
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 commandplaceholders
- placeholders- Returns:
- rich description
-