Uses of Interface
io.papermc.paper.command.brigadier.CommandSourceStack
Package
Description
-
Uses of CommandSourceStack in com.destroystokyo.paper.event.brigadier
Modifier and TypeClassDescriptionclass
AsyncPlayerSendCommandsEvent<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
Modifier and TypeMethodDescriptionstatic <T> com.mojang.brigadier.builder.RequiredArgumentBuilder
<CommandSourceStack, T> Utility to create a required argument builder with the correct generic.com.mojang.brigadier.CommandDispatcher
<CommandSourceStack> Commands.getDispatcher()
Gets the underlyingCommandDispatcher
.static com.mojang.brigadier.builder.LiteralArgumentBuilder
<CommandSourceStack> Utility to create a literal command node builder with the correct generic.Modifier and TypeMethodDescriptionvoid
BasicCommand.execute
(CommandSourceStack commandSourceStack, String[] args) Executes the command with the givenCommandSourceStack
and arguments.default Collection
<String> BasicCommand.suggest
(CommandSourceStack commandSourceStack, String[] args) Suggests possible completions for the given commandCommandSourceStack
and arguments.Modifier and TypeMethodDescriptiondefault @Unmodifiable Set
<String> Commands.register
(com.mojang.brigadier.tree.LiteralCommandNode<CommandSourceStack> node) Registers a command for the current plugin context.default @Unmodifiable Set
<String> Commands.register
(com.mojang.brigadier.tree.LiteralCommandNode<CommandSourceStack> node, @Nullable String description) Registers a command for the current plugin context.Commands.register
(com.mojang.brigadier.tree.LiteralCommandNode<CommandSourceStack> node, @Nullable String description, Collection<String> aliases) Registers a command for the current plugin context.default @Unmodifiable Set
<String> Commands.register
(com.mojang.brigadier.tree.LiteralCommandNode<CommandSourceStack> node, Collection<String> aliases) Registers a command for the current plugin context.Commands.register
(PluginMeta pluginMeta, com.mojang.brigadier.tree.LiteralCommandNode<CommandSourceStack> node, @Nullable String description, Collection<String> aliases) Registers a command for a plugin.Commands.registerWithFlags
(PluginMeta pluginMeta, com.mojang.brigadier.tree.LiteralCommandNode<CommandSourceStack> node, @Nullable String description, Collection<String> aliases, 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
Modifier and TypeMethodDescriptionSignedMessageResolver.resolveSignedMessage
(String argumentName, com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) Resolves this signed message. -
Uses of CommandSourceStack in io.papermc.paper.command.brigadier.argument.resolvers
Modifier and TypeMethodDescriptionArgumentResolver.resolve
(CommandSourceStack sourceStack) Resolves the argument with the given command source stack.