Uses of Interface
io.papermc.paper.command.brigadier.CommandSourceStack
Packages that use CommandSourceStack
Package
Description
-
Uses of CommandSourceStack in com.destroystokyo.paper.event.brigadier
Classes in com.destroystokyo.paper.event.brigadier with type parameters of type CommandSourceStackModifier and TypeClassDescriptionclassAsyncPlayerSendCommandsEvent<S extends CommandSourceStack>Fired any time a Brigadier RootCommandNode is generated for a player to inform the client of commands. -
Uses of CommandSourceStack in io.papermc.paper.command.brigadier
Methods in io.papermc.paper.command.brigadier that return types with arguments of type CommandSourceStackModifier and TypeMethodDescriptionstatic <T> @NotNull com.mojang.brigadier.builder.RequiredArgumentBuilder<CommandSourceStack, T> Commands.argument(@NotNull String name, @NotNull com.mojang.brigadier.arguments.ArgumentType<T> argumentType) Utility to create a required argument builder with the correct generic.@NotNull com.mojang.brigadier.CommandDispatcher<CommandSourceStack> Commands.getDispatcher()Gets the underlyingCommandDispatcher.static @NotNull com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> Utility to create a literal command node builder with the correct generic.Methods in io.papermc.paper.command.brigadier with parameters of type CommandSourceStackModifier and TypeMethodDescriptionvoidBasicCommand.execute(@NotNull CommandSourceStack commandSourceStack, @NotNull String[] args) Executes the command with the givenCommandSourceStackand arguments.default @NotNull Collection<String> BasicCommand.suggest(@NotNull CommandSourceStack commandSourceStack, @NotNull String[] args) Suggests possible completions for the given commandCommandSourceStackand arguments.Method parameters in io.papermc.paper.command.brigadier with type arguments of type CommandSourceStackModifier and TypeMethodDescriptiondefault @Unmodifiable @NotNull Set<String> Commands.register(@NotNull com.mojang.brigadier.tree.LiteralCommandNode<CommandSourceStack> node) Registers a command for the current plugin context.default @Unmodifiable @NotNull Set<String> Commands.register(@NotNull com.mojang.brigadier.tree.LiteralCommandNode<CommandSourceStack> node, @Nullable String description) Registers a command for the current plugin context.Commands.register(@NotNull com.mojang.brigadier.tree.LiteralCommandNode<CommandSourceStack> node, @Nullable String description, @NotNull Collection<String> aliases) Registers a command for the current plugin context.default @Unmodifiable @NotNull Set<String> Commands.register(@NotNull com.mojang.brigadier.tree.LiteralCommandNode<CommandSourceStack> node, @NotNull Collection<String> aliases) Registers a command for the current plugin context.Commands.register(@NotNull PluginMeta pluginMeta, @NotNull com.mojang.brigadier.tree.LiteralCommandNode<CommandSourceStack> node, @Nullable String description, @NotNull Collection<String> aliases) Registers a command for a plugin.Commands.registerWithFlags(@NotNull PluginMeta pluginMeta, @NotNull com.mojang.brigadier.tree.LiteralCommandNode<CommandSourceStack> node, @Nullable String description, @NotNull Collection<String> aliases, @NotNull Set<CommandRegistrationFlag> flags) This allows configuring the registration of your command, which is not intended for public use. -
Uses of CommandSourceStack in io.papermc.paper.command.brigadier.argument
Method parameters in io.papermc.paper.command.brigadier.argument with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionSignedMessageResolver.resolveSignedMessage(@NotNull String argumentName, @NotNull com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) Resolves this signed message. -
Uses of CommandSourceStack in io.papermc.paper.command.brigadier.argument.resolvers
Methods in io.papermc.paper.command.brigadier.argument.resolvers with parameters of type CommandSourceStackModifier and TypeMethodDescriptionArgumentResolver.resolve(@NotNull CommandSourceStack sourceStack) Resolves the argument with the given command source stack.