Uses of Interface
io.papermc.paper.command.brigadier.CommandSourceStack
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes relating to handling specialized non-chat player input.
-
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 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.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. -
Uses of CommandSourceStack in moe.caramel.daydream.brigadier
Modifier and TypeFieldDescriptionstatic final SimpleArgument
<Position<CommandSourceStack>> Arguments.COLUMN_POS
Example: "0 0", "~ ~", "~1 ~-2", "^ ^", "^-1 ^0"protected final com.mojang.brigadier.tree.LiteralCommandNode
<CommandSourceStack> BrigadierCommand.command
static final SimpleArgument
<Position<CommandSourceStack>> Arguments.ROTATION
Example: "0 0", "~ ~", "~-5 ~5"Modifier and TypeMethodDescriptionstatic <T> com.mojang.brigadier.builder.RequiredArgumentBuilder
<CommandSourceStack, T> 입력 인자를 생성합니다.final com.mojang.brigadier.tree.LiteralCommandNode
<CommandSourceStack> BrigadierCommand.getCommand()
명령어 노드를 가져옵니다.protected final com.mojang.brigadier.CommandDispatcher
<CommandSourceStack> BrigadierCommand.getDispatcher()
명령어 디스패처를 가져옵니다.static com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> BrigadierCommand.hoverSuggest
(BiConsumer<CommandSourceStack, Map<String, Component>> suggestions) (동적) 툴팁이 포함된 명령어 제안을 생성합니다.static com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> BrigadierCommand.hoverSuggest
(Consumer<Map<String, Component>> suggestions) (동적) 툴팁이 포함된 명령어 제안을 생성합니다.static com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> BrigadierCommand.hoverSuggest
(Map<String, Component> suggestions) (정적) 툴팁이 포함된 명령어 제안을 생성합니다.static com.mojang.brigadier.builder.LiteralArgumentBuilder
<CommandSourceStack> 리터럴 인자를 생성합니다.static com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> (정적) 명령어 제안을 생성합니다.static com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> BrigadierCommand.suggest
(Collection<String> strings) (정적) 명령어 제안을 생성합니다.static com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> BrigadierCommand.suggest
(BiConsumer<CommandSourceStack, Collection<String>> strings) (동적) 명령어 제안을 생성합니다.static com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> BrigadierCommand.suggest
(Consumer<Collection<String>> strings) (동적) 명령어 제안을 생성합니다.static com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> (동적) 명령어 제안을 생성합니다.Modifier and TypeMethodDescriptionstatic CommandSender
BrigadierCommand.sender
(CommandSourceStack source) 명령어 실행 주체를 가져옵니다.Modifier and TypeMethodDescriptionabstract void
BrigadierCommand.buildCommand
(com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> builder) Brigadier 명령어를 생성합니다.static com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> BrigadierCommand.hoverSuggest
(BiConsumer<CommandSourceStack, Map<String, Component>> suggestions) (동적) 툴팁이 포함된 명령어 제안을 생성합니다.static CommandSender
BrigadierCommand.sender
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) 명령어 실행 주체를 가져옵니다.static com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> BrigadierCommand.suggest
(BiConsumer<CommandSourceStack, Collection<String>> strings) (동적) 명령어 제안을 생성합니다. -
Uses of CommandSourceStack in moe.caramel.daydream.brigadier.argument
Modifier and TypeMethodDescriptioncom.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> ScoreHolderArgument.getSuggestion()
Modifier and TypeMethodDescriptionItemArgument.createItemStack
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name, int amount, boolean checkOverstack) SimpleArgument.getData
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) Collection
<? extends Entity> EntityArgument.getEntities
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) EntityArgument.getEntity
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) default ItemStack
ItemArgument.getItem
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) BlockPosArgument.getLoadedBlockPos
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) ScoreHolderArgument.getName
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) ScoreHolderArgument.getNames
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) ScoreHolderArgument.getNamesSupplier
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name, Supplier<Collection<String>> players) ScoreHolderArgument.getNamesWithDefaultWildcard
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) EntityArgument.getOptionalPlayers
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) EntityArgument.getPlayer
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) EntityArgument.getPlayers
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) BlockStateArgument.getPredicate
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) BlockPosArgument.getSpawnablePos
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) BlockStateArgument.getState
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) boolean
BlockStateArgument.place
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name, World world, Location location, int flags) void
MessageArgument.resolveMessage
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name, Consumer<PlayerMessage> callback) -
Uses of CommandSourceStack in moe.caramel.daydream.brigadier.data
-
Uses of CommandSourceStack in moe.caramel.daydream.brigadier.suggestion
Modifier and TypeMethodDescriptioncom.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> SimpleSuggestion.getSuggestion()
-
Uses of CommandSourceStack in org.bukkit
Modifier and TypeMethodDescriptionstatic <S extends CommandSourceStack>
com.mojang.brigadier.CommandDispatcher<S> Bukkit.getCommandDispatcher()
명령어 디스패처를 가져옵니다.<S extends CommandSourceStack>
com.mojang.brigadier.CommandDispatcher<S> Server.getCommandDispatcher()
명령어 디스패처를 가져옵니다. -
Uses of CommandSourceStack in org.bukkit.command
Modifier and TypeMethodDescription<S extends CommandSourceStack>
SCommandSender.getCommandSource()
Brigadier 명령어 실행 주체를 생성합니다.default <S extends CommandSourceStack>
SMessageCommandSender.getCommandSource()
Deprecated, for removal: This API element is subject to removal in a future version.