Uses of Class
net.minecraft.commands.CommandSourceStack
Packages that use CommandSourceStack
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of CommandSourceStack in net.minecraft.commands
Fields in net.minecraft.commands with type parameters of type CommandSourceStackModifier and TypeFieldDescriptionprivate static final ThreadLocal
<ExecutionContext<CommandSourceStack>> Commands.CURRENT_EXECUTION_CONTEXT
private final com.mojang.brigadier.CommandDispatcher
<CommandSourceStack> Commands.dispatcher
private Optional
<CommandFunction<CommandSourceStack>> CacheableFunction.function
Methods in net.minecraft.commands that return CommandSourceStackModifier and TypeMethodDescriptionCommandSourceStack.facing
(Entity entity, EntityAnchorArgument.Anchor anchor) CommandSourceStack.withAnchor
(EntityAnchorArgument.Anchor anchor) CommandSourceStack.withCallback
(CommandResultCallback callback) CommandSourceStack.withCallback
(CommandResultCallback callback, BinaryOperator<CommandResultCallback> operator) CommandSourceStack.withEntity
(Entity entity) CommandSourceStack.withLevel
(ServerLevel level) CommandSourceStack.withMaximumPermission
(int permissionLevel) CommandSourceStack.withPermission
(int permissionLevel) CommandSourceStack.withPosition
(Vec3 pos) CommandSourceStack.withRotation
(Vec2 rotation) CommandSourceStack.withSigningContext
(CommandSigningContext signingContext, TaskChainer chatMessageChainer) CommandSourceStack.withSource
(CommandSource source) CommandSourceStack.withSuppressedOutput()
Methods in net.minecraft.commands that return types with arguments of type CommandSourceStackModifier and TypeMethodDescriptionstatic <T> com.mojang.brigadier.builder.RequiredArgumentBuilder
<CommandSourceStack, T> Creates a new argument.com.mojang.brigadier.CommandDispatcher
<CommandSourceStack> CommandSourceStack.dispatcher()
private static com.mojang.brigadier.context.ContextChain
<CommandSourceStack> Commands.finishParsing
(com.mojang.brigadier.ParseResults<CommandSourceStack> parseResults, String command, CommandSourceStack source) CacheableFunction.get
(ServerFunctionManager functionManager) com.mojang.brigadier.CommandDispatcher
<CommandSourceStack> Commands.getDispatcher()
static com.mojang.brigadier.builder.LiteralArgumentBuilder
<CommandSourceStack> Creates a new argument.Methods in net.minecraft.commands with parameters of type CommandSourceStackModifier and TypeMethodDescriptionstatic void
Commands.executeCommandInContext
(CommandSourceStack source, Consumer<ExecutionContext<CommandSourceStack>> contextConsumer) private void
Commands.fillUsableCommands
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> rootCommandSource, com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider> rootSuggestion, CommandSourceStack source, Map<com.mojang.brigadier.tree.CommandNode<CommandSourceStack>, com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider>> commandNodeToSuggestionNode) private static com.mojang.brigadier.context.ContextChain
<CommandSourceStack> Commands.finishParsing
(com.mojang.brigadier.ParseResults<CommandSourceStack> parseResults, String command, CommandSourceStack source) void
Commands.performPrefixedCommand
(CommandSourceStack source, String command) Method parameters in net.minecraft.commands with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionstatic void
Commands.executeCommandInContext
(CommandSourceStack source, Consumer<ExecutionContext<CommandSourceStack>> contextConsumer) private void
Commands.fillUsableCommands
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> rootCommandSource, com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider> rootSuggestion, CommandSourceStack source, Map<com.mojang.brigadier.tree.CommandNode<CommandSourceStack>, com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider>> commandNodeToSuggestionNode) private void
Commands.fillUsableCommands
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> rootCommandSource, com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider> rootSuggestion, CommandSourceStack source, Map<com.mojang.brigadier.tree.CommandNode<CommandSourceStack>, com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider>> commandNodeToSuggestionNode) private static com.mojang.brigadier.context.ContextChain
<CommandSourceStack> Commands.finishParsing
(com.mojang.brigadier.ParseResults<CommandSourceStack> parseResults, String command, CommandSourceStack source) void
Commands.performCommand
(com.mojang.brigadier.ParseResults<CommandSourceStack> parseResults, String command) -
Uses of CommandSourceStack in net.minecraft.commands.arguments
Fields in net.minecraft.commands.arguments with type parameters of type CommandSourceStackModifier and TypeFieldDescriptionstatic final com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> ScoreHolderArgument.SUGGEST_SCORE_HOLDERS
Methods in net.minecraft.commands.arguments with parameters of type CommandSourceStackModifier and TypeMethodDescriptionEntityAnchorArgument.Anchor.apply
(CommandSourceStack source) Gets the coordinate based on the given command source's position.private static CompletableFuture
<FilteredText> MessageArgument.filterPlainText
(CommandSourceStack source, PlayerChatMessage message) float
AngleArgument.SingleAngle.getAngle
(CommandSourceStack source) Collection
<com.mojang.authlib.GameProfile> GameProfileArgument.Result.getNames
(CommandSourceStack source) Collection
<com.mojang.authlib.GameProfile> GameProfileArgument.SelectorResult.getNames
(CommandSourceStack source) ScoreHolderArgument.Result.getNames
(CommandSourceStack source, Supplier<Collection<ScoreHolder>> objectives) ScoreHolderArgument.SelectorResult.getNames
(CommandSourceStack source, Supplier<Collection<ScoreHolder>> objectives) (package private) Component
MessageArgument.Message.resolveComponent
(CommandSourceStack source) private static void
MessageArgument.resolveDisguisedMessage
(Consumer<PlayerChatMessage> callback, CommandSourceStack source, PlayerChatMessage message) private static void
MessageArgument.resolveSignedMessage
(Consumer<PlayerChatMessage> callback, CommandSourceStack source, PlayerChatMessage message) MessageArgument.Message.toComponent
(CommandSourceStack source, boolean allowSelectors) Converts this message into a text component, replacing any selectors in the text with the actual evaluated selector.MessageArgument.Part.toComponent
(CommandSourceStack source) Runs the selector and returns the component produced by it.Method parameters in net.minecraft.commands.arguments with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionstatic AdvancementHolder
ResourceLocationArgument.getAdvancement
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static EntityAnchorArgument.Anchor
EntityAnchorArgument.getAnchor
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static float
AngleArgument.getAngle
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Holder.Reference
<Attribute> ResourceArgument.getAttribute
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) static ChatFormatting
ColorArgument.getColor
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Component
ComponentArgument.getComponent
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Holder.Reference
<ConfiguredFeature<?, ?>> ResourceArgument.getConfiguredFeature
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) static Holder.Reference
<ConfiguredFeature<?, ?>> ResourceKeyArgument.getConfiguredFeature
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) static ObjectiveCriteria
ObjectiveCriteriaArgument.getCriteria
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static ServerLevel
DimensionArgument.getDimension
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static DisplaySlot
ScoreboardSlotArgument.getDisplaySlot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String slot) static Holder.Reference
<Enchantment> ResourceArgument.getEnchantment
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) static Collection
<? extends Entity> EntityArgument.getEntities
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Entity
EntityArgument.getEntity
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Holder.Reference
<EntityType<?>> ResourceArgument.getEntityType
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) static GameType
GameModeArgument.getGameMode
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Collection
<com.mojang.authlib.GameProfile> GameProfileArgument.getGameProfiles
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Heightmap.Types
HeightmapTypeArgument.getHeightmap
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) static ResourceLocation
ResourceLocationArgument.getId
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Holder
<LootItemFunction> ResourceOrIdArgument.getLootModifier
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Holder
<LootItemCondition> ResourceOrIdArgument.getLootPredicate
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) ResourceOrIdArgument.getLootTable
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Component
MessageArgument.getMessage
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Mirror
TemplateMirrorArgument.getMirror
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Holder.Reference
<MobEffect> ResourceArgument.getMobEffect
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) static ScoreHolder
ScoreHolderArgument.getName
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Collection
<ScoreHolder> ScoreHolderArgument.getNames
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) Gets one or more score holders, with no objectives list.static Collection
<ScoreHolder> ScoreHolderArgument.getNames
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name, Supplier<Collection<ScoreHolder>> objectives) Gets one or more score holders.static Collection
<ScoreHolder> ScoreHolderArgument.getNamesWithDefaultWildcard
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) Gets one or more score holders, using the server's complete list of objectives.static Objective
ObjectiveArgument.getObjective
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static OperationArgument.Operation
OperationArgument.getOperation
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Collection
<? extends Entity> EntityArgument.getOptionalEntities
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Collection
<ServerPlayer> EntityArgument.getOptionalPlayers
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static ParticleOptions
ParticleArgument.getParticle
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static NbtPathArgument.NbtPath
NbtPathArgument.getPath
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static ServerPlayer
EntityArgument.getPlayer
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Collection
<ServerPlayer> EntityArgument.getPlayers
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static MinMaxBounds.Doubles
RangeArgument.Floats.getRange
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static MinMaxBounds.Ints
RangeArgument.Ints.getRange
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static RecipeHolder
<?> ResourceLocationArgument.getRecipe
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) private static <T> Registry
<T> ResourceKeyArgument.getRegistry
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, ResourceKey<? extends Registry<T>> registryKey) private static <T> ResourceKey
<T> ResourceKeyArgument.getRegistryKey
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument, ResourceKey<Registry<T>> registryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType exception) static <T> Holder.Reference
<T> ResourceArgument.getResource
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument, ResourceKey<Registry<T>> registryKey) private static <T> Holder
<T> ResourceOrIdArgument.getResource
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static <T> ResourceOrTagArgument.Result
<T> ResourceOrTagArgument.getResourceOrTag
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument, ResourceKey<Registry<T>> registryKey) static <T> ResourceOrTagKeyArgument.Result
<T> ResourceOrTagKeyArgument.getResourceOrTagKey
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument, ResourceKey<Registry<T>> registryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType dynamicCommandExceptionType) static Rotation
TemplateRotationArgument.getRotation
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static int
SlotArgument.getSlot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static SlotRange
SlotsArgument.getSlots
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Holder.Reference
<Structure> ResourceArgument.getStructure
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) static Holder.Reference
<Structure> ResourceKeyArgument.getStructure
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) ResourceKeyArgument.getStructureTemplatePool
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) static Style
StyleArgument.getStyle
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Holder.Reference
<EntityType<?>> ResourceArgument.getSummonableEntityType
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) static PlayerTeam
TeamArgument.getTeam
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static UUID
UuidArgument.getUuid
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Objective
ObjectiveArgument.getWritableObjective
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static void
MessageArgument.resolveChatMessage
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String key, Consumer<PlayerChatMessage> callback) private static <T> Holder.Reference
<T> ResourceKeyArgument.resolveKey
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument, ResourceKey<Registry<T>> registryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType exception) -
Uses of CommandSourceStack in net.minecraft.commands.arguments.blocks
Method parameters in net.minecraft.commands.arguments.blocks with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionstatic BlockInput
BlockStateArgument.getBlock
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Predicate
<BlockInWorld> BlockPredicateArgument.getBlockPredicate
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) -
Uses of CommandSourceStack in net.minecraft.commands.arguments.coordinates
Methods in net.minecraft.commands.arguments.coordinates with parameters of type CommandSourceStackModifier and TypeMethodDescriptiondefault BlockPos
Coordinates.getBlockPos
(CommandSourceStack source) Coordinates.getPosition
(CommandSourceStack source) LocalCoordinates.getPosition
(CommandSourceStack source) WorldCoordinates.getPosition
(CommandSourceStack source) Coordinates.getRotation
(CommandSourceStack source) LocalCoordinates.getRotation
(CommandSourceStack source) WorldCoordinates.getRotation
(CommandSourceStack source) Method parameters in net.minecraft.commands.arguments.coordinates with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionstatic BlockPos
BlockPosArgument.getBlockPos
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static ColumnPos
ColumnPosArgument.getColumnPos
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Coordinates
Vec3Argument.getCoordinates
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static BlockPos
BlockPosArgument.getLoadedBlockPos
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static BlockPos
BlockPosArgument.getLoadedBlockPos
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, ServerLevel level, String name) static Coordinates
RotationArgument.getRotation
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static BlockPos
BlockPosArgument.getSpawnablePos
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static EnumSet
<Direction.Axis> SwizzleArgument.getSwizzle
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Vec2
Vec2Argument.getVec2
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Vec3
Vec3Argument.getVec3
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) -
Uses of CommandSourceStack in net.minecraft.commands.arguments.item
Methods in net.minecraft.commands.arguments.item that return types with arguments of type CommandSourceStackModifier and TypeMethodDescriptionFunctionArgument.Result.create
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) (package private) static CommandFunction
<CommandSourceStack> FunctionArgument.getFunction
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, ResourceLocation id) static com.mojang.datafixers.util.Pair
<ResourceLocation, Collection<CommandFunction<CommandSourceStack>>> FunctionArgument.getFunctionCollection
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static com.mojang.datafixers.util.Pair
<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.getFunctionOrTag
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static com.mojang.datafixers.util.Pair
<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.getFunctionOrTag
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Collection
<CommandFunction<CommandSourceStack>> FunctionArgument.getFunctions
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) (package private) static Collection
<CommandFunction<CommandSourceStack>> FunctionArgument.getFunctionTag
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, ResourceLocation id) com.mojang.datafixers.util.Pair
<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.Result.unwrap
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) com.mojang.datafixers.util.Pair
<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.Result.unwrap
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) com.mojang.datafixers.util.Pair
<ResourceLocation, Collection<CommandFunction<CommandSourceStack>>> FunctionArgument.Result.unwrapToCollection
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) Method parameters in net.minecraft.commands.arguments.item with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionFunctionArgument.Result.create
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) (package private) static CommandFunction
<CommandSourceStack> FunctionArgument.getFunction
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, ResourceLocation id) static com.mojang.datafixers.util.Pair
<ResourceLocation, Collection<CommandFunction<CommandSourceStack>>> FunctionArgument.getFunctionCollection
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static com.mojang.datafixers.util.Pair
<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.getFunctionOrTag
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Collection
<CommandFunction<CommandSourceStack>> FunctionArgument.getFunctions
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) (package private) static Collection
<CommandFunction<CommandSourceStack>> FunctionArgument.getFunctionTag
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, ResourceLocation id) static ItemPredicateArgument.Result
ItemPredicateArgument.getItemPredicate
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) com.mojang.datafixers.util.Pair
<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.Result.unwrap
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) com.mojang.datafixers.util.Pair
<ResourceLocation, Collection<CommandFunction<CommandSourceStack>>> FunctionArgument.Result.unwrapToCollection
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) -
Uses of CommandSourceStack in net.minecraft.commands.arguments.selector
Methods in net.minecraft.commands.arguments.selector with parameters of type CommandSourceStackModifier and TypeMethodDescriptionprivate void
EntitySelector.checkPermissions
(CommandSourceStack source) EntitySelector.findEntities
(CommandSourceStack source) EntitySelector.findPlayers
(CommandSourceStack source) EntitySelector.findSingleEntity
(CommandSourceStack source) EntitySelector.findSinglePlayer
(CommandSourceStack source) -
Uses of CommandSourceStack in net.minecraft.commands.synchronization
Fields in net.minecraft.commands.synchronization with type parameters of type CommandSourceStackModifier and TypeFieldDescriptionstatic final com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> SuggestionProviders.ALL_RECIPES
static final com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> SuggestionProviders.AVAILABLE_SOUNDS
static final com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> SuggestionProviders.SUMMONABLE_ENTITIES
-
Uses of CommandSourceStack in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework declared as CommandSourceStackModifier and TypeFieldDescriptionprivate final CommandSourceStack
TestCommand.TestBatchSummaryDisplayer.source
The field for thesource
record component.private final CommandSourceStack
TestFinder.source
Methods in net.minecraft.gametest.framework that return CommandSourceStackModifier and TypeMethodDescriptionTestCommand.TestBatchSummaryDisplayer.source()
Returns the value of thesource
record component.TestFinder.source()
Methods in net.minecraft.gametest.framework that return types with arguments of type CommandSourceStackModifier and TypeMethodDescriptionprivate static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> TestCommand.runWithRetryOptions
(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> argumentBuilder, Function<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestCommand.Runner> runnerGetter) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> TestCommand.runWithRetryOptions
(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> argumentBuilder, Function<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestCommand.Runner> runnerGetter, Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>> modifier) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> TestCommand.runWithRetryOptionsAndBuildInfo
(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> argumentBuilder, Function<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestCommand.Runner> runnerGetter) Methods in net.minecraft.gametest.framework with parameters of type CommandSourceStackModifier and TypeMethodDescriptionprivate T
TestFinder.Builder.build
(CommandSourceStack source, TestFunctionFinder testFunctionFinder, StructureBlockPosFinder structureBlockPosFinder) private static int
TestCommand.createNewStructure
(CommandSourceStack source, String structureName, int x, int y, int z) (package private) static BlockPos
TestCommand.createTestPositionAround
(CommandSourceStack source) private static int
TestCommand.exportTestStructure
(CommandSourceStack source, String structurePath) private static int
TestCommand.importTestStructure
(CommandSourceStack source, String structurePath) (package private) static int
TestCommand.saveAndExportTestStructure
(CommandSourceStack source, StructureBlockEntity structureBlockEntity) (package private) static void
TestCommand.say
(CommandSourceStack source, String message) private static int
TestCommand.showPos
(CommandSourceStack source, String variableName) (package private) static Stream
<GameTestInfo> TestCommand.toGameTestInfo
(CommandSourceStack source, RetryOptions retryOptions, TestFunctionFinder testFunctionFinder, int rotationSteps) (package private) static Stream
<GameTestInfo> TestCommand.toGameTestInfos
(CommandSourceStack source, RetryOptions retryOptions, StructureBlockPosFinder structureBlockPosFinder) (package private) static int
TestCommand.trackAndStartRunner
(CommandSourceStack source, ServerLevel level, GameTestRunner runner) Method parameters in net.minecraft.gametest.framework with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionTestFinder.Builder.allNearby
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) TestFinder.Builder.allTests
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) TestFinder.Builder.allTestsInClass
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String className) TestFinder.Builder.byArgument
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argumentName) TestFinder.Builder.failedTests
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) TestFinder.Builder.failedTests
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, boolean onlyRequired) static String
TestClassNameArgument.getTestClassName
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) static TestFunction
TestFunctionArgument.getTestFunction
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) TestFinder.Builder.locateByName
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) TestFinder.Builder.lookedAt
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) TestFinder.Builder.nearest
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) TestFinder.Builder.radius
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, int radius) static void
TestCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> TestCommand.runWithRetryOptions
(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> argumentBuilder, Function<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestCommand.Runner> runnerGetter) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> TestCommand.runWithRetryOptions
(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> argumentBuilder, Function<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestCommand.Runner> runnerGetter) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> TestCommand.runWithRetryOptions
(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> argumentBuilder, Function<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestCommand.Runner> runnerGetter, Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>> modifier) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> TestCommand.runWithRetryOptions
(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> argumentBuilder, Function<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestCommand.Runner> runnerGetter, Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>> modifier) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> TestCommand.runWithRetryOptionsAndBuildInfo
(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> argumentBuilder, Function<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestCommand.Runner> runnerGetter) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> TestCommand.runWithRetryOptionsAndBuildInfo
(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> argumentBuilder, Function<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestCommand.Runner> runnerGetter) Constructors in net.minecraft.gametest.framework with parameters of type CommandSourceStackModifierConstructorDescription(package private)
Creates an instance of aTestBatchSummaryDisplayer
record class.(package private)
TestFinder
(CommandSourceStack source, Function<TestFinder<T>, T> contextProvider, TestFunctionFinder testFunctionFinder, StructureBlockPosFinder structureBlockPosFinder) -
Uses of CommandSourceStack in net.minecraft.network.chat
Methods in net.minecraft.network.chat with parameters of type CommandSourceStackModifier and TypeMethodDescriptionstatic ChatType.Bound
ChatType.bind
(ResourceKey<ChatType> chatTypeKey, CommandSourceStack source) default MutableComponent
ComponentContents.resolve
(CommandSourceStack nbtPathPattern, Entity entity, int recursionDepth) private static Style
ComponentUtils.resolveStyle
(CommandSourceStack commandSourceStack, Style style, Entity entity, int recursionDepth) static Optional
<MutableComponent> ComponentUtils.updateForEntity
(CommandSourceStack commandSourceStack, Optional<Component> optionalComponent, Entity entity, int recursionDepth) static MutableComponent
ComponentUtils.updateForEntity
(CommandSourceStack commandSourceStack, Component p_component, Entity entity, int recursionDepth) -
Uses of CommandSourceStack in net.minecraft.network.chat.contents
Methods in net.minecraft.network.chat.contents with parameters of type CommandSourceStackModifier and TypeMethodDescriptionprivate ScoreHolder
ScoreContents.findTargetName
(CommandSourceStack source) BlockDataSource.getData
(CommandSourceStack source) DataSource.getData
(CommandSourceStack source) EntityDataSource.getData
(CommandSourceStack source) StorageDataSource.getData
(CommandSourceStack source) private MutableComponent
ScoreContents.getScore
(ScoreHolder scoreHolder, CommandSourceStack source) NbtContents.resolve
(CommandSourceStack nbtPathPattern, Entity entity, int recursionDepth) ScoreContents.resolve
(CommandSourceStack nbtPathPattern, Entity entity, int recursionDepth) SelectorContents.resolve
(CommandSourceStack nbtPathPattern, Entity entity, int recursionDepth) TranslatableContents.resolve
(CommandSourceStack nbtPathPattern, Entity entity, int recursionDepth) -
Uses of CommandSourceStack in net.minecraft.server
Fields in net.minecraft.server declared as CommandSourceStackFields in net.minecraft.server with type parameters of type CommandSourceStackModifier and TypeFieldDescriptionprivate final com.mojang.brigadier.CommandDispatcher
<CommandSourceStack> ServerFunctionLibrary.dispatcher
private Map
<ResourceLocation, CommandFunction<CommandSourceStack>> ServerFunctionLibrary.functions
ServerFunctionLibrary.tags
private final TagLoader
<CommandFunction<CommandSourceStack>> ServerFunctionLibrary.tagsLoader
private List
<CommandFunction<CommandSourceStack>> ServerFunctionManager.ticking
static final ResourceKey
<Registry<CommandFunction<CommandSourceStack>>> ServerFunctionLibrary.TYPE_KEY
Methods in net.minecraft.server that return CommandSourceStackModifier and TypeMethodDescriptionMinecraftServer.createCommandSourceStack()
ServerFunctionManager.getGameLoopSender()
Methods in net.minecraft.server that return types with arguments of type CommandSourceStackModifier and TypeMethodDescriptionServerFunctionManager.get
(ResourceLocation functionIdentifier) com.mojang.brigadier.CommandDispatcher
<CommandSourceStack> ServerFunctionManager.getDispatcher()
ServerFunctionLibrary.getFunction
(ResourceLocation location) ServerFunctionLibrary.getFunctions()
ServerFunctionLibrary.getTag
(ResourceLocation location) ServerFunctionManager.getTag
(ResourceLocation functionTagIdentifier) Methods in net.minecraft.server with parameters of type CommandSourceStackModifier and TypeMethodDescriptionvoid
ServerFunctionManager.execute
(CommandFunction<CommandSourceStack> function, CommandSourceStack source) void
MinecraftServer.kickUnlistedPlayers
(CommandSourceStack commandSource) Method parameters in net.minecraft.server with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionvoid
ServerFunctionManager.execute
(CommandFunction<CommandSourceStack> function, CommandSourceStack source) private void
ServerFunctionManager.executeTagFunctions
(Collection<CommandFunction<CommandSourceStack>> functionObjects, ResourceLocation identifier) Constructors in net.minecraft.server with parameters of type CommandSourceStackConstructor parameters in net.minecraft.server with type arguments of type CommandSourceStackModifierConstructorDescriptionServerFunctionLibrary
(int functionCompilationLevel, com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) -
Uses of CommandSourceStack in net.minecraft.server.commands
Fields in net.minecraft.server.commands with type parameters of type CommandSourceStackModifier and TypeFieldDescription(package private) static final FunctionCommand.Callbacks
<CommandSourceStack> FunctionCommand.FULL_CONTEXT_CALLBACKS
private static final com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> DataPackCommand.SELECTED_PACKS
private static final com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> AdvancementCommands.SUGGEST_ADVANCEMENTS
static final com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> BossBarCommands.SUGGEST_BOSS_BAR
static final com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> FunctionCommand.SUGGEST_FUNCTION
static final com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> LootCommand.SUGGEST_LOOT_TABLE
private static final com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> ItemCommands.SUGGEST_MODIFIER
private static final com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> ExecuteCommand.SUGGEST_PREDICATE
private static final com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> ScheduleCommand.SUGGEST_SCHEDULE
private static final com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> PlaceCommand.SUGGEST_TEMPLATES
private static final com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> DataPackCommand.UNSELECTED_PACKS
Methods in net.minecraft.server.commands with type parameters of type CommandSourceStackModifier and TypeMethodDescriptionprivate static <T extends com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
T>>
TLootCommand.addTargets
(T builder, LootCommand.TailProvider tailProvider) Methods in net.minecraft.server.commands that return CommandSourceStackModifier and TypeMethodDescriptionstatic CommandSourceStack
FunctionCommand.modifySenderForExecution
(CommandSourceStack source) private static CommandSourceStack
ExecuteCommand.spawnEntityAndRedirect
(CommandSourceStack source, Holder.Reference<EntityType<?>> entityType) private static CommandSourceStack
ExecuteCommand.storeData
(CommandSourceStack source, DataAccessor accessor, NbtPathArgument.NbtPath path, IntFunction<Tag> tagConverter, boolean storingResult) private static CommandSourceStack
ExecuteCommand.storeValue
(CommandSourceStack source, Collection<ScoreHolder> targets, Objective objective, boolean storingResult) private static CommandSourceStack
ExecuteCommand.storeValue
(CommandSourceStack source, CustomBossEvent bar, boolean storingValue, boolean storingResult) Methods in net.minecraft.server.commands that return types with arguments of type CommandSourceStackModifier and TypeMethodDescriptionprivate static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> ExecuteCommand.addConditional
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> commandNode, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> builder, boolean value, ExecuteCommand.CommandPredicate test) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> ExecuteCommand.addConditionals
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> parent, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> literal, boolean isIf, CommandBuildContext context) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> ExecuteCommand.addIfBlocksConditional
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> commandNode, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> literal, boolean isIf, boolean isMasked) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> ScoreboardCommand.addNumberFormats
(CommandBuildContext context, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> argumentBuilder, ScoreboardCommand.NumberFormatCommandExecutor executor) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> CloneCommands.beginEndDestinationAndModeSuffix
(CommandBuildContext buildContext, CloneCommands.CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> levelGetter) com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> LootCommand.TailProvider.construct
(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> builder, LootCommand.DropConsumer dropConsumer) private static com.mojang.brigadier.Command
<CommandSourceStack> ExecuteCommand.createNumericConditionalHandler
(boolean isIf, ExecuteCommand.CommandNumericPredicate predicate) private static com.mojang.brigadier.builder.LiteralArgumentBuilder
<CommandSourceStack> ExecuteCommand.createRelationOperations
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> node, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> argumentBuilder) private static com.mojang.brigadier.builder.LiteralArgumentBuilder
<CommandSourceStack> ScoreboardCommand.createRenderTypeModify()
private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> CloneCommands.destinationAndModeSuffix
(CommandBuildContext buildContext, CloneCommands.CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> sourceLevelGetter, CloneCommands.CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> destinationLevelGetter) private static com.mojang.brigadier.builder.LiteralArgumentBuilder
<CommandSourceStack> RandomCommand.drawRandomValueTree
(String subcommand, boolean displayResult) private static com.mojang.brigadier.RedirectModifier
<CommandSourceStack> ExecuteCommand.expandOneToManyEntityRelation
(Function<Entity, Stream<Entity>> relation) private static com.mojang.brigadier.RedirectModifier
<CommandSourceStack> ExecuteCommand.expandOneToOneEntityRelation
(Function<Entity, Optional<Entity>> relation) private static Collection
<CommandSourceStack> ExecuteCommand.expect
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, boolean actual, boolean expected) If actual and expected match, returns a collection containing only the source player.private static com.mojang.brigadier.builder.LiteralArgumentBuilder
<CommandSourceStack> PlaySoundCommand.source
(SoundSource category) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> ExecuteCommand.wrapStores
(com.mojang.brigadier.tree.LiteralCommandNode<CommandSourceStack> parent, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> literal, boolean storingResult) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> CloneCommands.wrapWithCloneMode
(CloneCommands.CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> beginGetter, CloneCommands.CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> endGetter, CloneCommands.CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> targetGetter, CloneCommands.CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> filterGetter, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> argumentBuilder) Methods in net.minecraft.server.commands with parameters of type CommandSourceStackModifier and TypeMethodDescriptionprivate static int
ExperienceCommand.addExperience
(CommandSourceStack source, Collection<? extends ServerPlayer> targets, int amount, ExperienceCommand.Type type) private static int
AttributeCommand.addModifier
(CommandSourceStack source, Entity entity, Holder<Attribute> attribute, ResourceLocation id, double amount, AttributeModifier.Operation operation) private static int
ScoreboardCommand.addObjective
(CommandSourceStack source, String name, ObjectiveCriteria criteria, Component displayName) private static int
WhitelistCommand.addPlayers
(CommandSourceStack source, Collection<com.mojang.authlib.GameProfile> players) private static int
ScoreboardCommand.addScore
(CommandSourceStack source, Collection<ScoreHolder> targets, Objective objective, int amount) private static int
TagCommand.addTag
(CommandSourceStack source, Collection<? extends Entity> entities, String tagName) static int
TimeCommand.addTime
(CommandSourceStack source, int amount) private static int
TriggerCommand.addValue
(CommandSourceStack source, ServerPlayer player, Objective objective, int value) private static boolean
ChaseCommand.alreadyRunning
(CommandSourceStack source) void
ExecuteCommand.ExecuteIfFunctionCustomModifier.apply
(CommandSourceStack originalSource, List<CommandSourceStack> soruces, com.mojang.brigadier.context.ContextChain<CommandSourceStack> contextChain, ChainModifiers chainModifiers, ExecutionControl<CommandSourceStack> executionControl) private static ItemStack
ItemCommands.applyModifier
(CommandSourceStack source, Holder<LootItemFunction> modifier, ItemStack stack) private static int
BanIpCommands.banIp
(CommandSourceStack source, String ip, Component reason) private static int
BanIpCommands.banIpOrName
(CommandSourceStack source, String username, Component reason) private static int
BanPlayerCommands.banPlayers
(CommandSourceStack source, Collection<com.mojang.authlib.GameProfile> gameProfiles, Component reason) private static int
LootCommand.blockDistribute
(CommandSourceStack source, BlockPos pos, List<ItemStack> items, LootCommand.Callback callback) private static int
LootCommand.blockReplace
(CommandSourceStack source, BlockPos pos, int slot, int numSlots, List<ItemStack> items, LootCommand.Callback callback) private static int
ItemCommands.blockToBlock
(CommandSourceStack source, BlockPos sourcePos, int sourceSlot, BlockPos pos, int slot) private static int
ItemCommands.blockToBlock
(CommandSourceStack source, BlockPos sourcePos, int sourceSlot, BlockPos pos, int slot, Holder<LootItemFunction> modifier) private static int
ItemCommands.blockToEntities
(CommandSourceStack source, BlockPos pos, int sourceSlot, Collection<? extends Entity> targets, int slot) private static int
ItemCommands.blockToEntities
(CommandSourceStack source, BlockPos pos, int sourceSlot, Collection<? extends Entity> targets, int slot, Holder<LootItemFunction> modifier) private static void
LootCommand.callback
(CommandSourceStack source, List<ItemStack> items) private static void
LootCommand.callback
(CommandSourceStack source, List<ItemStack> items, ResourceKey<LootTable> lootTable) private static int
ForceLoadCommand.changeForceLoad
(CommandSourceStack source, ColumnPos from, ColumnPos to, boolean add) private static int
RaidCommand.check
(CommandSourceStack source) private static boolean
ExecuteCommand.checkCustomPredicate
(CommandSourceStack source, Holder<LootItemCondition> condition) private static int
ScoreboardCommand.clearDisplaySlot
(CommandSourceStack source, DisplaySlot slot) private static int
EffectCommands.clearEffect
(CommandSourceStack source, Collection<? extends Entity> targets, Holder<MobEffect> effect) private static int
EffectCommands.clearEffects
(CommandSourceStack source, Collection<? extends Entity> targets) private static int
ClearInventoryCommands.clearInventory
(CommandSourceStack source, Collection<ServerPlayer> targetPlayers, Predicate<ItemStack> itemPredicate, int maxCount) private static int
TitleCommand.clearTitle
(CommandSourceStack source, Collection<ServerPlayer> targets) private static int
ClearInventoryCommands.clearUnlimited
(CommandSourceStack source, Collection<ServerPlayer> targets, Predicate<ItemStack> filter) private static int
CloneCommands.clone
(CommandSourceStack source, CloneCommands.DimensionAndPosition begin, CloneCommands.DimensionAndPosition end, CloneCommands.DimensionAndPosition target, Predicate<BlockInWorld> filter, CloneCommands.Mode mode) private static int
DebugConfigCommand.config
(CommandSourceStack source, ServerPlayer target) private static int
ExecuteCommand.countItems
(CommandSourceStack source, BlockPos pos, SlotRange slotRange, Predicate<ItemStack> filter) private static int
BossBarCommands.createBar
(CommandSourceStack source, ResourceLocation id, Component displayName) static Entity
SummonCommand.createEntity
(CommandSourceStack source, Holder.Reference<EntityType<?>> type, Vec3 pos, CompoundTag tag, boolean randomizeProperties) private static int
TeamCommand.createTeam
(CommandSourceStack source, String name) private static int
TeamCommand.createTeam
(CommandSourceStack source, String name, Component displayName) private static int
DamageCommand.damage
(CommandSourceStack source, Entity target, float amount, DamageSource damageType) private static int
TeamCommand.deleteTeam
(CommandSourceStack source, PlayerTeam team) private static int
DeOpCommands.deopPlayers
(CommandSourceStack source, Collection<com.mojang.authlib.GameProfile> players) private static int
DataPackCommand.disablePack
(CommandSourceStack source, Pack pack) Disables the given pack.private static int
WhitelistCommand.disableWhitelist
(CommandSourceStack source) private static int
RideCommand.dismount
(CommandSourceStack source, Entity target) private static int
LootCommand.dropInWorld
(CommandSourceStack source, Vec3 pos, List<ItemStack> items, LootCommand.Callback callback) private static int
TeamCommand.emptyTeam
(CommandSourceStack source, PlayerTeam team) private static int
DataPackCommand.enablePack
(CommandSourceStack source, Pack pack, DataPackCommand.Inserter priorityCallback) Enables the given pack.private static int
ScoreboardCommand.enableTrigger
(CommandSourceStack source, Collection<ScoreHolder> targets, Objective objective) private static int
WhitelistCommand.enableWhitelist
(CommandSourceStack source) private static int
EnchantCommand.enchant
(CommandSourceStack source, Collection<? extends Entity> targets, Holder<Enchantment> p_enchantment, int level) private static int
ItemCommands.entityToBlock
(CommandSourceStack source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot) private static int
ItemCommands.entityToBlock
(CommandSourceStack source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot, Holder<LootItemFunction> modifier) private static int
ItemCommands.entityToEntities
(CommandSourceStack source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targets, int slot) private static int
ItemCommands.entityToEntities
(CommandSourceStack source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targets, int slot, Holder<LootItemFunction> modifier) private static int
FillBiomeCommand.fill
(CommandSourceStack source, BlockPos from, BlockPos to, Holder.Reference<Biome> biome, Predicate<Holder<Biome>> filter) private static int
DebugPathCommand.fillBlocks
(CommandSourceStack stack, BlockPos pos) private static int
FillCommand.fillBlocks
(CommandSourceStack source, BoundingBox area, BlockInput newBlock, FillCommand.Mode mode, Predicate<BlockInWorld> replacingPredicate) private static int
ChaseCommand.follow
(CommandSourceStack source, String host, int port) private static int
ListPlayersCommand.format
(CommandSourceStack source, Function<ServerPlayer, Component> nameExtractor) private static int
AttributeCommand.getAttributeBase
(CommandSourceStack source, Entity entity, Holder<Attribute> attribute, double scale) private static int
AttributeCommand.getAttributeModifier
(CommandSourceStack source, Entity entity, Holder<Attribute> attribute, ResourceLocation id, double scale) private static int
AttributeCommand.getAttributeValue
(CommandSourceStack source, Entity entity, Holder<Attribute> attribute, double scale) private static ItemStack
ItemCommands.getBlockItem
(CommandSourceStack source, BlockPos pos, int slot) (package private) static Container
ItemCommands.getContainer
(CommandSourceStack source, BlockPos pos, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType exception) private static Container
LootCommand.getContainer
(CommandSourceStack source, BlockPos pos) private static int
WeatherCommand.getDuration
(CommandSourceStack source, int time, IntProvider timeProvider) private static int
BossBarCommands.getMax
(CommandSourceStack source, CustomBossEvent bossbar) private static int
BossBarCommands.getPlayers
(CommandSourceStack source, CustomBossEvent bossbar) private static int
ScoreboardCommand.getScore
(CommandSourceStack source, ScoreHolder scoreHolder, Objective objective) private static int
WorldBorderCommand.getSize
(CommandSourceStack source) private static ItemStack
LootCommand.getSourceHandItem
(CommandSourceStack source, EquipmentSlot slot) private static int
BossBarCommands.getValue
(CommandSourceStack source, CustomBossEvent bossbar) private static int
BossBarCommands.getVisible
(CommandSourceStack source, CustomBossEvent bossbar) private static int
EffectCommands.giveEffect
(CommandSourceStack source, Collection<? extends Entity> targets, Holder<MobEffect> effect, Integer seconds, int amplifier, boolean showParticles) private static int
GiveCommand.giveItem
(CommandSourceStack source, ItemInput item, Collection<ServerPlayer> targets, int count) private static int
RecipeCommand.giveRecipes
(CommandSourceStack source, Collection<ServerPlayer> targets, Collection<RecipeHolder<?>> recipes) private static int
RaidCommand.glow
(CommandSourceStack source) private static int
TeamCommand.joinTeam
(CommandSourceStack source, PlayerTeam team, Collection<ScoreHolder> players) private static int
KickCommand.kickPlayers
(CommandSourceStack source, Collection<ServerPlayer> players, Component reason) private static int
KillCommand.kill
(CommandSourceStack source, Collection<? extends Entity> targets) private static int
ChaseCommand.lead
(CommandSourceStack source, String bindAddress, int port) private static int
TeamCommand.leaveTeam
(CommandSourceStack source, Collection<ScoreHolder> players) Removes the listed players from their teams.private static int
DataPackCommand.listAvailablePacks
(CommandSourceStack source) Sends a list of available packs to the user.private static int
BossBarCommands.listBars
(CommandSourceStack source) private static int
DataPackCommand.listEnabledPacks
(CommandSourceStack source) Sends a list of enabled packs to the user.private static int
ForceLoadCommand.listForceLoad
(CommandSourceStack source) private static int
TeamCommand.listMembers
(CommandSourceStack source, PlayerTeam team) private static int
ScoreboardCommand.listObjectives
(CommandSourceStack source) private static int
DataPackCommand.listPacks
(CommandSourceStack source) Sends a list of both enabled and available packs to the user.private static int
ListPlayersCommand.listPlayers
(CommandSourceStack source) private static int
ListPlayersCommand.listPlayersWithUuids
(CommandSourceStack source) private static int
TagCommand.listTags
(CommandSourceStack source, Collection<? extends Entity> entities) private static int
TeamCommand.listTeams
(CommandSourceStack source) private static int
ScoreboardCommand.listTrackedPlayers
(CommandSourceStack source) private static int
ScoreboardCommand.listTrackedPlayerScores
(CommandSourceStack source, ScoreHolder score) private static int
LocateCommand.locateBiome
(CommandSourceStack source, ResourceOrTagArgument.Result<Biome> biome) private static int
LocateCommand.locatePoi
(CommandSourceStack source, ResourceOrTagArgument.Result<PoiType> poiType) private static int
LocateCommand.locateStructure
(CommandSourceStack source, ResourceOrTagKeyArgument.Result<Structure> structure) private static void
GameModeCommand.logGamemodeChange
(CommandSourceStack source, ServerPlayer player, GameType gameType) private static int
ItemCommands.modifyBlockItem
(CommandSourceStack source, BlockPos pos, int slot, Holder<LootItemFunction> modifier) private static int
ItemCommands.modifyEntityItem
(CommandSourceStack source, Collection<? extends Entity> targets, int sourceSlot, Holder<LootItemFunction> modifer) static CommandSourceStack
FunctionCommand.modifySenderForExecution
(CommandSourceStack source) private static int
RideCommand.mount
(CommandSourceStack source, Entity target, Entity vehicle) private static int
OpCommand.opPlayers
(CommandSourceStack source, Collection<com.mojang.authlib.GameProfile> gameProfiles) private static int
PardonCommand.pardonPlayers
(CommandSourceStack source, Collection<com.mojang.authlib.GameProfile> gameProfiles) private static int
AdvancementCommands.perform
(CommandSourceStack source, Collection<ServerPlayer> targets, AdvancementCommands.Action action, Collection<AdvancementHolder> advancements) Performs the given action on each advancement in the list, for each player.void
TeleportCommand.LookAt.perform
(CommandSourceStack source, Entity entity) void
TeleportCommand.LookAtEntity.perform
(CommandSourceStack p_326864_, Entity p_326807_) void
TeleportCommand.LookAtPosition.perform
(CommandSourceStack p_326870_, Entity p_326894_) private static int
AdvancementCommands.performCriterion
(CommandSourceStack source, Collection<ServerPlayer> targets, AdvancementCommands.Action action, AdvancementHolder p_advancement, String criterionName) private static int
ScoreboardCommand.performOperation
(CommandSourceStack source, Collection<ScoreHolder> targets, Objective targetObjectives, OperationArgument.Operation operation, Collection<ScoreHolder> sourceEntities, Objective sourceObjective) private static void
TeleportCommand.performTeleport
(CommandSourceStack source, Entity entity, ServerLevel level, double x, double y, double z, Set<RelativeMovement> relativeList, float yaw, float pitch, TeleportCommand.LookAt facing) static int
PlaceCommand.placeFeature
(CommandSourceStack source, Holder.Reference<ConfiguredFeature<?, ?>> feature, BlockPos pos) static int
PlaceCommand.placeJigsaw
(CommandSourceStack source, Holder<StructureTemplatePool> templatePool, ResourceLocation target, int maxDepth, BlockPos pos) static int
PlaceCommand.placeStructure
(CommandSourceStack source, Holder.Reference<Structure> p_structure, BlockPos pos) static int
PlaceCommand.placeTemplate
(CommandSourceStack source, ResourceLocation template, BlockPos pos, Rotation rotation, Mirror mirror, float integrity, int seed) private static int
PlaySoundCommand.playSound
(CommandSourceStack source, Collection<ServerPlayer> targets, ResourceLocation sound, SoundSource category, Vec3 pos, float volume, float pitch, float minVolume) private static int
RaidCommand.playSound
(CommandSourceStack source, Component type) private static int
ServerPackCommand.popPack
(CommandSourceStack source, UUID uuid) private static int
PublishCommand.publish
(CommandSourceStack source, int port, boolean cheats, GameType gameMode) private static int
ServerPackCommand.pushPack
(CommandSourceStack source, String url, Optional<UUID> p_uuid, Optional<String> hash) private static int
ExperienceCommand.queryExperience
(CommandSourceStack source, ServerPlayer player, ExperienceCommand.Type type) private static int
ForceLoadCommand.queryForceLoad
(CommandSourceStack source, ColumnPos pos) (package private) static <T extends GameRules.Value<T>>
intGameRuleCommand.queryRule
(CommandSourceStack source, GameRules.Key<T> gameRule) private static int
TimeCommand.queryTime
(CommandSourceStack source, int time) private static int
RandomCommand.randomSample
(CommandSourceStack source, MinMaxBounds.Ints range, ResourceLocation sequence, boolean displayResult) private static int
WhitelistCommand.reload
(CommandSourceStack source) static void
ReloadCommand.reloadPacks
(Collection<String> selectedIds, CommandSourceStack source) private static int
ScheduleCommand.remove
(CommandSourceStack source, String function) private static int
ForceLoadCommand.removeAll
(CommandSourceStack source) private static int
BossBarCommands.removeBar
(CommandSourceStack source, CustomBossEvent bossbar) private static int
AttributeCommand.removeModifier
(CommandSourceStack source, Entity entity, Holder<Attribute> attribute, ResourceLocation id) private static int
ScoreboardCommand.removeObjective
(CommandSourceStack source, Objective objective) private static int
WhitelistCommand.removePlayers
(CommandSourceStack source, Collection<com.mojang.authlib.GameProfile> players) private static int
ScoreboardCommand.removeScore
(CommandSourceStack source, Collection<ScoreHolder> targets, Objective objective, int amount) private static int
TagCommand.removeTag
(CommandSourceStack source, Collection<? extends Entity> entities, String tagName) private static int
RandomCommand.resetAllSequences
(CommandSourceStack source) private static int
RandomCommand.resetAllSequencesAndSetNewDefaults
(CommandSourceStack source, int seed, boolean includeWorldSeed, boolean includeSequenceId) private static int
ScoreboardCommand.resetScore
(CommandSourceStack source, Collection<ScoreHolder> targets, Objective objective) private static int
ScoreboardCommand.resetScores
(CommandSourceStack source, Collection<ScoreHolder> targets) private static int
RandomCommand.resetSequence
(CommandSourceStack source, ResourceLocation sequence) private static int
RandomCommand.resetSequence
(CommandSourceStack source, ResourceLocation sequence, int seed, boolean includeWorldSeed, boolean includeSequenceId) private static int
TitleCommand.resetTitle
(CommandSourceStack source, Collection<ServerPlayer> targets) private static int
WardenSpawnTrackerCommand.resetTracker
(CommandSourceStack source, Collection<? extends Player> targets) void
DebugCommand.TraceCustomExecutor.runGuarded
(CommandSourceStack source, com.mojang.brigadier.context.ContextChain<CommandSourceStack> contextChain, ChainModifiers chainModifiers, ExecutionControl<CommandSourceStack> executionControl) void
FunctionCommand.FunctionCustomExecutor.runGuarded
(CommandSourceStack source, com.mojang.brigadier.context.ContextChain<CommandSourceStack> contextChain, ChainModifiers chainModifiers, ExecutionControl<CommandSourceStack> executionControl) private static int
SaveAllCommand.saveAll
(CommandSourceStack source, boolean flush) private static void
PerfCommand.saveResults
(CommandSourceStack source, Path path, MinecraftServer server) private static int
ScheduleCommand.schedule
(CommandSourceStack source, com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> function, int time, boolean append) private static void
MsgCommand.sendMessage
(CommandSourceStack source, Collection<ServerPlayer> targets, PlayerChatMessage message) private static void
TeamMsgCommand.sendMessage
(CommandSourceStack source, Entity sender, PlayerTeam team, List<ServerPlayer> teamMembers, PlayerChatMessage chatMessage) private static int
ParticleCommand.sendParticles
(CommandSourceStack source, ParticleOptions particleData, Vec3 pos, Vec3 delta, float speed, int count, boolean force, Collection<ServerPlayer> viewers) private static void
ServerPackCommand.sendToAllConnections
(CommandSourceStack source, Packet<?> packet) private static int
AttributeCommand.setAttributeBase
(CommandSourceStack source, Entity entity, Holder<Attribute> attribute, double value) private static int
SetBlockCommand.setBlock
(CommandSourceStack source, BlockPos pos, BlockInput state, SetBlockCommand.Mode mode, Predicate<BlockInWorld> predicate) private static int
ItemCommands.setBlockItem
(CommandSourceStack source, BlockPos pos, int slot, ItemStack item) private static int
WorldBorderCommand.setCenter
(CommandSourceStack source, Vec2 pos) private static int
WeatherCommand.setClear
(CommandSourceStack source, int time) private static int
TeamCommand.setCollision
(CommandSourceStack source, PlayerTeam team, Team.CollisionRule rule) private static int
BossBarCommands.setColor
(CommandSourceStack source, CustomBossEvent bossbar, BossEvent.BossBarColor color) private static int
TeamCommand.setColor
(CommandSourceStack source, PlayerTeam team, ChatFormatting value) private static int
WorldBorderCommand.setDamageAmount
(CommandSourceStack source, float damagePerBlock) private static int
WorldBorderCommand.setDamageBuffer
(CommandSourceStack source, float distance) private static int
TeamCommand.setDeathMessageVisibility
(CommandSourceStack source, PlayerTeam team, Team.Visibility visibility) static int
DifficultyCommand.setDifficulty
(CommandSourceStack source, Difficulty difficulty) private static int
ScoreboardCommand.setDisplayAutoUpdate
(CommandSourceStack source, Objective objective, boolean displayAutoUpdate) private static int
ScoreboardCommand.setDisplayName
(CommandSourceStack source, Objective objective, Component displayName) private static int
TeamCommand.setDisplayName
(CommandSourceStack source, PlayerTeam team, Component value) private static int
ScoreboardCommand.setDisplaySlot
(CommandSourceStack source, DisplaySlot slot, Objective objective) private static int
ItemCommands.setEntityItem
(CommandSourceStack source, Collection<? extends Entity> targets, int slot, ItemStack item) private static int
ExperienceCommand.setExperience
(CommandSourceStack source, Collection<? extends ServerPlayer> targets, int amount, ExperienceCommand.Type type) private static int
TickCommand.setFreeze
(CommandSourceStack source, boolean frozen) private static int
TeamCommand.setFriendlyFire
(CommandSourceStack source, PlayerTeam team, boolean value) private static int
TeamCommand.setFriendlySight
(CommandSourceStack source, PlayerTeam team, boolean value) private static int
SetPlayerIdleTimeoutCommand.setIdleTimeout
(CommandSourceStack source, int idleTimeout) private static int
BossBarCommands.setMax
(CommandSourceStack source, CustomBossEvent bossbar, int max) private static int
DefaultGameModeCommands.setMode
(CommandSourceStack commandSource, GameType gamemode) Sets theGameType
of the player who ran the command.private static int
BossBarCommands.setName
(CommandSourceStack source, CustomBossEvent bossbar, Component name) private static int
TeamCommand.setNametagVisibility
(CommandSourceStack source, PlayerTeam team, Team.Visibility visibility) private static int
ScoreboardCommand.setObjectiveFormat
(CommandSourceStack source, Objective objective, NumberFormat format) private static int
BossBarCommands.setPlayers
(CommandSourceStack source, CustomBossEvent bossbar, Collection<ServerPlayer> players) private static int
TeamCommand.setPrefix
(CommandSourceStack source, PlayerTeam team, Component prefix) private static int
RaidCommand.setRaidOmenLevel
(CommandSourceStack source, int level) private static int
WeatherCommand.setRain
(CommandSourceStack source, int time) private static int
ScoreboardCommand.setRenderType
(CommandSourceStack source, Objective objective, ObjectiveCriteria.RenderType renderType) private static int
ScoreboardCommand.setScore
(CommandSourceStack source, Collection<ScoreHolder> targets, Objective objective, int newValue) private static int
ScoreboardCommand.setScoreDisplay
(CommandSourceStack source, Collection<ScoreHolder> targets, Objective objective, Component displayName) private static int
ScoreboardCommand.setScoreNumberFormat
(CommandSourceStack source, Collection<ScoreHolder> targets, Objective objective, NumberFormat numberFormat) private static int
WorldBorderCommand.setSize
(CommandSourceStack source, double newSize, long time) private static int
SetSpawnCommand.setSpawn
(CommandSourceStack source, Collection<ServerPlayer> targets, BlockPos pos, float angle) private static int
SetWorldSpawnCommand.setSpawn
(CommandSourceStack source, BlockPos pos, float angle) private static int
BossBarCommands.setStyle
(CommandSourceStack source, CustomBossEvent bossbar, BossEvent.BossBarOverlay style) private static int
TeamCommand.setSuffix
(CommandSourceStack source, PlayerTeam team, Component suffix) private static int
WeatherCommand.setThunder
(CommandSourceStack source, int time) private static int
TickCommand.setTickingRate
(CommandSourceStack source, float tickRate) static int
TimeCommand.setTime
(CommandSourceStack source, int time) private static int
TitleCommand.setTimes
(CommandSourceStack source, Collection<ServerPlayer> target, int fade, int stay, int fadeOut) private static int
BossBarCommands.setValue
(CommandSourceStack source, CustomBossEvent bossbar, int value) private static int
TriggerCommand.setValue
(CommandSourceStack source, ServerPlayer player, Objective objective, int value) private static int
BossBarCommands.setVisible
(CommandSourceStack source, CustomBossEvent bossbar, boolean visible) private static int
WorldBorderCommand.setWarningDistance
(CommandSourceStack source, int distance) private static int
WardenSpawnTrackerCommand.setWarningLevel
(CommandSourceStack source, Collection<? extends Player> targets, int warningLevel) private static int
WorldBorderCommand.setWarningTime
(CommandSourceStack source, int time) private static int
BanListCommands.showList
(CommandSourceStack source, Collection<? extends BanListEntry<?>> bannedPlayerList) private static int
WhitelistCommand.showList
(CommandSourceStack source) static int
LocateCommand.showLocateResult
(CommandSourceStack source, ResourceOrTagArgument.Result<?> result, BlockPos sourcePosition, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> resultWithPosition, String translationKey, boolean absoluteY, Duration duration) static int
LocateCommand.showLocateResult
(CommandSourceStack source, ResourceOrTagKeyArgument.Result<?> result, BlockPos sourcePosition, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> resultWithPosition, String translationKey, boolean absoluteY, Duration duration) private static int
LocateCommand.showLocateResult
(CommandSourceStack source, BlockPos sourcePosition, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> resultWithoutPosition, String translationKey, boolean absoluteY, String elementName, Duration duration) private static int
TitleCommand.showTitle
(CommandSourceStack source, Collection<ServerPlayer> targets, Component title, String titleType, Function<Component, Packet<?>> packetGetter) private static int
TriggerCommand.simpleTrigger
(CommandSourceStack source, ServerPlayer player, Objective objective) private static int
SpawnArmorTrimsCommand.spawnArmorTrims
(CommandSourceStack source, Player player) private static int
SummonCommand.spawnEntity
(CommandSourceStack source, Holder.Reference<EntityType<?>> type, Vec3 pos, CompoundTag tag, boolean randomizeProperties) private static CommandSourceStack
ExecuteCommand.spawnEntityAndRedirect
(CommandSourceStack source, Holder.Reference<EntityType<?>> entityType) private static int
RaidCommand.spawnLeader
(CommandSourceStack source) private static int
DebugMobSpawningCommand.spawnMobs
(CommandSourceStack source, MobCategory mobCategory, BlockPos pos) private static int
SpectateCommand.spectate
(CommandSourceStack source, Entity target, ServerPlayer player) private static int
SpreadPlayersCommand.spreadPlayers
(CommandSourceStack source, Vec2 center, float spreadDistance, float maxRange, int maxHeight, boolean respectTeams, Collection<? extends Entity> targets) private static int
TickCommand.sprint
(CommandSourceStack source, int sprintTime) private static int
DebugCommand.start
(CommandSourceStack source) private static int
RaidCommand.start
(CommandSourceStack source, int badOmenLevel) private static int
JfrCommand.startJfr
(CommandSourceStack source) private static int
PerfCommand.startProfilingDedicatedServer
(CommandSourceStack source) private static int
TickCommand.step
(CommandSourceStack source, int ticks) private static int
ChaseCommand.stop
(CommandSourceStack source) private static int
DebugCommand.stop
(CommandSourceStack source) private static int
RaidCommand.stop
(CommandSourceStack source) private static int
JfrCommand.stopJfr
(CommandSourceStack source) private static int
PerfCommand.stopProfilingDedicatedServer
(CommandSourceStack source) private static int
StopSoundCommand.stopSound
(CommandSourceStack source, Collection<ServerPlayer> targets, SoundSource category, ResourceLocation sound) private static int
TickCommand.stopSprinting
(CommandSourceStack source) private static int
TickCommand.stopStepping
(CommandSourceStack source) private static CommandSourceStack
ExecuteCommand.storeData
(CommandSourceStack source, DataAccessor accessor, NbtPathArgument.NbtPath path, IntFunction<Tag> tagConverter, boolean storingResult) private static CommandSourceStack
ExecuteCommand.storeValue
(CommandSourceStack source, Collection<ScoreHolder> targets, Objective objective, boolean storingResult) private static CommandSourceStack
ExecuteCommand.storeValue
(CommandSourceStack source, CustomBossEvent bar, boolean storingValue, boolean storingResult) static CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> TriggerCommand.suggestObjectives
(CommandSourceStack source, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) private static CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> ScoreboardCommand.suggestTriggers
(CommandSourceStack source, Collection<ScoreHolder> targets, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestions) private static int
RecipeCommand.takeRecipes
(CommandSourceStack source, Collection<ServerPlayer> targets, Collection<RecipeHolder<?>> recipes) private static int
TeleportCommand.teleportToEntity
(CommandSourceStack source, Collection<? extends Entity> targets, Entity destination) private static int
TeleportCommand.teleportToPos
(CommandSourceStack source, Collection<? extends Entity> targets, ServerLevel level, Coordinates position, Coordinates rotation, TeleportCommand.LookAt facing) private static int
TickCommand.tickQuery
(CommandSourceStack source) private static int
TransferCommand.transfer
(CommandSourceStack source, String hostname, int port, Collection<ServerPlayer> players) private static int
PardonIpCommand.unban
(CommandSourceStack source, String ipAddress) private static int
DebugConfigCommand.unconfig
(CommandSourceStack source, UUID target) private static void
PerfCommand.whenStopped
(CommandSourceStack source, ProfileResults results) Method parameters in net.minecraft.server.commands with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionint
LootCommand.DropConsumer.accept
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, List<ItemStack> items, LootCommand.Callback callback) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> ExecuteCommand.addConditional
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> commandNode, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> builder, boolean value, ExecuteCommand.CommandPredicate test) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> ExecuteCommand.addConditional
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> commandNode, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> builder, boolean value, ExecuteCommand.CommandPredicate test) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> ExecuteCommand.addConditionals
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> parent, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> literal, boolean isIf, CommandBuildContext context) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> ExecuteCommand.addConditionals
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> parent, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> literal, boolean isIf, CommandBuildContext context) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> ExecuteCommand.addIfBlocksConditional
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> commandNode, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> literal, boolean isIf, boolean isMasked) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> ExecuteCommand.addIfBlocksConditional
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> commandNode, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> literal, boolean isIf, boolean isMasked) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> ScoreboardCommand.addNumberFormats
(CommandBuildContext context, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> argumentBuilder, ScoreboardCommand.NumberFormatCommandExecutor executor) void
ExecuteCommand.ExecuteIfFunctionCustomModifier.apply
(CommandSourceStack originalSource, List<CommandSourceStack> soruces, com.mojang.brigadier.context.ContextChain<CommandSourceStack> contextChain, ChainModifiers chainModifiers, ExecutionControl<CommandSourceStack> executionControl) void
ExecuteCommand.ExecuteIfFunctionCustomModifier.apply
(CommandSourceStack originalSource, List<CommandSourceStack> soruces, com.mojang.brigadier.context.ContextChain<CommandSourceStack> contextChain, ChainModifiers chainModifiers, ExecutionControl<CommandSourceStack> executionControl) void
ExecuteCommand.ExecuteIfFunctionCustomModifier.apply
(CommandSourceStack originalSource, List<CommandSourceStack> soruces, com.mojang.brigadier.context.ContextChain<CommandSourceStack> contextChain, ChainModifiers chainModifiers, ExecutionControl<CommandSourceStack> executionControl) protected abstract CompoundTag
FunctionCommand.FunctionCustomExecutor.arguments
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> CloneCommands.beginEndDestinationAndModeSuffix
(CommandBuildContext buildContext, CloneCommands.CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> levelGetter) private static int
ExecuteCommand.checkIfRegions
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, boolean isMasked) private static OptionalInt
ExecuteCommand.checkRegions
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, boolean isMasked) private static boolean
ExecuteCommand.checkScore
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, MinMaxBounds.Ints bounds) private static boolean
ExecuteCommand.checkScore
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> source, ExecuteCommand.IntBiPredicate predicate) private static int
ExecuteCommand.checkUnlessRegions
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, boolean isMasked) com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> LootCommand.TailProvider.construct
(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> builder, LootCommand.DropConsumer dropConsumer) private static com.mojang.brigadier.builder.LiteralArgumentBuilder
<CommandSourceStack> ExecuteCommand.createRelationOperations
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> node, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> argumentBuilder) private static com.mojang.brigadier.builder.LiteralArgumentBuilder
<CommandSourceStack> ExecuteCommand.createRelationOperations
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> node, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> argumentBuilder) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> CloneCommands.destinationAndModeSuffix
(CommandBuildContext buildContext, CloneCommands.CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> sourceLevelGetter, CloneCommands.CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> destinationLevelGetter) private static int
LootCommand.drop
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, Holder<LootTable> lootTable, LootParams params, LootCommand.DropConsumer dropConsumer) private static int
LootCommand.dropBlockLoot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, BlockPos pos, ItemStack tool, LootCommand.DropConsumer dropConsumer) private static int
LootCommand.dropChestLoot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, Holder<LootTable> lootTable, LootCommand.DropConsumer dropCOnsimer) private static int
LootCommand.dropFishingLoot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, Holder<LootTable> lootTable, BlockPos pos, ItemStack tool, LootCommand.DropConsumer dropConsumet) private static int
LootCommand.dropKillLoot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, Entity p_entity, LootCommand.DropConsumer dropConsumer) private static Collection
<CommandSourceStack> ExecuteCommand.expect
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, boolean actual, boolean expected) If actual and expected match, returns a collection containing only the source player.private static List
<AdvancementHolder> AdvancementCommands.getAdvancements
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, AdvancementHolder advancement, AdvancementCommands.Mode mode) static CustomBossEvent
BossBarCommands.getBossBar
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> source) private static CloneCommands.DimensionAndPosition
CloneCommands.getLoadedDimensionAndPosition
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, ServerLevel level, String name) private static Pack
DataPackCommand.getPack
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name, boolean enabling) static void
AdvancementCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
AttributeCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
BanIpCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
BanListCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
BanPlayerCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
BossBarCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
ChaseCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
ClearInventoryCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
CloneCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
DamageCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
DataPackCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
DebugCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
DebugConfigCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
DebugMobSpawningCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
DebugPathCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
DefaultGameModeCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
DeOpCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
DifficultyCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
EffectCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
EmoteCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
EnchantCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
ExecuteCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
ExperienceCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
FillBiomeCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
FillCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
ForceLoadCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
FunctionCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
GameModeCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
GameRuleCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
GiveCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
HelpCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
ItemCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
JfrCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
KickCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
KillCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
ListPlayersCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
LocateCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
LootCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
MsgCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
OpCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
PardonCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
PardonIpCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
ParticleCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
PerfCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
PlaceCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
PlaySoundCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
PublishCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
RaidCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
RandomCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
RecipeCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
ReloadCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
RideCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
SaveAllCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
SaveOffCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
SaveOnCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
SayCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
ScheduleCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
ScoreboardCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
SeedCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, boolean notIntegratedServer) static void
ServerPackCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
SetBlockCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
SetPlayerIdleTimeoutCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
SetSpawnCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
SetWorldSpawnCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
SpawnArmorTrimsCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
SpectateCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
SpreadPlayersCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
StopCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
StopSoundCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
SummonCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
TagCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
TeamCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
TeamMsgCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
TeleportCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
TellRawCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
TickCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
TimeCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
TitleCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
TransferCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
TriggerCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
WardenSpawnTrackerCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
WeatherCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
WhitelistCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
WorldBorderCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) int
ScoreboardCommand.NumberFormatCommandExecutor.run
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, NumberFormat format) void
DebugCommand.TraceCustomExecutor.runGuarded
(CommandSourceStack source, com.mojang.brigadier.context.ContextChain<CommandSourceStack> contextChain, ChainModifiers chainModifiers, ExecutionControl<CommandSourceStack> executionControl) void
DebugCommand.TraceCustomExecutor.runGuarded
(CommandSourceStack source, com.mojang.brigadier.context.ContextChain<CommandSourceStack> contextChain, ChainModifiers chainModifiers, ExecutionControl<CommandSourceStack> executionControl) void
FunctionCommand.FunctionCustomExecutor.runGuarded
(CommandSourceStack source, com.mojang.brigadier.context.ContextChain<CommandSourceStack> contextChain, ChainModifiers chainModifiers, ExecutionControl<CommandSourceStack> executionControl) void
FunctionCommand.FunctionCustomExecutor.runGuarded
(CommandSourceStack source, com.mojang.brigadier.context.ContextChain<CommandSourceStack> contextChain, ChainModifiers chainModifiers, ExecutionControl<CommandSourceStack> executionControl) private static int
ScheduleCommand.schedule
(CommandSourceStack source, com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> function, int time, boolean append) private static int
ScheduleCommand.schedule
(CommandSourceStack source, com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> function, int time, boolean append) private static int
GameModeCommand.setMode
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> source, Collection<ServerPlayer> players, GameType gameType) (package private) static <T extends GameRules.Value<T>>
intGameRuleCommand.setRule
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> source, GameRules.Key<T> gameRule) private static CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> RandomCommand.suggestRandomSequence
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder) int
ExecuteCommand.CommandNumericPredicate.test
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) boolean
ExecuteCommand.CommandPredicate.test
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> ExecuteCommand.wrapStores
(com.mojang.brigadier.tree.LiteralCommandNode<CommandSourceStack> parent, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> literal, boolean storingResult) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> ExecuteCommand.wrapStores
(com.mojang.brigadier.tree.LiteralCommandNode<CommandSourceStack> parent, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> literal, boolean storingResult) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> CloneCommands.wrapWithCloneMode
(CloneCommands.CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> beginGetter, CloneCommands.CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> endGetter, CloneCommands.CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> targetGetter, CloneCommands.CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> filterGetter, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> argumentBuilder) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> CloneCommands.wrapWithCloneMode
(CloneCommands.CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> beginGetter, CloneCommands.CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> endGetter, CloneCommands.CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> targetGetter, CloneCommands.CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> filterGetter, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> argumentBuilder) -
Uses of CommandSourceStack in net.minecraft.server.commands.data
Fields in net.minecraft.server.commands.data with type parameters of type CommandSourceStackModifier and TypeFieldDescription(package private) static final com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> StorageDataAccessor.SUGGEST_STORAGE
Methods in net.minecraft.server.commands.data that return types with arguments of type CommandSourceStackModifier and TypeMethodDescriptioncom.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> DataCommands.DataManipulatorDecorator.create
(DataCommands.DataManipulator dataManipulator) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> DataCommands.decorateModification
(BiConsumer<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, DataCommands.DataManipulatorDecorator> decorator) com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> DataCommands.DataProvider.wrap
(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> builder, Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>> action) Creates an argument used for accessing data related to this type of thing, including a literal to distinguish from other types.Methods in net.minecraft.server.commands.data with parameters of type CommandSourceStackModifier and TypeMethodDescriptionprivate static int
DataCommands.getData
(CommandSourceStack source, DataAccessor accessor) Gets all NBT on the object, and applies syntax highlighting.private static int
DataCommands.getData
(CommandSourceStack source, DataAccessor accessor, NbtPathArgument.NbtPath path) Gets a value, which can be of any known NBT type.private static int
DataCommands.getNumeric
(CommandSourceStack source, DataAccessor accessor, NbtPathArgument.NbtPath path, double scale) Gets a single numeric element, scaled by the given amount.private static int
DataCommands.mergeData
(CommandSourceStack source, DataAccessor accessor, CompoundTag nbt) Merges the given NBT into the targeted object's NBT.private static int
DataCommands.removeData
(CommandSourceStack source, DataAccessor accessor, NbtPathArgument.NbtPath path) Removes the tag at the end of the path.Method parameters in net.minecraft.server.commands.data with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionDataCommands.DataProvider.access
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) Creates an accessor based on the command context.private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> DataCommands.decorateModification
(BiConsumer<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, DataCommands.DataManipulatorDecorator> decorator) (package private) static CommandStorage
StorageDataAccessor.getGlobalTags
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) DataCommands.getSingletonSource
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, DataCommands.DataProvider dataProvider) private static int
DataCommands.manipulateData
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> source, DataCommands.DataProvider dataProvider, DataCommands.DataManipulator dataManipulator, List<Tag> tags) int
DataCommands.DataManipulator.modify
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, CompoundTag nbt, NbtPathArgument.NbtPath nbtPath, List<Tag> tags) static void
DataCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) DataCommands.resolveSourcePath
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, DataCommands.DataProvider dataProvider) com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> DataCommands.DataProvider.wrap
(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> builder, Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>> action) Creates an argument used for accessing data related to this type of thing, including a literal to distinguish from other types.com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> DataCommands.DataProvider.wrap
(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> builder, Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>> action) Creates an argument used for accessing data related to this type of thing, including a literal to distinguish from other types.com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> DataCommands.DataProvider.wrap
(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> builder, Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>> action) Creates an argument used for accessing data related to this type of thing, including a literal to distinguish from other types. -
Uses of CommandSourceStack in net.minecraft.server.dedicated
Methods in net.minecraft.server.dedicated with parameters of type CommandSourceStackModifier and TypeMethodDescriptionvoid
DedicatedServer.handleConsoleInput
(String msg, CommandSourceStack source) -
Uses of CommandSourceStack in net.minecraft.server.network
Methods in net.minecraft.server.network that return types with arguments of type CommandSourceStackModifier and TypeMethodDescriptionprivate com.mojang.brigadier.ParseResults
<CommandSourceStack> ServerGamePacketListenerImpl.parseCommand
(String command) -
Uses of CommandSourceStack in net.minecraft.server.players
Methods in net.minecraft.server.players with parameters of type CommandSourceStackModifier and TypeMethodDescriptionvoid
PlayerList.broadcastChatMessage
(PlayerChatMessage message, CommandSourceStack sender, ChatType.Bound boundChatType) -
Uses of CommandSourceStack in net.minecraft.server.rcon
Methods in net.minecraft.server.rcon that return CommandSourceStack -
Uses of CommandSourceStack in net.minecraft.world.entity
Methods in net.minecraft.world.entity that return CommandSourceStack -
Uses of CommandSourceStack in net.minecraft.world.entity.vehicle
Methods in net.minecraft.world.entity.vehicle that return CommandSourceStackModifier and TypeMethodDescriptionMinecartCommandBlock.MinecartCommandBase.createCommandSourceStack()
-
Uses of CommandSourceStack in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type CommandSourceStackModifier and TypeMethodDescriptionstatic boolean
WrittenBookItem.resolveBookComponents
(ItemStack bookStack, CommandSourceStack resolvingSource, Player resolvingPlayer) -
Uses of CommandSourceStack in net.minecraft.world.item.component
Methods in net.minecraft.world.item.component with parameters of type CommandSourceStackModifier and TypeMethodDescriptionWrittenBookContent.resolve
(CommandSourceStack source, Player player) private static Optional
<Filterable<Component>> WrittenBookContent.resolvePage
(CommandSourceStack source, Player player, Filterable<Component> pages) -
Uses of CommandSourceStack in net.minecraft.world.level
Methods in net.minecraft.world.level that return CommandSourceStackModifier and TypeMethodDescriptionabstract CommandSourceStack
BaseCommandBlock.createCommandSourceStack()
Methods in net.minecraft.world.level that return types with arguments of type CommandSourceStackModifier and TypeMethodDescriptioncom.mojang.brigadier.builder.RequiredArgumentBuilder
<CommandSourceStack, ?> GameRules.Type.createArgument
(String name) Method parameters in net.minecraft.world.level with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionvoid
GameRules.Value.setFromArgument
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String paramName) protected void
GameRules.BooleanValue.updateFromArgument
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String paramName) protected void
GameRules.IntegerValue.updateFromArgument
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String paramName) protected abstract void
GameRules.Value.updateFromArgument
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String paramName) -
Uses of CommandSourceStack in net.minecraft.world.level.block.entity
Methods in net.minecraft.world.level.block.entity that return CommandSourceStackModifier and TypeMethodDescriptionprivate CommandSourceStack
LecternBlockEntity.createCommandSourceStack
(Player player) Creates a CommandSourceStack for resolving the contents of a book.private static CommandSourceStack
SignBlockEntity.createCommandSourceStack
(Player player, Level level, BlockPos pos) -
Uses of CommandSourceStack in net.neoforged.neoforge.client
Subclasses of CommandSourceStack in net.neoforged.neoforge.clientModifier and TypeClassDescriptionclass
overrides forCommandSourceStack
so that the methods will run successfully client sideFields in net.neoforged.neoforge.client with type parameters of type CommandSourceStackModifier and TypeFieldDescriptionprivate static com.mojang.brigadier.CommandDispatcher
<CommandSourceStack> ClientCommandHandler.commands
Methods in net.neoforged.neoforge.client that return types with arguments of type CommandSourceStackModifier and TypeMethodDescriptionstatic com.mojang.brigadier.CommandDispatcher
<CommandSourceStack> ClientCommandHandler.getDispatcher()
-
Uses of CommandSourceStack in net.neoforged.neoforge.client.command
Methods in net.neoforged.neoforge.client.command that return types with arguments of type CommandSourceStackModifier and TypeMethodDescription(package private) static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> ClientConfigCommand.ShowFile.register()
Method parameters in net.neoforged.neoforge.client.command with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionstatic void
ClientConfigCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) private static int
ClientConfigCommand.ShowFile.showFile
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) -
Uses of CommandSourceStack in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event with type parameters of type CommandSourceStackModifier and TypeFieldDescriptionprivate final com.mojang.brigadier.CommandDispatcher
<CommandSourceStack> RegisterClientCommandsEvent.dispatcher
Methods in net.neoforged.neoforge.client.event that return types with arguments of type CommandSourceStackModifier and TypeMethodDescriptioncom.mojang.brigadier.CommandDispatcher
<CommandSourceStack> RegisterClientCommandsEvent.getDispatcher()
Returns the command dispatcher for registering commands to be executed on the client.Constructor parameters in net.neoforged.neoforge.client.event with type arguments of type CommandSourceStackModifierConstructorDescriptionRegisterClientCommandsEvent
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) -
Uses of CommandSourceStack in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return CommandSourceStack -
Uses of CommandSourceStack in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event with type parameters of type CommandSourceStackModifier and TypeFieldDescriptionprivate final com.mojang.brigadier.CommandDispatcher
<CommandSourceStack> RegisterCommandsEvent.dispatcher
private com.mojang.brigadier.ParseResults
<CommandSourceStack> CommandEvent.parse
Methods in net.neoforged.neoforge.event that return types with arguments of type CommandSourceStackModifier and TypeMethodDescriptioncom.mojang.brigadier.CommandDispatcher
<CommandSourceStack> RegisterCommandsEvent.getDispatcher()
Returns the command dispatcher for registering commands to be executed on the client.com.mojang.brigadier.ParseResults
<CommandSourceStack> CommandEvent.getParseResults()
Returns the parsed command results.Method parameters in net.neoforged.neoforge.event with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionstatic void
EventHooks.onCommandRegister
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, Commands.CommandSelection environment, CommandBuildContext context) void
CommandEvent.setParseResults
(com.mojang.brigadier.ParseResults<CommandSourceStack> parse) Constructor parameters in net.neoforged.neoforge.event with type arguments of type CommandSourceStackModifierConstructorDescriptionCommandEvent
(com.mojang.brigadier.ParseResults<CommandSourceStack> parse) RegisterCommandsEvent
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, Commands.CommandSelection environment, CommandBuildContext context) -
Uses of CommandSourceStack in net.neoforged.neoforge.server.command
Methods in net.neoforged.neoforge.server.command that return types with arguments of type CommandSourceStackModifier and TypeMethodDescription(package private) static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> ConfigCommand.ShowFile.register()
static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> DataComponentCommand.register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> DimensionsCommand.register()
static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> DumpCommand.register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> EntityCommand.EntityListCommand.register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> EntityCommand.register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> GenerateCommand.register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> ModListCommand.register()
static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> TagsCommand.register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> TimeSpeedCommand.register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> TPSCommand.register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> TrackCommand.register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> TrackCommand.ResetTrackingCommand.register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> TrackCommand.StartTrackingCommand.register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> TrackCommand.TrackResultsBlockEntity.register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> TrackCommand.TrackResultsEntity.register()
static <T extends Registry<?>>
com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> CommandUtils.suggestFromRegistry
(Function<Registry<?>, Iterable<ResourceLocation>> namesFunction, String argumentString, ResourceKey<Registry<T>> registryKey) Methods in net.neoforged.neoforge.server.command with parameters of type CommandSourceStackModifier and TypeMethodDescriptionprivate static GenerationTask.Listener
GenerateCommand.createPregenListener
(CommandSourceStack source) private static int
EntityCommand.EntityListCommand.execute
(CommandSourceStack sender, String filter, ResourceKey<Level> dim) private static <T> int
TrackCommand.TrackResults.execute
(CommandSourceStack source, TimeTracker<T> tracker, Function<ObjectTimings<T>, Component> toString) private static int
GenerateCommand.executeGeneration
(CommandSourceStack source, BlockPos pos, int chunkRadius, boolean progressBar) private static int
GenerateCommand.getGenerationHelp
(CommandSourceStack source) private static int
GenerateCommand.getGenerationStatus
(CommandSourceStack source) private static Component
TimeSpeedCommand.levelName
(CommandSourceStack source) private static int
TimeSpeedCommand.query
(CommandSourceStack source) private static int
TimeSpeedCommand.setDaylength
(CommandSourceStack source, int minutes) private static int
TimeSpeedCommand.setDefault
(CommandSourceStack source) private static int
TimeSpeedCommand.setSpeed
(CommandSourceStack source, float speed) private static int
GenerateCommand.stopGeneration
(CommandSourceStack source) Method parameters in net.neoforged.neoforge.server.command with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionprivate static int
DumpCommand.dumpRegistry
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, boolean alphabeticalSort, boolean printNumericIds) private static boolean
GenerateCommand.getBool
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String name) private static int
GenerateCommand.getInt
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String name) static <T> Optional
<ResourceKey<T>> CommandUtils.getResourceKey
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String name, ResourceKey<Registry<T>> registryKey) private static int
DataComponentCommand.listComponents
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx) private static int
TagsCommand.listTagElements
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, int page) private static int
TagsCommand.listTags
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, int page) private static int
TagsCommand.queryElementTags
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, int page) static void
ConfigCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static void
NeoForgeCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) private static int
TPSCommand.sendTime
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, @Nullable ServerLevel dimension) private static int
ConfigCommand.ShowFile.showFile
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) static CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> CommandUtils.suggestRegistries
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)