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_CONTEXTprivate final com.mojang.brigadier.CommandDispatcher<CommandSourceStack> Commands.dispatcherprivate Optional<CommandFunction<CommandSourceStack>> CacheableFunction.functionMethods 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 voidCommands.executeCommandInContext(CommandSourceStack source, Consumer<ExecutionContext<CommandSourceStack>> contextConsumer) private voidCommands.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) voidCommands.performPrefixedCommand(CommandSourceStack source, String command) Method parameters in net.minecraft.commands with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionstatic voidCommands.executeCommandInContext(CommandSourceStack source, Consumer<ExecutionContext<CommandSourceStack>> contextConsumer) private voidCommands.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 voidCommands.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) voidCommands.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_HOLDERSMethods 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) floatAngleArgument.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) ComponentMessageArgument.Message.resolveComponent(CommandSourceStack source) private static voidMessageArgument.resolveDisguisedMessage(Consumer<PlayerChatMessage> callback, CommandSourceStack source, PlayerChatMessage message) private static voidMessageArgument.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 AdvancementHolderResourceLocationArgument.getAdvancement(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static EntityAnchorArgument.AnchorEntityAnchorArgument.getAnchor(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static floatAngleArgument.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 ChatFormattingColorArgument.getColor(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static ComponentComponentArgument.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 ObjectiveCriteriaObjectiveCriteriaArgument.getCriteria(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static ServerLevelDimensionArgument.getDimension(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static DisplaySlotScoreboardSlotArgument.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 EntityEntityArgument.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 GameTypeGameModeArgument.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.TypesHeightmapTypeArgument.getHeightmap(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) static ResourceLocationResourceLocationArgument.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 ComponentMessageArgument.getMessage(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static MirrorTemplateMirrorArgument.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 ScoreHolderScoreHolderArgument.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 ObjectiveObjectiveArgument.getObjective(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static OperationArgument.OperationOperationArgument.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 ParticleOptionsParticleArgument.getParticle(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static NbtPathArgument.NbtPathNbtPathArgument.getPath(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static ServerPlayerEntityArgument.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.DoublesRangeArgument.Floats.getRange(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static MinMaxBounds.IntsRangeArgument.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 RotationTemplateRotationArgument.getRotation(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static intSlotArgument.getSlot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static SlotRangeSlotsArgument.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 StyleStyleArgument.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 PlayerTeamTeamArgument.getTeam(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static UUIDUuidArgument.getUuid(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static ObjectiveObjectiveArgument.getWritableObjective(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static voidMessageArgument.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 BlockInputBlockStateArgument.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 BlockPosCoordinates.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 BlockPosBlockPosArgument.getBlockPos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static ColumnPosColumnPosArgument.getColumnPos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static CoordinatesVec3Argument.getCoordinates(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static BlockPosBlockPosArgument.getLoadedBlockPos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static BlockPosBlockPosArgument.getLoadedBlockPos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, ServerLevel level, String name) static CoordinatesRotationArgument.getRotation(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static BlockPosBlockPosArgument.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 Vec2Vec2Argument.getVec2(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Vec3Vec3Argument.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.ResultItemPredicateArgument.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 voidEntitySelector.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_RECIPESstatic final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> SuggestionProviders.AVAILABLE_SOUNDSstatic 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 CommandSourceStackTestCommand.TestBatchSummaryDisplayer.sourceThe field for thesourcerecord component.private final CommandSourceStackTestFinder.sourceMethods in net.minecraft.gametest.framework that return CommandSourceStackModifier and TypeMethodDescriptionTestCommand.TestBatchSummaryDisplayer.source()Returns the value of thesourcerecord 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 TTestFinder.Builder.build(CommandSourceStack source, TestFunctionFinder testFunctionFinder, StructureBlockPosFinder structureBlockPosFinder) private static intTestCommand.createNewStructure(CommandSourceStack source, String structureName, int x, int y, int z) (package private) static BlockPosTestCommand.createTestPositionAround(CommandSourceStack source) private static intTestCommand.exportTestStructure(CommandSourceStack source, String structurePath) private static intTestCommand.importTestStructure(CommandSourceStack source, String structurePath) (package private) static intTestCommand.saveAndExportTestStructure(CommandSourceStack source, StructureBlockEntity structureBlockEntity) (package private) static voidTestCommand.say(CommandSourceStack source, String message) private static intTestCommand.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 intTestCommand.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 StringTestClassNameArgument.getTestClassName(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) static TestFunctionTestFunctionArgument.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 voidTestCommand.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 aTestBatchSummaryDisplayerrecord 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.BoundChatType.bind(ResourceKey<ChatType> chatTypeKey, CommandSourceStack source) default MutableComponentComponentContents.resolve(CommandSourceStack nbtPathPattern, Entity entity, int recursionDepth) private static StyleComponentUtils.resolveStyle(CommandSourceStack commandSourceStack, Style style, Entity entity, int recursionDepth) static Optional<MutableComponent> ComponentUtils.updateForEntity(CommandSourceStack commandSourceStack, Optional<Component> optionalComponent, Entity entity, int recursionDepth) static MutableComponentComponentUtils.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 ScoreHolderScoreContents.findTargetName(CommandSourceStack source) BlockDataSource.getData(CommandSourceStack source) DataSource.getData(CommandSourceStack source) EntityDataSource.getData(CommandSourceStack source) StorageDataSource.getData(CommandSourceStack source) private MutableComponentScoreContents.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.dispatcherprivate Map<ResourceLocation, CommandFunction<CommandSourceStack>> ServerFunctionLibrary.functionsServerFunctionLibrary.tagsprivate final TagLoader<CommandFunction<CommandSourceStack>> ServerFunctionLibrary.tagsLoaderprivate List<CommandFunction<CommandSourceStack>> ServerFunctionManager.tickingstatic final ResourceKey<Registry<CommandFunction<CommandSourceStack>>> ServerFunctionLibrary.TYPE_KEYMethods 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 TypeMethodDescriptionvoidServerFunctionManager.execute(CommandFunction<CommandSourceStack> function, CommandSourceStack source) voidMinecraftServer.kickUnlistedPlayers(CommandSourceStack commandSource) Method parameters in net.minecraft.server with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionvoidServerFunctionManager.execute(CommandFunction<CommandSourceStack> function, CommandSourceStack source) private voidServerFunctionManager.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_CALLBACKSprivate static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> DataPackCommand.SELECTED_PACKSprivate static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> AdvancementCommands.SUGGEST_ADVANCEMENTSstatic final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> BossBarCommands.SUGGEST_BOSS_BARstatic final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> FunctionCommand.SUGGEST_FUNCTIONstatic final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> LootCommand.SUGGEST_LOOT_TABLEprivate static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> ItemCommands.SUGGEST_MODIFIERprivate static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> ExecuteCommand.SUGGEST_PREDICATEprivate static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> ScheduleCommand.SUGGEST_SCHEDULEprivate static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> PlaceCommand.SUGGEST_TEMPLATESprivate static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> DataPackCommand.UNSELECTED_PACKSMethods 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 CommandSourceStackFunctionCommand.modifySenderForExecution(CommandSourceStack source) private static CommandSourceStackExecuteCommand.spawnEntityAndRedirect(CommandSourceStack source, Holder.Reference<EntityType<?>> entityType) private static CommandSourceStackExecuteCommand.storeData(CommandSourceStack source, DataAccessor accessor, NbtPathArgument.NbtPath path, IntFunction<Tag> tagConverter, boolean storingResult) private static CommandSourceStackExecuteCommand.storeValue(CommandSourceStack source, Collection<ScoreHolder> targets, Objective objective, boolean storingResult) private static CommandSourceStackExecuteCommand.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 intExperienceCommand.addExperience(CommandSourceStack source, Collection<? extends ServerPlayer> targets, int amount, ExperienceCommand.Type type) private static intAttributeCommand.addModifier(CommandSourceStack source, Entity entity, Holder<Attribute> attribute, ResourceLocation id, double amount, AttributeModifier.Operation operation) private static intScoreboardCommand.addObjective(CommandSourceStack source, String name, ObjectiveCriteria criteria, Component displayName) private static intWhitelistCommand.addPlayers(CommandSourceStack source, Collection<com.mojang.authlib.GameProfile> players) private static intScoreboardCommand.addScore(CommandSourceStack source, Collection<ScoreHolder> targets, Objective objective, int amount) private static intTagCommand.addTag(CommandSourceStack source, Collection<? extends Entity> entities, String tagName) static intTimeCommand.addTime(CommandSourceStack source, int amount) private static intTriggerCommand.addValue(CommandSourceStack source, ServerPlayer player, Objective objective, int value) private static booleanChaseCommand.alreadyRunning(CommandSourceStack source) voidExecuteCommand.ExecuteIfFunctionCustomModifier.apply(CommandSourceStack originalSource, List<CommandSourceStack> soruces, com.mojang.brigadier.context.ContextChain<CommandSourceStack> contextChain, ChainModifiers chainModifiers, ExecutionControl<CommandSourceStack> executionControl) private static ItemStackItemCommands.applyModifier(CommandSourceStack source, Holder<LootItemFunction> modifier, ItemStack stack) private static intBanIpCommands.banIp(CommandSourceStack source, String ip, Component reason) private static intBanIpCommands.banIpOrName(CommandSourceStack source, String username, Component reason) private static intBanPlayerCommands.banPlayers(CommandSourceStack source, Collection<com.mojang.authlib.GameProfile> gameProfiles, Component reason) private static intLootCommand.blockDistribute(CommandSourceStack source, BlockPos pos, List<ItemStack> items, LootCommand.Callback callback) private static intLootCommand.blockReplace(CommandSourceStack source, BlockPos pos, int slot, int numSlots, List<ItemStack> items, LootCommand.Callback callback) private static intItemCommands.blockToBlock(CommandSourceStack source, BlockPos sourcePos, int sourceSlot, BlockPos pos, int slot) private static intItemCommands.blockToBlock(CommandSourceStack source, BlockPos sourcePos, int sourceSlot, BlockPos pos, int slot, Holder<LootItemFunction> modifier) private static intItemCommands.blockToEntities(CommandSourceStack source, BlockPos pos, int sourceSlot, Collection<? extends Entity> targets, int slot) private static intItemCommands.blockToEntities(CommandSourceStack source, BlockPos pos, int sourceSlot, Collection<? extends Entity> targets, int slot, Holder<LootItemFunction> modifier) private static voidLootCommand.callback(CommandSourceStack source, List<ItemStack> items) private static voidLootCommand.callback(CommandSourceStack source, List<ItemStack> items, ResourceKey<LootTable> lootTable) private static intForceLoadCommand.changeForceLoad(CommandSourceStack source, ColumnPos from, ColumnPos to, boolean add) private static intRaidCommand.check(CommandSourceStack source) private static booleanExecuteCommand.checkCustomPredicate(CommandSourceStack source, Holder<LootItemCondition> condition) private static intScoreboardCommand.clearDisplaySlot(CommandSourceStack source, DisplaySlot slot) private static intEffectCommands.clearEffect(CommandSourceStack source, Collection<? extends Entity> targets, Holder<MobEffect> effect) private static intEffectCommands.clearEffects(CommandSourceStack source, Collection<? extends Entity> targets) private static intClearInventoryCommands.clearInventory(CommandSourceStack source, Collection<ServerPlayer> targetPlayers, Predicate<ItemStack> itemPredicate, int maxCount) private static intTitleCommand.clearTitle(CommandSourceStack source, Collection<ServerPlayer> targets) private static intClearInventoryCommands.clearUnlimited(CommandSourceStack source, Collection<ServerPlayer> targets, Predicate<ItemStack> filter) private static intCloneCommands.clone(CommandSourceStack source, CloneCommands.DimensionAndPosition begin, CloneCommands.DimensionAndPosition end, CloneCommands.DimensionAndPosition target, Predicate<BlockInWorld> filter, CloneCommands.Mode mode) private static intDebugConfigCommand.config(CommandSourceStack source, ServerPlayer target) private static intExecuteCommand.countItems(CommandSourceStack source, BlockPos pos, SlotRange slotRange, Predicate<ItemStack> filter) private static intBossBarCommands.createBar(CommandSourceStack source, ResourceLocation id, Component displayName) static EntitySummonCommand.createEntity(CommandSourceStack source, Holder.Reference<EntityType<?>> type, Vec3 pos, CompoundTag tag, boolean randomizeProperties) private static intTeamCommand.createTeam(CommandSourceStack source, String name) private static intTeamCommand.createTeam(CommandSourceStack source, String name, Component displayName) private static intDamageCommand.damage(CommandSourceStack source, Entity target, float amount, DamageSource damageType) private static intTeamCommand.deleteTeam(CommandSourceStack source, PlayerTeam team) private static intDeOpCommands.deopPlayers(CommandSourceStack source, Collection<com.mojang.authlib.GameProfile> players) private static intDataPackCommand.disablePack(CommandSourceStack source, Pack pack) Disables the given pack.private static intWhitelistCommand.disableWhitelist(CommandSourceStack source) private static intRideCommand.dismount(CommandSourceStack source, Entity target) private static intLootCommand.dropInWorld(CommandSourceStack source, Vec3 pos, List<ItemStack> items, LootCommand.Callback callback) private static intTeamCommand.emptyTeam(CommandSourceStack source, PlayerTeam team) private static intDataPackCommand.enablePack(CommandSourceStack source, Pack pack, DataPackCommand.Inserter priorityCallback) Enables the given pack.private static intScoreboardCommand.enableTrigger(CommandSourceStack source, Collection<ScoreHolder> targets, Objective objective) private static intWhitelistCommand.enableWhitelist(CommandSourceStack source) private static intEnchantCommand.enchant(CommandSourceStack source, Collection<? extends Entity> targets, Holder<Enchantment> p_enchantment, int level) private static intItemCommands.entityToBlock(CommandSourceStack source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot) private static intItemCommands.entityToBlock(CommandSourceStack source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot, Holder<LootItemFunction> modifier) private static intItemCommands.entityToEntities(CommandSourceStack source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targets, int slot) private static intItemCommands.entityToEntities(CommandSourceStack source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targets, int slot, Holder<LootItemFunction> modifier) private static intFillBiomeCommand.fill(CommandSourceStack source, BlockPos from, BlockPos to, Holder.Reference<Biome> biome, Predicate<Holder<Biome>> filter) private static intDebugPathCommand.fillBlocks(CommandSourceStack stack, BlockPos pos) private static intFillCommand.fillBlocks(CommandSourceStack source, BoundingBox area, BlockInput newBlock, FillCommand.Mode mode, Predicate<BlockInWorld> replacingPredicate) private static intChaseCommand.follow(CommandSourceStack source, String host, int port) private static intListPlayersCommand.format(CommandSourceStack source, Function<ServerPlayer, Component> nameExtractor) private static intAttributeCommand.getAttributeBase(CommandSourceStack source, Entity entity, Holder<Attribute> attribute, double scale) private static intAttributeCommand.getAttributeModifier(CommandSourceStack source, Entity entity, Holder<Attribute> attribute, ResourceLocation id, double scale) private static intAttributeCommand.getAttributeValue(CommandSourceStack source, Entity entity, Holder<Attribute> attribute, double scale) private static ItemStackItemCommands.getBlockItem(CommandSourceStack source, BlockPos pos, int slot) (package private) static ContainerItemCommands.getContainer(CommandSourceStack source, BlockPos pos, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType exception) private static ContainerLootCommand.getContainer(CommandSourceStack source, BlockPos pos) private static intWeatherCommand.getDuration(CommandSourceStack source, int time, IntProvider timeProvider) private static intBossBarCommands.getMax(CommandSourceStack source, CustomBossEvent bossbar) private static intBossBarCommands.getPlayers(CommandSourceStack source, CustomBossEvent bossbar) private static intScoreboardCommand.getScore(CommandSourceStack source, ScoreHolder scoreHolder, Objective objective) private static intWorldBorderCommand.getSize(CommandSourceStack source) private static ItemStackLootCommand.getSourceHandItem(CommandSourceStack source, EquipmentSlot slot) private static intBossBarCommands.getValue(CommandSourceStack source, CustomBossEvent bossbar) private static intBossBarCommands.getVisible(CommandSourceStack source, CustomBossEvent bossbar) private static intEffectCommands.giveEffect(CommandSourceStack source, Collection<? extends Entity> targets, Holder<MobEffect> effect, Integer seconds, int amplifier, boolean showParticles) private static intGiveCommand.giveItem(CommandSourceStack source, ItemInput item, Collection<ServerPlayer> targets, int count) private static intRecipeCommand.giveRecipes(CommandSourceStack source, Collection<ServerPlayer> targets, Collection<RecipeHolder<?>> recipes) private static intRaidCommand.glow(CommandSourceStack source) private static intTeamCommand.joinTeam(CommandSourceStack source, PlayerTeam team, Collection<ScoreHolder> players) private static intKickCommand.kickPlayers(CommandSourceStack source, Collection<ServerPlayer> players, Component reason) private static intKillCommand.kill(CommandSourceStack source, Collection<? extends Entity> targets) private static intChaseCommand.lead(CommandSourceStack source, String bindAddress, int port) private static intTeamCommand.leaveTeam(CommandSourceStack source, Collection<ScoreHolder> players) Removes the listed players from their teams.private static intDataPackCommand.listAvailablePacks(CommandSourceStack source) Sends a list of available packs to the user.private static intBossBarCommands.listBars(CommandSourceStack source) private static intDataPackCommand.listEnabledPacks(CommandSourceStack source) Sends a list of enabled packs to the user.private static intForceLoadCommand.listForceLoad(CommandSourceStack source) private static intTeamCommand.listMembers(CommandSourceStack source, PlayerTeam team) private static intScoreboardCommand.listObjectives(CommandSourceStack source) private static intDataPackCommand.listPacks(CommandSourceStack source) Sends a list of both enabled and available packs to the user.private static intListPlayersCommand.listPlayers(CommandSourceStack source) private static intListPlayersCommand.listPlayersWithUuids(CommandSourceStack source) private static intTagCommand.listTags(CommandSourceStack source, Collection<? extends Entity> entities) private static intTeamCommand.listTeams(CommandSourceStack source) private static intScoreboardCommand.listTrackedPlayers(CommandSourceStack source) private static intScoreboardCommand.listTrackedPlayerScores(CommandSourceStack source, ScoreHolder score) private static intLocateCommand.locateBiome(CommandSourceStack source, ResourceOrTagArgument.Result<Biome> biome) private static intLocateCommand.locatePoi(CommandSourceStack source, ResourceOrTagArgument.Result<PoiType> poiType) private static intLocateCommand.locateStructure(CommandSourceStack source, ResourceOrTagKeyArgument.Result<Structure> structure) private static voidGameModeCommand.logGamemodeChange(CommandSourceStack source, ServerPlayer player, GameType gameType) private static intItemCommands.modifyBlockItem(CommandSourceStack source, BlockPos pos, int slot, Holder<LootItemFunction> modifier) private static intItemCommands.modifyEntityItem(CommandSourceStack source, Collection<? extends Entity> targets, int sourceSlot, Holder<LootItemFunction> modifer) static CommandSourceStackFunctionCommand.modifySenderForExecution(CommandSourceStack source) private static intRideCommand.mount(CommandSourceStack source, Entity target, Entity vehicle) private static intOpCommand.opPlayers(CommandSourceStack source, Collection<com.mojang.authlib.GameProfile> gameProfiles) private static intPardonCommand.pardonPlayers(CommandSourceStack source, Collection<com.mojang.authlib.GameProfile> gameProfiles) private static intAdvancementCommands.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.voidTeleportCommand.LookAt.perform(CommandSourceStack source, Entity entity) voidTeleportCommand.LookAtEntity.perform(CommandSourceStack p_326864_, Entity p_326807_) voidTeleportCommand.LookAtPosition.perform(CommandSourceStack p_326870_, Entity p_326894_) private static intAdvancementCommands.performCriterion(CommandSourceStack source, Collection<ServerPlayer> targets, AdvancementCommands.Action action, AdvancementHolder p_advancement, String criterionName) private static intScoreboardCommand.performOperation(CommandSourceStack source, Collection<ScoreHolder> targets, Objective targetObjectives, OperationArgument.Operation operation, Collection<ScoreHolder> sourceEntities, Objective sourceObjective) private static voidTeleportCommand.performTeleport(CommandSourceStack source, Entity entity, ServerLevel level, double x, double y, double z, Set<RelativeMovement> relativeList, float yaw, float pitch, TeleportCommand.LookAt facing) static intPlaceCommand.placeFeature(CommandSourceStack source, Holder.Reference<ConfiguredFeature<?, ?>> feature, BlockPos pos) static intPlaceCommand.placeJigsaw(CommandSourceStack source, Holder<StructureTemplatePool> templatePool, ResourceLocation target, int maxDepth, BlockPos pos) static intPlaceCommand.placeStructure(CommandSourceStack source, Holder.Reference<Structure> p_structure, BlockPos pos) static intPlaceCommand.placeTemplate(CommandSourceStack source, ResourceLocation template, BlockPos pos, Rotation rotation, Mirror mirror, float integrity, int seed) private static intPlaySoundCommand.playSound(CommandSourceStack source, Collection<ServerPlayer> targets, ResourceLocation sound, SoundSource category, Vec3 pos, float volume, float pitch, float minVolume) private static intRaidCommand.playSound(CommandSourceStack source, Component type) private static intServerPackCommand.popPack(CommandSourceStack source, UUID uuid) private static intPublishCommand.publish(CommandSourceStack source, int port, boolean cheats, GameType gameMode) private static intServerPackCommand.pushPack(CommandSourceStack source, String url, Optional<UUID> p_uuid, Optional<String> hash) private static intExperienceCommand.queryExperience(CommandSourceStack source, ServerPlayer player, ExperienceCommand.Type type) private static intForceLoadCommand.queryForceLoad(CommandSourceStack source, ColumnPos pos) (package private) static <T extends GameRules.Value<T>>
intGameRuleCommand.queryRule(CommandSourceStack source, GameRules.Key<T> gameRule) private static intTimeCommand.queryTime(CommandSourceStack source, int time) private static intRandomCommand.randomSample(CommandSourceStack source, MinMaxBounds.Ints range, ResourceLocation sequence, boolean displayResult) private static intWhitelistCommand.reload(CommandSourceStack source) static voidReloadCommand.reloadPacks(Collection<String> selectedIds, CommandSourceStack source) private static intScheduleCommand.remove(CommandSourceStack source, String function) private static intForceLoadCommand.removeAll(CommandSourceStack source) private static intBossBarCommands.removeBar(CommandSourceStack source, CustomBossEvent bossbar) private static intAttributeCommand.removeModifier(CommandSourceStack source, Entity entity, Holder<Attribute> attribute, ResourceLocation id) private static intScoreboardCommand.removeObjective(CommandSourceStack source, Objective objective) private static intWhitelistCommand.removePlayers(CommandSourceStack source, Collection<com.mojang.authlib.GameProfile> players) private static intScoreboardCommand.removeScore(CommandSourceStack source, Collection<ScoreHolder> targets, Objective objective, int amount) private static intTagCommand.removeTag(CommandSourceStack source, Collection<? extends Entity> entities, String tagName) private static intRandomCommand.resetAllSequences(CommandSourceStack source) private static intRandomCommand.resetAllSequencesAndSetNewDefaults(CommandSourceStack source, int seed, boolean includeWorldSeed, boolean includeSequenceId) private static intScoreboardCommand.resetScore(CommandSourceStack source, Collection<ScoreHolder> targets, Objective objective) private static intScoreboardCommand.resetScores(CommandSourceStack source, Collection<ScoreHolder> targets) private static intRandomCommand.resetSequence(CommandSourceStack source, ResourceLocation sequence) private static intRandomCommand.resetSequence(CommandSourceStack source, ResourceLocation sequence, int seed, boolean includeWorldSeed, boolean includeSequenceId) private static intTitleCommand.resetTitle(CommandSourceStack source, Collection<ServerPlayer> targets) private static intWardenSpawnTrackerCommand.resetTracker(CommandSourceStack source, Collection<? extends Player> targets) voidDebugCommand.TraceCustomExecutor.runGuarded(CommandSourceStack source, com.mojang.brigadier.context.ContextChain<CommandSourceStack> contextChain, ChainModifiers chainModifiers, ExecutionControl<CommandSourceStack> executionControl) voidFunctionCommand.FunctionCustomExecutor.runGuarded(CommandSourceStack source, com.mojang.brigadier.context.ContextChain<CommandSourceStack> contextChain, ChainModifiers chainModifiers, ExecutionControl<CommandSourceStack> executionControl) private static intSaveAllCommand.saveAll(CommandSourceStack source, boolean flush) private static voidPerfCommand.saveResults(CommandSourceStack source, Path path, MinecraftServer server) private static intScheduleCommand.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 voidMsgCommand.sendMessage(CommandSourceStack source, Collection<ServerPlayer> targets, PlayerChatMessage message) private static voidTeamMsgCommand.sendMessage(CommandSourceStack source, Entity sender, PlayerTeam team, List<ServerPlayer> teamMembers, PlayerChatMessage chatMessage) private static intParticleCommand.sendParticles(CommandSourceStack source, ParticleOptions particleData, Vec3 pos, Vec3 delta, float speed, int count, boolean force, Collection<ServerPlayer> viewers) private static voidServerPackCommand.sendToAllConnections(CommandSourceStack source, Packet<?> packet) private static intAttributeCommand.setAttributeBase(CommandSourceStack source, Entity entity, Holder<Attribute> attribute, double value) private static intSetBlockCommand.setBlock(CommandSourceStack source, BlockPos pos, BlockInput state, SetBlockCommand.Mode mode, Predicate<BlockInWorld> predicate) private static intItemCommands.setBlockItem(CommandSourceStack source, BlockPos pos, int slot, ItemStack item) private static intWorldBorderCommand.setCenter(CommandSourceStack source, Vec2 pos) private static intWeatherCommand.setClear(CommandSourceStack source, int time) private static intTeamCommand.setCollision(CommandSourceStack source, PlayerTeam team, Team.CollisionRule rule) private static intBossBarCommands.setColor(CommandSourceStack source, CustomBossEvent bossbar, BossEvent.BossBarColor color) private static intTeamCommand.setColor(CommandSourceStack source, PlayerTeam team, ChatFormatting value) private static intWorldBorderCommand.setDamageAmount(CommandSourceStack source, float damagePerBlock) private static intWorldBorderCommand.setDamageBuffer(CommandSourceStack source, float distance) private static intTeamCommand.setDeathMessageVisibility(CommandSourceStack source, PlayerTeam team, Team.Visibility visibility) static intDifficultyCommand.setDifficulty(CommandSourceStack source, Difficulty difficulty) private static intScoreboardCommand.setDisplayAutoUpdate(CommandSourceStack source, Objective objective, boolean displayAutoUpdate) private static intScoreboardCommand.setDisplayName(CommandSourceStack source, Objective objective, Component displayName) private static intTeamCommand.setDisplayName(CommandSourceStack source, PlayerTeam team, Component value) private static intScoreboardCommand.setDisplaySlot(CommandSourceStack source, DisplaySlot slot, Objective objective) private static intItemCommands.setEntityItem(CommandSourceStack source, Collection<? extends Entity> targets, int slot, ItemStack item) private static intExperienceCommand.setExperience(CommandSourceStack source, Collection<? extends ServerPlayer> targets, int amount, ExperienceCommand.Type type) private static intTickCommand.setFreeze(CommandSourceStack source, boolean frozen) private static intTeamCommand.setFriendlyFire(CommandSourceStack source, PlayerTeam team, boolean value) private static intTeamCommand.setFriendlySight(CommandSourceStack source, PlayerTeam team, boolean value) private static intSetPlayerIdleTimeoutCommand.setIdleTimeout(CommandSourceStack source, int idleTimeout) private static intBossBarCommands.setMax(CommandSourceStack source, CustomBossEvent bossbar, int max) private static intDefaultGameModeCommands.setMode(CommandSourceStack commandSource, GameType gamemode) Sets theGameTypeof the player who ran the command.private static intBossBarCommands.setName(CommandSourceStack source, CustomBossEvent bossbar, Component name) private static intTeamCommand.setNametagVisibility(CommandSourceStack source, PlayerTeam team, Team.Visibility visibility) private static intScoreboardCommand.setObjectiveFormat(CommandSourceStack source, Objective objective, NumberFormat format) private static intBossBarCommands.setPlayers(CommandSourceStack source, CustomBossEvent bossbar, Collection<ServerPlayer> players) private static intTeamCommand.setPrefix(CommandSourceStack source, PlayerTeam team, Component prefix) private static intRaidCommand.setRaidOmenLevel(CommandSourceStack source, int level) private static intWeatherCommand.setRain(CommandSourceStack source, int time) private static intScoreboardCommand.setRenderType(CommandSourceStack source, Objective objective, ObjectiveCriteria.RenderType renderType) private static intScoreboardCommand.setScore(CommandSourceStack source, Collection<ScoreHolder> targets, Objective objective, int newValue) private static intScoreboardCommand.setScoreDisplay(CommandSourceStack source, Collection<ScoreHolder> targets, Objective objective, Component displayName) private static intScoreboardCommand.setScoreNumberFormat(CommandSourceStack source, Collection<ScoreHolder> targets, Objective objective, NumberFormat numberFormat) private static intWorldBorderCommand.setSize(CommandSourceStack source, double newSize, long time) private static intSetSpawnCommand.setSpawn(CommandSourceStack source, Collection<ServerPlayer> targets, BlockPos pos, float angle) private static intSetWorldSpawnCommand.setSpawn(CommandSourceStack source, BlockPos pos, float angle) private static intBossBarCommands.setStyle(CommandSourceStack source, CustomBossEvent bossbar, BossEvent.BossBarOverlay style) private static intTeamCommand.setSuffix(CommandSourceStack source, PlayerTeam team, Component suffix) private static intWeatherCommand.setThunder(CommandSourceStack source, int time) private static intTickCommand.setTickingRate(CommandSourceStack source, float tickRate) static intTimeCommand.setTime(CommandSourceStack source, int time) private static intTitleCommand.setTimes(CommandSourceStack source, Collection<ServerPlayer> target, int fade, int stay, int fadeOut) private static intBossBarCommands.setValue(CommandSourceStack source, CustomBossEvent bossbar, int value) private static intTriggerCommand.setValue(CommandSourceStack source, ServerPlayer player, Objective objective, int value) private static intBossBarCommands.setVisible(CommandSourceStack source, CustomBossEvent bossbar, boolean visible) private static intWorldBorderCommand.setWarningDistance(CommandSourceStack source, int distance) private static intWardenSpawnTrackerCommand.setWarningLevel(CommandSourceStack source, Collection<? extends Player> targets, int warningLevel) private static intWorldBorderCommand.setWarningTime(CommandSourceStack source, int time) private static intBanListCommands.showList(CommandSourceStack source, Collection<? extends BanListEntry<?>> bannedPlayerList) private static intWhitelistCommand.showList(CommandSourceStack source) static intLocateCommand.showLocateResult(CommandSourceStack source, ResourceOrTagArgument.Result<?> result, BlockPos sourcePosition, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> resultWithPosition, String translationKey, boolean absoluteY, Duration duration) static intLocateCommand.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 intLocateCommand.showLocateResult(CommandSourceStack source, BlockPos sourcePosition, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> resultWithoutPosition, String translationKey, boolean absoluteY, String elementName, Duration duration) private static intTitleCommand.showTitle(CommandSourceStack source, Collection<ServerPlayer> targets, Component title, String titleType, Function<Component, Packet<?>> packetGetter) private static intTriggerCommand.simpleTrigger(CommandSourceStack source, ServerPlayer player, Objective objective) private static intSpawnArmorTrimsCommand.spawnArmorTrims(CommandSourceStack source, Player player) private static intSummonCommand.spawnEntity(CommandSourceStack source, Holder.Reference<EntityType<?>> type, Vec3 pos, CompoundTag tag, boolean randomizeProperties) private static CommandSourceStackExecuteCommand.spawnEntityAndRedirect(CommandSourceStack source, Holder.Reference<EntityType<?>> entityType) private static intRaidCommand.spawnLeader(CommandSourceStack source) private static intDebugMobSpawningCommand.spawnMobs(CommandSourceStack source, MobCategory mobCategory, BlockPos pos) private static intSpectateCommand.spectate(CommandSourceStack source, Entity target, ServerPlayer player) private static intSpreadPlayersCommand.spreadPlayers(CommandSourceStack source, Vec2 center, float spreadDistance, float maxRange, int maxHeight, boolean respectTeams, Collection<? extends Entity> targets) private static intTickCommand.sprint(CommandSourceStack source, int sprintTime) private static intDebugCommand.start(CommandSourceStack source) private static intRaidCommand.start(CommandSourceStack source, int badOmenLevel) private static intJfrCommand.startJfr(CommandSourceStack source) private static intPerfCommand.startProfilingDedicatedServer(CommandSourceStack source) private static intTickCommand.step(CommandSourceStack source, int ticks) private static intChaseCommand.stop(CommandSourceStack source) private static intDebugCommand.stop(CommandSourceStack source) private static intRaidCommand.stop(CommandSourceStack source) private static intJfrCommand.stopJfr(CommandSourceStack source) private static intPerfCommand.stopProfilingDedicatedServer(CommandSourceStack source) private static intStopSoundCommand.stopSound(CommandSourceStack source, Collection<ServerPlayer> targets, SoundSource category, ResourceLocation sound) private static intTickCommand.stopSprinting(CommandSourceStack source) private static intTickCommand.stopStepping(CommandSourceStack source) private static CommandSourceStackExecuteCommand.storeData(CommandSourceStack source, DataAccessor accessor, NbtPathArgument.NbtPath path, IntFunction<Tag> tagConverter, boolean storingResult) private static CommandSourceStackExecuteCommand.storeValue(CommandSourceStack source, Collection<ScoreHolder> targets, Objective objective, boolean storingResult) private static CommandSourceStackExecuteCommand.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 intRecipeCommand.takeRecipes(CommandSourceStack source, Collection<ServerPlayer> targets, Collection<RecipeHolder<?>> recipes) private static intTeleportCommand.teleportToEntity(CommandSourceStack source, Collection<? extends Entity> targets, Entity destination) private static intTeleportCommand.teleportToPos(CommandSourceStack source, Collection<? extends Entity> targets, ServerLevel level, Coordinates position, Coordinates rotation, TeleportCommand.LookAt facing) private static intTickCommand.tickQuery(CommandSourceStack source) private static intTransferCommand.transfer(CommandSourceStack source, String hostname, int port, Collection<ServerPlayer> players) private static intPardonIpCommand.unban(CommandSourceStack source, String ipAddress) private static intDebugConfigCommand.unconfig(CommandSourceStack source, UUID target) private static voidPerfCommand.whenStopped(CommandSourceStack source, ProfileResults results) Method parameters in net.minecraft.server.commands with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionintLootCommand.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) voidExecuteCommand.ExecuteIfFunctionCustomModifier.apply(CommandSourceStack originalSource, List<CommandSourceStack> soruces, com.mojang.brigadier.context.ContextChain<CommandSourceStack> contextChain, ChainModifiers chainModifiers, ExecutionControl<CommandSourceStack> executionControl) voidExecuteCommand.ExecuteIfFunctionCustomModifier.apply(CommandSourceStack originalSource, List<CommandSourceStack> soruces, com.mojang.brigadier.context.ContextChain<CommandSourceStack> contextChain, ChainModifiers chainModifiers, ExecutionControl<CommandSourceStack> executionControl) voidExecuteCommand.ExecuteIfFunctionCustomModifier.apply(CommandSourceStack originalSource, List<CommandSourceStack> soruces, com.mojang.brigadier.context.ContextChain<CommandSourceStack> contextChain, ChainModifiers chainModifiers, ExecutionControl<CommandSourceStack> executionControl) protected abstract CompoundTagFunctionCommand.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 intExecuteCommand.checkIfRegions(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, boolean isMasked) private static OptionalIntExecuteCommand.checkRegions(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, boolean isMasked) private static booleanExecuteCommand.checkScore(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, MinMaxBounds.Ints bounds) private static booleanExecuteCommand.checkScore(com.mojang.brigadier.context.CommandContext<CommandSourceStack> source, ExecuteCommand.IntBiPredicate predicate) private static intExecuteCommand.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 intLootCommand.drop(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, Holder<LootTable> lootTable, LootParams params, LootCommand.DropConsumer dropConsumer) private static intLootCommand.dropBlockLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, BlockPos pos, ItemStack tool, LootCommand.DropConsumer dropConsumer) private static intLootCommand.dropChestLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, Holder<LootTable> lootTable, LootCommand.DropConsumer dropCOnsimer) private static intLootCommand.dropFishingLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, Holder<LootTable> lootTable, BlockPos pos, ItemStack tool, LootCommand.DropConsumer dropConsumet) private static intLootCommand.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 CustomBossEventBossBarCommands.getBossBar(com.mojang.brigadier.context.CommandContext<CommandSourceStack> source) private static CloneCommands.DimensionAndPositionCloneCommands.getLoadedDimensionAndPosition(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, ServerLevel level, String name) private static PackDataPackCommand.getPack(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name, boolean enabling) static voidAdvancementCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidAttributeCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidBanIpCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidBanListCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidBanPlayerCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidBossBarCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidChaseCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidClearInventoryCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidCloneCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidDamageCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidDataPackCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidDebugCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidDebugConfigCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidDebugMobSpawningCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidDebugPathCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidDefaultGameModeCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidDeOpCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidDifficultyCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidEffectCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidEmoteCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidEnchantCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidExecuteCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidExperienceCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidFillBiomeCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidFillCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidForceLoadCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidFunctionCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidGameModeCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidGameRuleCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidGiveCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidHelpCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidItemCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidJfrCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidKickCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidKillCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidListPlayersCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidLocateCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidLootCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidMsgCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidOpCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidPardonCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidPardonIpCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidParticleCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidPerfCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidPlaceCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidPlaySoundCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidPublishCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidRaidCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidRandomCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidRecipeCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidReloadCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidRideCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidSaveAllCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidSaveOffCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidSaveOnCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidSayCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidScheduleCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidScoreboardCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidSeedCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, boolean notIntegratedServer) static voidServerPackCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidSetBlockCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidSetPlayerIdleTimeoutCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidSetSpawnCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidSetWorldSpawnCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidSpawnArmorTrimsCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidSpectateCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidSpreadPlayersCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidStopCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidStopSoundCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidSummonCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidTagCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidTeamCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidTeamMsgCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidTeleportCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidTellRawCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidTickCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidTimeCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidTitleCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidTransferCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidTriggerCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidWardenSpawnTrackerCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidWeatherCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidWhitelistCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidWorldBorderCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) intScoreboardCommand.NumberFormatCommandExecutor.run(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, NumberFormat format) voidDebugCommand.TraceCustomExecutor.runGuarded(CommandSourceStack source, com.mojang.brigadier.context.ContextChain<CommandSourceStack> contextChain, ChainModifiers chainModifiers, ExecutionControl<CommandSourceStack> executionControl) voidDebugCommand.TraceCustomExecutor.runGuarded(CommandSourceStack source, com.mojang.brigadier.context.ContextChain<CommandSourceStack> contextChain, ChainModifiers chainModifiers, ExecutionControl<CommandSourceStack> executionControl) voidFunctionCommand.FunctionCustomExecutor.runGuarded(CommandSourceStack source, com.mojang.brigadier.context.ContextChain<CommandSourceStack> contextChain, ChainModifiers chainModifiers, ExecutionControl<CommandSourceStack> executionControl) voidFunctionCommand.FunctionCustomExecutor.runGuarded(CommandSourceStack source, com.mojang.brigadier.context.ContextChain<CommandSourceStack> contextChain, ChainModifiers chainModifiers, ExecutionControl<CommandSourceStack> executionControl) private static intScheduleCommand.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 intScheduleCommand.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 intGameModeCommand.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) intExecuteCommand.CommandNumericPredicate.test(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) booleanExecuteCommand.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_STORAGEMethods 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 intDataCommands.getData(CommandSourceStack source, DataAccessor accessor) Gets all NBT on the object, and applies syntax highlighting.private static intDataCommands.getData(CommandSourceStack source, DataAccessor accessor, NbtPathArgument.NbtPath path) Gets a value, which can be of any known NBT type.private static intDataCommands.getNumeric(CommandSourceStack source, DataAccessor accessor, NbtPathArgument.NbtPath path, double scale) Gets a single numeric element, scaled by the given amount.private static intDataCommands.mergeData(CommandSourceStack source, DataAccessor accessor, CompoundTag nbt) Merges the given NBT into the targeted object's NBT.private static intDataCommands.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 CommandStorageStorageDataAccessor.getGlobalTags(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) DataCommands.getSingletonSource(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, DataCommands.DataProvider dataProvider) private static intDataCommands.manipulateData(com.mojang.brigadier.context.CommandContext<CommandSourceStack> source, DataCommands.DataProvider dataProvider, DataCommands.DataManipulator dataManipulator, List<Tag> tags) intDataCommands.DataManipulator.modify(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, CompoundTag nbt, NbtPathArgument.NbtPath nbtPath, List<Tag> tags) static voidDataCommands.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 TypeMethodDescriptionvoidDedicatedServer.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 TypeMethodDescriptionvoidPlayerList.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 booleanWrittenBookItem.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 CommandSourceStackBaseCommandBlock.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 TypeMethodDescriptionvoidGameRules.Value.setFromArgument(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String paramName) protected voidGameRules.BooleanValue.updateFromArgument(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String paramName) protected voidGameRules.IntegerValue.updateFromArgument(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String paramName) protected abstract voidGameRules.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 CommandSourceStackLecternBlockEntity.createCommandSourceStack(Player player) Creates a CommandSourceStack for resolving the contents of a book.private static CommandSourceStackSignBlockEntity.createCommandSourceStack(Player player, Level level, BlockPos pos) -
Uses of CommandSourceStack in net.neoforged.neoforge.client
Subclasses of CommandSourceStack in net.neoforged.neoforge.clientModifier and TypeClassDescriptionclassoverrides forCommandSourceStackso 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.commandsMethods 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 voidClientConfigCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) private static intClientConfigCommand.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.dispatcherMethods 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.dispatcherprivate com.mojang.brigadier.ParseResults<CommandSourceStack> CommandEvent.parseMethods 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 voidEventHooks.onCommandRegister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, Commands.CommandSelection environment, CommandBuildContext context) voidCommandEvent.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.ListenerGenerateCommand.createPregenListener(CommandSourceStack source) private static intEntityCommand.EntityListCommand.execute(CommandSourceStack sender, String filter, ResourceKey<Level> dim) private static <T> intTrackCommand.TrackResults.execute(CommandSourceStack source, TimeTracker<T> tracker, Function<ObjectTimings<T>, Component> toString) private static intGenerateCommand.executeGeneration(CommandSourceStack source, BlockPos pos, int chunkRadius, boolean progressBar) private static intGenerateCommand.getGenerationHelp(CommandSourceStack source) private static intGenerateCommand.getGenerationStatus(CommandSourceStack source) private static ComponentTimeSpeedCommand.levelName(CommandSourceStack source) private static intTimeSpeedCommand.query(CommandSourceStack source) private static intTimeSpeedCommand.setDaylength(CommandSourceStack source, int minutes) private static intTimeSpeedCommand.setDefault(CommandSourceStack source) private static intTimeSpeedCommand.setSpeed(CommandSourceStack source, float speed) private static intGenerateCommand.stopGeneration(CommandSourceStack source) Method parameters in net.neoforged.neoforge.server.command with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionprivate static intDumpCommand.dumpRegistry(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, boolean alphabeticalSort, boolean printNumericIds) private static booleanGenerateCommand.getBool(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String name) private static intGenerateCommand.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 intDataComponentCommand.listComponents(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx) private static intTagsCommand.listTagElements(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, int page) private static intTagsCommand.listTags(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, int page) private static intTagsCommand.queryElementTags(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, int page) static voidConfigCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) static voidNeoForgeCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) private static intTPSCommand.sendTime(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, @Nullable ServerLevel dimension) private static intConfigCommand.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)