Klasse VersionCommand
java.lang.Object
de.delinkedde.mobarenareborn.command.commands.VersionCommand
- Alle implementierten Schnittstellen:
MobArenaCommand
/ma version - prints the running plugin version.
Guarded by Permissions.COMMAND_VERSION, which is granted to everyone by default.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidregister(@NotNull com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> root) Attaches this subcommand to the root/mabuilder.
-
Konstruktordetails
-
VersionCommand
- Parameter:
plugin- the owning plugin, used for version metadatamessages- the message renderer used for output
-
-
Methodendetails
-
register
public void register(@NotNull @NotNull com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> root) Beschreibung aus Schnittstelle kopiert:MobArenaCommandAttaches this subcommand to the root/mabuilder.- Angegeben von:
registerin SchnittstelleMobArenaCommand- Parameter:
root- the root literal builder to extend, typically viaArgumentBuilder.then(com.mojang.brigadier.builder.ArgumentBuilder)
-