Uses of Class
dev.ua.theroer.magicutils.commands.CommandSpec
Packages that use CommandSpec
-
Uses of CommandSpec in dev.ua.theroer.magicutils.commands
Methods in dev.ua.theroer.magicutils.commands that return CommandSpecModifier and TypeMethodDescriptionCommandSpec.Builder.build()Builds the immutable command spec.MagicCommand.Builder.buildSpec()Builds the command specification.CommandSpec<?> DynamicCommand.spec()Returns the backing command spec.Methods in dev.ua.theroer.magicutils.commands with parameters of type CommandSpecModifier and TypeMethodDescriptionstatic MagicCommandMagicCommand.fromSpec(CommandSpec<?> spec) Wraps a compatibility command spec into a runtimeMagicCommand.Constructors in dev.ua.theroer.magicutils.commands with parameters of type CommandSpecModifierConstructorDescriptionDynamicCommand(CommandSpec<?> spec) Creates a dynamic command from a command spec. -
Uses of CommandSpec in dev.ua.theroer.magicutils.commands.brigadier
Methods in dev.ua.theroer.magicutils.commands.brigadier with parameters of type CommandSpecModifier and TypeMethodDescriptionvoidBrigadierCommandRegistry.registerAllSpecs(com.mojang.brigadier.CommandDispatcher<S> dispatcher, CommandSpec<?>... specs) Registers all provided command specs.voidBrigadierCommandRegistry.registerSpec(com.mojang.brigadier.CommandDispatcher<S> dispatcher, CommandSpec<?> spec) Registers a compatibility command spec by converting it to aMagicCommand.