Uses of Annotation Interface
dev.ua.theroer.magicutils.annotations.CommandInfo
Packages that use CommandInfo
-
Uses of CommandInfo in dev.ua.theroer.magicutils.commands
Methods in dev.ua.theroer.magicutils.commands that return CommandInfoModifier and TypeMethodDescriptionCommandManager.getCommandInfo(MagicCommand command) Gets stored command info for a registered command instance.MagicCommand.overrideInfo(CommandInfo original) Apply runtime overrides to a CommandInfo annotation.final CommandInfoMagicCommand.resolveInfo()Resolves the effective command metadata after runtime overrides.Methods in dev.ua.theroer.magicutils.commands that return types with arguments of type CommandInfoModifier and TypeMethodDescriptionstatic Optional<CommandInfo> MagicCommand.getCommandInfo(Class<?> clazz) Gets the CommandInfo annotation from a class.Methods in dev.ua.theroer.magicutils.commands with parameters of type CommandInfoModifier and TypeMethodDescription@Nullable ResolvedCommandSchemaCommandManager.describe(MagicCommand command, CommandInfo info) Returns the resolved command schema for a registered command instance.CommandManager.generateSubCommandUsages(MagicCommand command, CommandInfo info) Generates detailed usage strings for all subcommands.CommandManager.generateUsage(MagicCommand command, CommandInfo info) Generates a usage string for a command based on its structure.MagicCommand.overrideInfo(CommandInfo original) Apply runtime overrides to a CommandInfo annotation.voidCommandManager.register(MagicCommand command, CommandInfo info) Registers a command and its info.MagicCommand.withInfo(CommandInfo info) Override full command info at runtime (builder API). -
Uses of CommandInfo in dev.ua.theroer.magicutils.diagnostics
Classes in dev.ua.theroer.magicutils.diagnostics with annotations of type CommandInfoModifier and TypeClassDescriptionfinal classLoader-agnostic/magicutilsbundle command shared by every platform bundle (Bukkit, Fabric, NeoForge, …).