Uses of Interface
io.papermc.paper.command.brigadier.CommandSourceStack
Packages that use CommandSourceStack
Package
Description
Brigadier connection API.
Arguments.
Argument resolvers.
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
Classes in com.destroystokyo.paper.event.brigadier with type parameters of type CommandSourceStackModifier 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
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 restrictedPredicate
that wraps the given predicate.Methods in io.papermc.paper.command.brigadier with parameters of type CommandSourceStackModifier 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.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 restrictedPredicate
that 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 TypeMethodDescriptionArgumentResolver.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 moe.caramel.daydream.brigadier
Fields in moe.caramel.daydream.brigadier with type parameters of type CommandSourceStackModifier and TypeFieldDescriptionstatic final SimpleArgument
<Position<CommandSourceStack>> Arguments.COLUMN_POS
Deprecated, for removal: This API element is subject to removal in a future version.Example: "0 0", "~ ~", "~1 ~-2", "^ ^", "^-1 ^0"protected final com.mojang.brigadier.tree.LiteralCommandNode
<CommandSourceStack> BrigadierCommand.command
static final SimpleArgument
<Position<CommandSourceStack>> Arguments.ROTATION
Deprecated, for removal: This API element is subject to removal in a future version.Example: "0 0", "~ ~", "~-5 ~5"Methods in moe.caramel.daydream.brigadier that return types with arguments of type CommandSourceStackModifier 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> (동적) 명령어 제안을 생성합니다.Methods in moe.caramel.daydream.brigadier with parameters of type CommandSourceStackModifier and TypeMethodDescriptionstatic CommandSender
BrigadierCommand.sender
(CommandSourceStack source) 명령어 실행 주체를 가져옵니다.Method parameters in moe.caramel.daydream.brigadier with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionstatic BlockPosition
Resolvers.blockPosition
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 정수형 위치를 해석합니다.static BlockState
Resolvers.blockState
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 블록 상태를 해석합니다.abstract void
BrigadierCommand.buildCommand
(com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> builder) Brigadier 명령어를 생성합니다.static Component
Resolvers.component
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 컴포넌트를 해석합니다.static BinaryTagHolder
Resolvers.compoundTag
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 컴파운드 태그를 해석합니다.Resolvers.doubleRange
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 실수 범위를 해석합니다.Resolvers.entities
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 엔티티 목록을 해석합니다.static Entity
Resolvers.entity
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 단일 엔티티를 해석합니다.static LookAnchor
Resolvers.entityAnchor
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 주목 지점을 해석합니다.static FinePosition
Resolvers.finePosition
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 실수형 위치를 해석합니다.static GameMode
Resolvers.gameMode
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 게임모드를 해석합니다.static Collection
<com.mojang.authlib.GameProfile> Resolvers.gameProfiles
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 플레이어 프로필을 해석합니다.static HeightMap
Resolvers.heightMap
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 하이트 맵을 해석합니다.static TextColor
Resolvers.hexColor
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 십육진 색을 해석합니다.static com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> BrigadierCommand.hoverSuggest
(BiConsumer<CommandSourceStack, Map<String, Component>> suggestions) (동적) 툴팁이 포함된 명령어 제안을 생성합니다.Resolvers.integerRange
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 정수 범위를 해석합니다.static ItemStackPredicate
Resolvers.itemPredicate
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 아이템 예측을 가져옵니다.static ItemStack
Resolvers.itemStack
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 아이템 스택을 해석합니다.static Key
Resolvers.key
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 키를 해석합니다.static NamedTextColor
Resolvers.namedColor
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 지정된 색을 해석합니다.static NamespacedKey
Resolvers.namespacedKey
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 키를 해석합니다.static Criteria
Resolvers.objectiveCriteria
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 목적 기준을 해석합니다.Resolvers.optionalEntities
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 엔티티 목록을 해석합니다.Resolvers.optionalPlayers
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 플레이어 목록을 해석합니다.static Player
Resolvers.player
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 단일 플레이어를 해석합니다.static Collection
<PlayerProfile> Resolvers.playerProfiles
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 플레이어 프로필을 해석합니다.Resolvers.players
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 플레이어 목록을 해석합니다.static <T> T
Resolvers.resource
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 레지스트리 리소스를 해석합니다.static <T> TypedKey
<T> Resolvers.resourceKey
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 레지스트리의 타입 키를 해석합니다.static Rotation
Resolvers.rotation
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 회전을 해석합니다.static DisplaySlot
Resolvers.scoreboardDisplaySlot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 스코어보드 슬롯을 해석합니다.static CommandSender
BrigadierCommand.sender
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) 명령어 실행 주체를 가져옵니다.static SignedMessageResolver
Resolvers.signedMessage
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 서명된 메시지를 해석합니다.static int
Resolvers.slot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 슬롯을 해석합니다.static it.unimi.dsi.fastutil.ints.IntList
Resolvers.slots
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 슬롯 목록을 해석합니다.static Style
Resolvers.style
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 스타일을 해석합니다.static com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> BrigadierCommand.suggest
(BiConsumer<CommandSourceStack, Collection<String>> strings) (동적) 명령어 제안을 생성합니다.static Mirror
Resolvers.templateMirror
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 구조물 반전 타입을 해석합니다.static StructureRotation
Resolvers.templateRotation
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 구조물 회전 타입을 해석합니다.static int
Resolvers.time
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 시간을 해석합니다.static UUID
Resolvers.uuid
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 UUID를 해석합니다.static World
Resolvers.world
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) 명령어 컨텍스트와 주어진 인수 이름으로부터 월드를 해석합니다. -
Uses of CommandSourceStack in moe.caramel.daydream.brigadier.argument
Methods in moe.caramel.daydream.brigadier.argument that return types with arguments of type CommandSourceStackModifier and TypeMethodDescriptiondefault com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> ScoreHolderArgument.getSuggestion()
Deprecated, for removal: This API element is subject to removal in a future version.VecArgument.PositionResolver.resolve
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) Method parameters in moe.caramel.daydream.brigadier.argument with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionstatic <T> SimpleArgument
<T> SimpleArgument.create
(com.mojang.brigadier.arguments.ArgumentType<?> type, BiFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, String, T> resolver) Deprecated, for removal: This API element is subject to removal in a future version.ItemArgument.createItemStack
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name, int amount, boolean checkOverstack) Deprecated, for removal: This API element is subject to removal in a future version.SimpleArgument.getData
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) Deprecated, for removal: This API element is subject to removal in a future version.default Collection
<? extends Entity> EntityArgument.getEntities
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) Deprecated, for removal: This API element is subject to removal in a future version.default Entity
EntityArgument.getEntity
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) Deprecated, for removal: This API element is subject to removal in a future version.default ItemStack
ItemArgument.getItem
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) Deprecated, for removal: This API element is subject to removal in a future version.BlockPosArgument.getLoadedBlockPos
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) Deprecated, for removal: This API element is subject to removal in a future version.default ScoreHolder
ScoreHolderArgument.getName
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) Deprecated, for removal: This API element is subject to removal in a future version.default Collection
<ScoreHolder> ScoreHolderArgument.getNames
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) Deprecated, for removal: This API element is subject to removal in a future version.default Collection
<ScoreHolder> ScoreHolderArgument.getNamesSupplier
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name, Supplier<Collection<String>> players) Deprecated, for removal: This API element is subject to removal in a future version.default Collection
<ScoreHolder> ScoreHolderArgument.getNamesWithDefaultWildcard
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) Deprecated, for removal: This API element is subject to removal in a future version.default Collection
<Player> EntityArgument.getOptionalPlayers
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) Deprecated, for removal: This API element is subject to removal in a future version.default Player
EntityArgument.getPlayer
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) Deprecated, for removal: This API element is subject to removal in a future version.default Collection
<Player> EntityArgument.getPlayers
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) Deprecated, for removal: This API element is subject to removal in a future version.BlockStateArgument.getPredicate
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) Deprecated, for removal: This API element is subject to removal in a future version.BlockPosArgument.getSpawnablePos
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) Deprecated, for removal: This API element is subject to removal in a future version.BlockStateArgument.getState
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) Deprecated, for removal: This API element is subject to removal in a future version.boolean
BlockStateArgument.place
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name, World world, Location location, int flags) Deprecated, for removal: This API element is subject to removal in a future version.VecArgument.PositionResolver.resolve
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) void
MessageArgument.resolveMessage
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name, Consumer<PlayerMessage> callback) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of CommandSourceStack in moe.caramel.daydream.brigadier.data
Classes in moe.caramel.daydream.brigadier.data with type parameters of type CommandSourceStackModifier and TypeInterfaceDescriptioninterface
Position<C extends CommandSourceStack>
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of CommandSourceStack in org.bukkit
Methods in org.bukkit with type parameters of type CommandSourceStackModifier 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
Methods in org.bukkit.command with type parameters of type CommandSourceStackModifier 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.