Klasse ArenaSetupCommands
java.lang.Object
de.delinkedde.mobarenareborn.command.commands.ArenaSetupCommands
- Alle implementierten Schnittstellen:
MobArenaCommand
Geometry setup commands run from inside the world:
setup, setwarp,
addspawn, delspawn, listspawns and setregion.
All commands require Permissions.ADMIN_SETUP and a player sender, because they
read the sender's position. The two-corner region flow keeps the first corner in memory
(per arena) until the second corner is supplied.
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungArenaSetupCommands(@NotNull MobArenaPlugin plugin, @NotNull ArenaManager arenas, @NotNull Messages messages, @NotNull ItemTemplates itemTemplates) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidregister(@NotNull com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> root) Attaches this subcommand to the root/mabuilder.
-
Konstruktordetails
-
ArenaSetupCommands
public ArenaSetupCommands(@NotNull @NotNull MobArenaPlugin plugin, @NotNull @NotNull ArenaManager arenas, @NotNull @NotNull Messages messages, @NotNull @NotNull ItemTemplates itemTemplates) - Parameter:
plugin- the owning plugin, used for error loggingarenas- the arena managermessages- the message renderer
-
-
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)
-