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> @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.Modifier and TypeMethodDescriptionvoid
BasicCommand.execute
(@NotNull CommandSourceStack commandSourceStack, @NotNull String[] args) Executes the command with the givenCommandSourceStack
and arguments.default @NotNull Collection
<String> BasicCommand.suggest
(@NotNull CommandSourceStack commandSourceStack, @NotNull String[] args) Suggests possible completions for the given commandCommandSourceStack
and arguments.Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionArgumentResolver.resolve
(@NotNull CommandSourceStack sourceStack) Resolves the argument with the given command source stack.