Uses of Interface
io.papermc.paper.command.brigadier.CommandSourceStack
Packages that use CommandSourceStack
Package
Description
Brigadier connection API.
Arguments.
Argument resolvers.
-
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
Methods in io.papermc.paper that return types with arguments of type CommandSourceStackModifier and TypeMethodDescriptionInternalAPIBridge.restricted(Predicate<CommandSourceStack> predicate) Causes this predicate to be considered restricted.Method parameters in io.papermc.paper with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionInternalAPIBridge.restricted(Predicate<CommandSourceStack> predicate) Causes this predicate to be considered restricted. -
Uses of CommandSourceStack in io.papermc.paper.command.brigadier
Methods in io.papermc.paper.command.brigadier that return CommandSourceStackModifier and TypeMethodDescriptionCommandSourceStack.withExecutor(Entity executor) Creates a new CommandSourceStack object with a different executor for redirecting commands to other nodes.CommandSourceStack.withLocation(Location location) Creates a new CommandSourceStack object with a different location for redirecting commands to other nodes.Methods in io.papermc.paper.command.brigadier that return types with arguments of type CommandSourceStackModifier 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.static Predicate<CommandSourceStack> Commands.restricted(Predicate<CommandSourceStack> predicate) Creates a restrictedPredicatethat wraps the given predicate.Methods in io.papermc.paper.command.brigadier with parameters of type CommandSourceStackModifier and TypeMethodDescriptionvoidBasicCommand.execute(CommandSourceStack commandSourceStack, String[] args) Executes the command with the givenCommandSourceStackand arguments.default Collection<String> BasicCommand.suggest(CommandSourceStack commandSourceStack, 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 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.static Predicate<CommandSourceStack> Commands.restricted(Predicate<CommandSourceStack> predicate) Creates a restrictedPredicatethat wraps the given predicate. -
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(String argumentName, 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 TypeMethodDescriptionfloatAngleResolver.resolve(CommandSourceStack sourceStack) Resolves the argument with the given command source stack.ArgumentResolver.resolve(CommandSourceStack sourceStack) Resolves the argument with the given command source stack. -
Uses of CommandSourceStack in io.papermc.paper.event.world
Methods in io.papermc.paper.event.world that return CommandSourceStackModifier and TypeMethodDescriptionWorldDifficultyChangeEvent.getCommandSource()Gets the command source associated with this event.Constructors in io.papermc.paper.event.world with parameters of type CommandSourceStackModifierConstructorDescriptionWorldDifficultyChangeEvent(World world, @Nullable CommandSourceStack commandSource, Difficulty difficulty) -
Uses of CommandSourceStack in org.bukkit.event.command
Methods in org.bukkit.event.command that return CommandSourceStackModifier and TypeMethodDescriptionUnknownCommandEvent.getCommandSource()Gets the command source associated with this eventConstructors in org.bukkit.event.command with parameters of type CommandSourceStackModifierConstructorDescriptionUnknownCommandEvent(CommandSourceStack commandSource, String commandLine, @Nullable Component message)