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 pEntity, EntityAnchorArgument.Anchor pAnchor) CommandSourceStack.withAnchor(EntityAnchorArgument.Anchor pAnchor) CommandSourceStack.withCallback(CommandResultCallback p_309591_) CommandSourceStack.withCallback(CommandResultCallback pCallback, BinaryOperator<CommandResultCallback> pOperator) CommandSourceStack.withEntity(Entity pEntity) CommandSourceStack.withLevel(ServerLevel pLevel) CommandSourceStack.withMaximumPermission(int pPermissionLevel) CommandSourceStack.withPermission(int pPermissionLevel) CommandSourceStack.withPosition(Vec3 pPos) CommandSourceStack.withRotation(Vec2 pRotation) CommandSourceStack.withSigningContext(CommandSigningContext pSigningContext, TaskChainer pChatMessageChainer) CommandSourceStack.withSource(CommandSource pSource) 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> pParseResults, String pCommand, CommandSourceStack pSource) CacheableFunction.get(ServerFunctionManager pFunctionManager) 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 pSource, Consumer<ExecutionContext<CommandSourceStack>> pContextConsumer) private voidCommands.fillUsableCommands(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> pRootCommandSource, com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider> pRootSuggestion, CommandSourceStack pSource, Map<com.mojang.brigadier.tree.CommandNode<CommandSourceStack>, com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider>> pCommandNodeToSuggestionNode) private static com.mojang.brigadier.context.ContextChain<CommandSourceStack> Commands.finishParsing(com.mojang.brigadier.ParseResults<CommandSourceStack> pParseResults, String pCommand, CommandSourceStack pSource) voidCommands.performPrefixedCommand(CommandSourceStack pSource, String pCommand) Method parameters in net.minecraft.commands with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionstatic voidCommands.executeCommandInContext(CommandSourceStack pSource, Consumer<ExecutionContext<CommandSourceStack>> pContextConsumer) private voidCommands.fillUsableCommands(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> pRootCommandSource, com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider> pRootSuggestion, CommandSourceStack pSource, Map<com.mojang.brigadier.tree.CommandNode<CommandSourceStack>, com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider>> pCommandNodeToSuggestionNode) private voidCommands.fillUsableCommands(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> pRootCommandSource, com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider> pRootSuggestion, CommandSourceStack pSource, Map<com.mojang.brigadier.tree.CommandNode<CommandSourceStack>, com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider>> pCommandNodeToSuggestionNode) private static com.mojang.brigadier.context.ContextChain<CommandSourceStack> Commands.finishParsing(com.mojang.brigadier.ParseResults<CommandSourceStack> pParseResults, String pCommand, CommandSourceStack pSource) voidCommands.performCommand(com.mojang.brigadier.ParseResults<CommandSourceStack> pParseResults, String pCommand) -
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 pSource) Gets the coordinate based on the given command source's position.private static CompletableFuture<FilteredText> MessageArgument.filterPlainText(CommandSourceStack pSource, PlayerChatMessage pMessage) floatAngleArgument.SingleAngle.getAngle(CommandSourceStack pSource) Collection<com.mojang.authlib.GameProfile> GameProfileArgument.Result.getNames(CommandSourceStack pSource) Collection<com.mojang.authlib.GameProfile> GameProfileArgument.SelectorResult.getNames(CommandSourceStack p_94607_) ScoreHolderArgument.Result.getNames(CommandSourceStack pSource, Supplier<Collection<ScoreHolder>> pObjectives) ScoreHolderArgument.SelectorResult.getNames(CommandSourceStack p_108258_, Supplier<Collection<ScoreHolder>> p_108259_) (package private) ComponentMessageArgument.Message.resolveComponent(CommandSourceStack pSource) private static voidMessageArgument.resolveDisguisedMessage(Consumer<PlayerChatMessage> pCallback, CommandSourceStack pSource, PlayerChatMessage pMessage) private static voidMessageArgument.resolveSignedMessage(Consumer<PlayerChatMessage> pCallback, CommandSourceStack pSource, PlayerChatMessage pMessage) MessageArgument.Message.toComponent(CommandSourceStack pSource, boolean pAllowSelectors) Converts this message into a text component, replacing any selectors in the text with the actual evaluated selector.MessageArgument.Part.toComponent(CommandSourceStack pSource) 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 AdvancementHolderResourceKeyArgument.getAdvancement(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument) static EntityAnchorArgument.AnchorEntityAnchorArgument.getAnchor(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static floatAngleArgument.getAngle(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static Holder.Reference<Attribute> ResourceArgument.getAttribute(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument) static ChatFormattingColorArgument.getColor(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static Holder.Reference<ConfiguredFeature<?, ?>> ResourceArgument.getConfiguredFeature(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument) static Holder.Reference<ConfiguredFeature<?, ?>> ResourceKeyArgument.getConfiguredFeature(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument) static ObjectiveCriteriaObjectiveCriteriaArgument.getCriteria(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static ServerLevelDimensionArgument.getDimension(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static DisplaySlotScoreboardSlotArgument.getDisplaySlot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pSlot) static Holder.Reference<Enchantment> ResourceArgument.getEnchantment(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument) static Collection<? extends Entity> EntityArgument.getEntities(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static EntityEntityArgument.getEntity(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static Holder.Reference<EntityType<?>> ResourceArgument.getEntityType(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument) static GameTypeGameModeArgument.getGameMode(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static Collection<com.mojang.authlib.GameProfile> GameProfileArgument.getGameProfiles(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static Heightmap.TypesHeightmapTypeArgument.getHeightmap(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument) static ResourceLocationResourceLocationArgument.getId(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static Holder<LootItemFunction> ResourceOrIdArgument.getLootModifier(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static Holder<LootItemCondition> ResourceOrIdArgument.getLootPredicate(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) ResourceOrIdArgument.getLootTable(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static ComponentMessageArgument.getMessage(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static MirrorTemplateMirrorArgument.getMirror(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static Holder.Reference<MobEffect> ResourceArgument.getMobEffect(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument) static ScoreHolderScoreHolderArgument.getName(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static Collection<ScoreHolder> ScoreHolderArgument.getNames(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) Gets one or more score holders, with no objectives list.static Collection<ScoreHolder> ScoreHolderArgument.getNames(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName, Supplier<Collection<ScoreHolder>> pObjectives) Gets one or more score holders.static Collection<ScoreHolder> ScoreHolderArgument.getNamesWithDefaultWildcard(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) Gets one or more score holders, using the server's complete list of objectives.static ObjectiveObjectiveArgument.getObjective(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static OperationArgument.OperationOperationArgument.getOperation(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static Collection<? extends Entity> EntityArgument.getOptionalEntities(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static Collection<ServerPlayer> EntityArgument.getOptionalPlayers(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static ParticleOptionsParticleArgument.getParticle(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static NbtPathArgument.NbtPathNbtPathArgument.getPath(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static ServerPlayerEntityArgument.getPlayer(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static Collection<ServerPlayer> EntityArgument.getPlayers(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static MinMaxBounds.DoublesRangeArgument.Floats.getRange(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static MinMaxBounds.IntsRangeArgument.Ints.getRange(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static ComponentComponentArgument.getRawComponent(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static RecipeHolder<?> ResourceKeyArgument.getRecipe(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument) private static <T> Registry<T> ResourceKeyArgument.getRegistry(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, ResourceKey<? extends Registry<T>> pRegistryKey) static <T> ResourceKey<T> ResourceKeyArgument.getRegistryKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument, ResourceKey<Registry<T>> pRegistryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType pException) static ComponentComponentArgument.getResolvedComponent(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static ComponentComponentArgument.getResolvedComponent(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName, Entity pEntity) static <T> Holder.Reference<T> ResourceArgument.getResource(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument, ResourceKey<Registry<T>> pRegistryKey) private static <T> Holder<T> ResourceOrIdArgument.getResource(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static <T> ResourceOrTagArgument.Result<T> ResourceOrTagArgument.getResourceOrTag(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument, ResourceKey<Registry<T>> pRegistryKey) static <T> ResourceOrTagKeyArgument.Result<T> ResourceOrTagKeyArgument.getResourceOrTagKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument, ResourceKey<Registry<T>> pRegistryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType pDynamicCommandExceptionType) static RotationTemplateRotationArgument.getRotation(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static <T> Collection<Holder.Reference<T>> ResourceSelectorArgument.getSelectedResources(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument, ResourceKey<? extends Registry<T>> pRegistryKey) static intSlotArgument.getSlot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static SlotRangeSlotsArgument.getSlots(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static Holder.Reference<Structure> ResourceArgument.getStructure(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument) static Holder.Reference<Structure> ResourceKeyArgument.getStructure(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument) ResourceKeyArgument.getStructureTemplatePool(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument) static StyleStyleArgument.getStyle(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static Holder.Reference<EntityType<?>> ResourceArgument.getSummonableEntityType(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument) static PlayerTeamTeamArgument.getTeam(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static UUIDUuidArgument.getUuid(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static ObjectiveObjectiveArgument.getWritableObjective(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static voidMessageArgument.resolveChatMessage(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pKey, Consumer<PlayerChatMessage> pCallback) private static <T> Holder.Reference<T> ResourceKeyArgument.resolveKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument, ResourceKey<Registry<T>> pRegistryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType pException) -
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> pContext, String pName) static Predicate<BlockInWorld> BlockPredicateArgument.getBlockPredicate(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) -
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 pSource) Coordinates.getPosition(CommandSourceStack pSource) LocalCoordinates.getPosition(CommandSourceStack pSource) WorldCoordinates.getPosition(CommandSourceStack pSource) Coordinates.getRotation(CommandSourceStack pSource) LocalCoordinates.getRotation(CommandSourceStack pSource) WorldCoordinates.getRotation(CommandSourceStack pSource) Method parameters in net.minecraft.commands.arguments.coordinates with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionstatic BlockPosBlockPosArgument.getBlockPos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static ColumnPosColumnPosArgument.getColumnPos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static CoordinatesVec3Argument.getCoordinates(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static BlockPosBlockPosArgument.getLoadedBlockPos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static BlockPosBlockPosArgument.getLoadedBlockPos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, ServerLevel pLevel, String pName) static CoordinatesRotationArgument.getRotation(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static BlockPosBlockPosArgument.getSpawnablePos(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static EnumSet<Direction.Axis> SwizzleArgument.getSwizzle(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static Vec2Vec2Argument.getVec2(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static Vec3Vec3Argument.getVec3(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) -
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> pContext) (package private) static CommandFunction<CommandSourceStack> FunctionArgument.getFunction(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, ResourceLocation pId) static com.mojang.datafixers.util.Pair<ResourceLocation, Collection<CommandFunction<CommandSourceStack>>> FunctionArgument.getFunctionCollection(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) 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> pContext, String pName) 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> pContext, String pName) static Collection<CommandFunction<CommandSourceStack>> FunctionArgument.getFunctions(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) (package private) static Collection<CommandFunction<CommandSourceStack>> FunctionArgument.getFunctionTag(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, ResourceLocation pId) 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> pContext) 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> pContext) com.mojang.datafixers.util.Pair<ResourceLocation, Collection<CommandFunction<CommandSourceStack>>> FunctionArgument.Result.unwrapToCollection(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext) Method parameters in net.minecraft.commands.arguments.item with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionFunctionArgument.Result.create(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext) (package private) static CommandFunction<CommandSourceStack> FunctionArgument.getFunction(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, ResourceLocation pId) static com.mojang.datafixers.util.Pair<ResourceLocation, Collection<CommandFunction<CommandSourceStack>>> FunctionArgument.getFunctionCollection(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) 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> pContext, String pName) static Collection<CommandFunction<CommandSourceStack>> FunctionArgument.getFunctions(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) (package private) static Collection<CommandFunction<CommandSourceStack>> FunctionArgument.getFunctionTag(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, ResourceLocation pId) static ItemPredicateArgument.ResultItemPredicateArgument.getItemPredicate(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) 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> pContext) com.mojang.datafixers.util.Pair<ResourceLocation, Collection<CommandFunction<CommandSourceStack>>> FunctionArgument.Result.unwrapToCollection(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext) -
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 pSource) EntitySelector.findEntities(CommandSourceStack pSource) EntitySelector.findPlayers(CommandSourceStack pSource) EntitySelector.findSingleEntity(CommandSourceStack pSource) EntitySelector.findSinglePlayer(CommandSourceStack pSource) -
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.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 CommandSourceStackTestCommand.TestSummaryDisplayer.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.TestCommand.TestSummaryDisplayer.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, ?> pArgumentBuilder, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestFinder> pFinderGetter) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> TestCommand.runWithRetryOptions(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestFinder> pFinderGetter, Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>> pModifier) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> TestCommand.runWithRetryOptionsAndBuildInfo(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestFinder> pFinderGetter) Methods in net.minecraft.gametest.framework with parameters of type CommandSourceStackModifier and TypeMethodDescriptionprivate TestFinderTestFinder.Builder.build(CommandSourceStack pSource, TestInstanceFinder pInstanceFinder, TestPosFinder pPosFinder) private static Optional<GameTestInfo> TestCommand.createGameTestInfo(BlockPos pPos, CommandSourceStack pSource, RetryOptions pRetryOptions) private static intTestCommand.createNewStructure(CommandSourceStack pSource, ResourceLocation pId, int pWidth, int pHeight, int pDepth) private static BlockPosTestCommand.createTestPositionAround(CommandSourceStack pSource) private static intTestCommand.exportTestStructure(CommandSourceStack pSource, Holder<GameTestInstance> pTestInstance) private static intTestCommand.resetGameTestInfo(CommandSourceStack pSource, GameTestInfo pTestInfo) private static intTestCommand.showPos(CommandSourceStack pSource, String pVariableName) private static Stream<GameTestInfo> TestCommand.toGameTestInfo(CommandSourceStack pSource, RetryOptions pRetryOptions, TestInstanceFinder pFinder, int pRotationSteps) private static Stream<GameTestInfo> TestCommand.toGameTestInfos(CommandSourceStack pSource, RetryOptions pRetryOptions, TestPosFinder pPosFinder) static intTestCommand.trackAndStartRunner(CommandSourceStack pSource, GameTestRunner pTestRunner) private static booleanTestCommand.verifyStructureExists(CommandSourceStack pSource, ResourceLocation pStructure) Method parameters in net.minecraft.gametest.framework with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionTestFinder.Builder.allNearby(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext) TestFinder.Builder.byResourceSelection(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, Collection<Holder.Reference<GameTestInstance>> pCollection) TestFinder.Builder.failedTests(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext) TestFinder.Builder.failedTests(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, boolean pOnlyRequired) TestFinder.Builder.lookedAt(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext) TestFinder.Builder.nearest(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext) TestFinder.Builder.radius(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, int pRadius) static voidTestCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pBuildContext) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> TestCommand.runWithRetryOptions(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestFinder> pFinderGetter) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> TestCommand.runWithRetryOptions(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestFinder> pFinderGetter) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> TestCommand.runWithRetryOptions(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestFinder> pFinderGetter, Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>> pModifier) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> TestCommand.runWithRetryOptions(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestFinder> pFinderGetter, Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>> pModifier) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> TestCommand.runWithRetryOptions(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestFinder> pFinderGetter, Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>> pModifier) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> TestCommand.runWithRetryOptions(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestFinder> pFinderGetter, Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>> pModifier) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> TestCommand.runWithRetryOptionsAndBuildInfo(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestFinder> pFinderGetter) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> TestCommand.runWithRetryOptionsAndBuildInfo(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestFinder> pFinderGetter) static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> TestCommand.suggestTestFunction(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, com.mojang.brigadier.suggestion.SuggestionsBuilder pBuilder) Constructors in net.minecraft.gametest.framework with parameters of type CommandSourceStackModifierConstructorDescription(package private)Creates an instance of aTestBatchSummaryDisplayerrecord class.(package private)TestFinder(CommandSourceStack pSource, TestInstanceFinder pTestInstanceFinder, TestPosFinder pTestPosFinder) TestSummaryDisplayer(CommandSourceStack source, MultipleTestTracker tracker) Creates an instance of aTestSummaryDisplayerrecord class. -
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> pChatTypeKey, CommandSourceStack pSource) default MutableComponentComponentContents.resolve(CommandSourceStack pNbtPathPattern, Entity pEntity, int pRecursionDepth) private static StyleComponentUtils.resolveStyle(CommandSourceStack pCommandSourceStack, Style pStyle, Entity pEntity, int pRecursionDepth) static Optional<MutableComponent> ComponentUtils.updateForEntity(CommandSourceStack pCommandSourceStack, Optional<Component> pOptionalComponent, Entity pEntity, int pRecursionDepth) static MutableComponentComponentUtils.updateForEntity(CommandSourceStack pCommandSourceStack, Component pComponent, Entity pEntity, int pRecursionDepth) -
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 pSource) BlockDataSource.getData(CommandSourceStack p_237323_) DataSource.getData(CommandSourceStack pSource) EntityDataSource.getData(CommandSourceStack p_237341_) StorageDataSource.getData(CommandSourceStack p_237491_) private MutableComponentScoreContents.getScore(ScoreHolder pScoreHolder, CommandSourceStack pSource) NbtContents.resolve(CommandSourceStack p_237401_, Entity p_237402_, int p_237403_) ScoreContents.resolve(CommandSourceStack p_237444_, Entity p_237445_, int p_237446_) SelectorContents.resolve(CommandSourceStack p_237468_, Entity p_237469_, int p_237470_) TranslatableContents.resolve(CommandSourceStack p_237512_, Entity p_237513_, int p_237514_) -
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.functionsprivate Map<ResourceLocation, List<CommandFunction<CommandSourceStack>>> ServerFunctionLibrary.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 pFunction) com.mojang.brigadier.CommandDispatcher<CommandSourceStack> ServerFunctionManager.getDispatcher()ServerFunctionLibrary.getFunction(ResourceLocation pLocation) ServerFunctionLibrary.getFunctions()ServerFunctionLibrary.getTag(ResourceLocation pLocation) ServerFunctionManager.getTag(ResourceLocation pTag) Methods in net.minecraft.server with parameters of type CommandSourceStackModifier and TypeMethodDescriptionvoidServerFunctionManager.execute(CommandFunction<CommandSourceStack> pFunction, CommandSourceStack pSource) voidMinecraftServer.kickUnlistedPlayers(CommandSourceStack pCommandSource) Method parameters in net.minecraft.server with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionvoidServerFunctionManager.execute(CommandFunction<CommandSourceStack> pFunction, CommandSourceStack pSource) private voidServerFunctionManager.executeTagFunctions(Collection<CommandFunction<CommandSourceStack>> pFunctionObjects, ResourceLocation pIdentifier) Constructors in net.minecraft.server with parameters of type CommandSourceStackConstructor parameters in net.minecraft.server with type arguments of type CommandSourceStackModifierConstructorDescriptionServerFunctionLibrary(int pFunctionCompilationLevel, com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) -
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_PACKSstatic 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 pBuilder, LootCommand.TailProvider pTailProvider) Methods in net.minecraft.server.commands that return CommandSourceStackModifier and TypeMethodDescriptionstatic CommandSourceStackFunctionCommand.modifySenderForExecution(CommandSourceStack pSource) private static CommandSourceStackExecuteCommand.spawnEntityAndRedirect(CommandSourceStack pSource, Holder.Reference<EntityType<?>> pEntityType) private static CommandSourceStackExecuteCommand.storeData(CommandSourceStack pSource, DataAccessor pAccessor, NbtPathArgument.NbtPath pPath, IntFunction<Tag> pTagConverter, boolean pStoringResult) private static CommandSourceStackExecuteCommand.storeValue(CommandSourceStack pSource, Collection<ScoreHolder> pTargets, Objective pObjective, boolean pStoringResult) private static CommandSourceStackExecuteCommand.storeValue(CommandSourceStack pSource, CustomBossEvent pBar, boolean pStoringValue, boolean pStoringResult) 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> pCommandNode, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pBuilder, boolean pValue, ExecuteCommand.CommandPredicate pTest) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> ExecuteCommand.addConditionals(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> pParent, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> pLiteral, boolean pIsIf, CommandBuildContext pBuildContext) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> ExecuteCommand.addIfBlocksConditional(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> pCommandNode, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pLiteral, boolean pIsIf, boolean pIsMasked) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> ScoreboardCommand.addNumberFormats(CommandBuildContext pContext, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder, ScoreboardCommand.NumberFormatCommandExecutor pExecutor) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> CloneCommands.beginEndDestinationAndModeSuffix(CommandBuildContext pBuildContext, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> pLevelGetter) com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> LootCommand.TailProvider.construct(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pBuilder, LootCommand.DropConsumer pDropConsumer) private static com.mojang.brigadier.Command<CommandSourceStack> ExecuteCommand.createNumericConditionalHandler(boolean pIsIf, ExecuteCommand.CommandNumericPredicate pPredicate) private static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> ExecuteCommand.createRelationOperations(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> pNode, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> pArgumentBuilder) private static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> ScoreboardCommand.createRenderTypeModify()private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> CloneCommands.destinationAndStrictSuffix(CommandBuildContext pBuildContext, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> pSourceLevelGetter, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> pDestinationLevelGetter) private static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> RandomCommand.drawRandomValueTree(String pSubcommand, boolean pDisplayResult) private static com.mojang.brigadier.RedirectModifier<CommandSourceStack> ExecuteCommand.expandOneToManyEntityRelation(Function<Entity, Stream<Entity>> pRelation) private static com.mojang.brigadier.RedirectModifier<CommandSourceStack> ExecuteCommand.expandOneToOneEntityRelation(Function<Entity, Optional<Entity>> pRelation) private static Collection<CommandSourceStack> ExecuteCommand.expect(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, boolean pActual, boolean pExpected) If actual and expected match, returns a collection containing only the source player.private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> CloneCommands.modeSuffix(CommandBuildContext pBuildContext, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> pBegin, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> pEnd, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> pDestination, boolean pStrict, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder) private static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> PlaySoundCommand.source(SoundSource pCategory) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> ExecuteCommand.wrapStores(com.mojang.brigadier.tree.LiteralCommandNode<CommandSourceStack> pParent, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> pLiteral, boolean pStoringResult) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> CloneCommands.wrapWithCloneMode(InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> pBegin, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> pEnd, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> pDestination, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> pFilter, boolean pStrict, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> FillCommand.wrapWithMode(CommandBuildContext pBuildContext, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> pFrom, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> pTo, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockInput> pBlock, FillCommand.NullableCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> pFilter) Methods in net.minecraft.server.commands with parameters of type CommandSourceStackModifier and TypeMethodDescriptionprivate static intExperienceCommand.addExperience(CommandSourceStack pSource, Collection<? extends ServerPlayer> pTargets, int pAmount, ExperienceCommand.Type pType) private static intAttributeCommand.addModifier(CommandSourceStack pSource, Entity pEntity, Holder<Attribute> pAttribute, ResourceLocation pId, double pAmount, AttributeModifier.Operation pOperation) private static intScoreboardCommand.addObjective(CommandSourceStack pSource, String pName, ObjectiveCriteria pCriteria, Component pDisplayName) private static intWhitelistCommand.addPlayers(CommandSourceStack pSource, Collection<com.mojang.authlib.GameProfile> pPlayers) private static intScoreboardCommand.addScore(CommandSourceStack pSource, Collection<ScoreHolder> pTargets, Objective pObjective, int pAmount) private static intTagCommand.addTag(CommandSourceStack pSource, Collection<? extends Entity> pEntities, String pTagName) static intTimeCommand.addTime(CommandSourceStack pSource, int pAmount) private static intTriggerCommand.addValue(CommandSourceStack pSource, ServerPlayer pPlayer, Objective pObjective, int pValue) private static booleanChaseCommand.alreadyRunning(CommandSourceStack pSource) voidExecuteCommand.ExecuteIfFunctionCustomModifier.apply(CommandSourceStack p_309582_, List<CommandSourceStack> p_309642_, com.mojang.brigadier.context.ContextChain<CommandSourceStack> p_309682_, ChainModifiers p_309694_, ExecutionControl<CommandSourceStack> p_309646_) private static ItemStackItemCommands.applyModifier(CommandSourceStack pSource, Holder<LootItemFunction> pModifier, ItemStack pStack) private static intBanIpCommands.banIp(CommandSourceStack pSource, String pIp, Component pReason) private static intBanIpCommands.banIpOrName(CommandSourceStack pSource, String pUsername, Component pReason) private static intBanPlayerCommands.banPlayers(CommandSourceStack pSource, Collection<com.mojang.authlib.GameProfile> pGameProfiles, Component pReason) private static intLootCommand.blockDistribute(CommandSourceStack pSource, BlockPos pPos, List<ItemStack> pItems, LootCommand.Callback pCallback) private static intLootCommand.blockReplace(CommandSourceStack pSource, BlockPos pPos, int pSlot, int pNumSlots, List<ItemStack> pItems, LootCommand.Callback pCallback) private static intItemCommands.blockToBlock(CommandSourceStack pSource, BlockPos pSourcePos, int pSourceSlot, BlockPos pPos, int pSlot) private static intItemCommands.blockToBlock(CommandSourceStack pSource, BlockPos pSourcePos, int pSourceSlot, BlockPos pPos, int pSlot, Holder<LootItemFunction> pModifier) private static intItemCommands.blockToEntities(CommandSourceStack pSource, BlockPos pPos, int pSourceSlot, Collection<? extends Entity> pTargets, int pSlot) private static intItemCommands.blockToEntities(CommandSourceStack pSource, BlockPos pPos, int pSourceSlot, Collection<? extends Entity> pTargets, int pSlot, Holder<LootItemFunction> pModifier) private static voidLootCommand.callback(CommandSourceStack pSource, List<ItemStack> pItems) private static voidLootCommand.callback(CommandSourceStack pSource, List<ItemStack> pItems, ResourceKey<LootTable> pLootTable) private static intForceLoadCommand.changeForceLoad(CommandSourceStack pSource, ColumnPos pFrom, ColumnPos pTo, boolean pAdd) private static intRaidCommand.check(CommandSourceStack pSource) private static booleanExecuteCommand.checkCustomPredicate(CommandSourceStack pSource, Holder<LootItemCondition> pCondition) private static intScoreboardCommand.clearDisplaySlot(CommandSourceStack pSource, DisplaySlot pSlot) private static intEffectCommands.clearEffect(CommandSourceStack pSource, Collection<? extends Entity> pTargets, Holder<MobEffect> pEffect) private static intEffectCommands.clearEffects(CommandSourceStack pSource, Collection<? extends Entity> pTargets) private static intClearInventoryCommands.clearInventory(CommandSourceStack pSource, Collection<ServerPlayer> pTargetPlayers, Predicate<ItemStack> pItemPredicate, int pMaxCount) private static intTitleCommand.clearTitle(CommandSourceStack pSource, Collection<ServerPlayer> pTargets) private static intClearInventoryCommands.clearUnlimited(CommandSourceStack pSource, Collection<ServerPlayer> pTargets, Predicate<ItemStack> pFilter) private static intCloneCommands.clone(CommandSourceStack pSource, CloneCommands.DimensionAndPosition pBegin, CloneCommands.DimensionAndPosition pEnd, CloneCommands.DimensionAndPosition pDestination, Predicate<BlockInWorld> pFilter, CloneCommands.Mode pMode, boolean pStrict) private static intDebugConfigCommand.config(CommandSourceStack pSource, ServerPlayer pTarget) private static intExecuteCommand.countItems(CommandSourceStack pSource, BlockPos pPos, SlotRange pSlotRange, Predicate<ItemStack> pFilter) private static intBossBarCommands.createBar(CommandSourceStack pSource, ResourceLocation pId, Component pDisplayName) static EntitySummonCommand.createEntity(CommandSourceStack pSource, Holder.Reference<EntityType<?>> pType, Vec3 pPos, CompoundTag pTag, boolean pRandomizeProperties) private static intTeamCommand.createTeam(CommandSourceStack pSource, String pName) private static intTeamCommand.createTeam(CommandSourceStack pSource, String pName, Component pDisplayName) private static intDamageCommand.damage(CommandSourceStack pSource, Entity pTarget, float pAmount, DamageSource pDamageType) private static intTeamCommand.deleteTeam(CommandSourceStack pSource, PlayerTeam pTeam) private static intDeOpCommands.deopPlayers(CommandSourceStack pSource, Collection<com.mojang.authlib.GameProfile> pPlayers) private static intDataPackCommand.disablePack(CommandSourceStack pSource, Pack pPack) Disables the given pack.private static intWhitelistCommand.disableWhitelist(CommandSourceStack pSource) private static intRideCommand.dismount(CommandSourceStack pSource, Entity pTarget) private static intLootCommand.dropInWorld(CommandSourceStack pSource, Vec3 pPos, List<ItemStack> pItems, LootCommand.Callback pCallback) private static intTeamCommand.emptyTeam(CommandSourceStack pSource, PlayerTeam pTeam) private static intDataPackCommand.enablePack(CommandSourceStack pSource, Pack pPack, DataPackCommand.Inserter pPriorityCallback) Enables the given pack.private static intScoreboardCommand.enableTrigger(CommandSourceStack pSource, Collection<ScoreHolder> pTargets, Objective pObjective) private static intWhitelistCommand.enableWhitelist(CommandSourceStack pSource) private static intEnchantCommand.enchant(CommandSourceStack pSource, Collection<? extends Entity> pTargets, Holder<Enchantment> pEnchantment, int pLevel) private static intItemCommands.entityToBlock(CommandSourceStack pSource, Entity pSourceEntity, int pSourceSlot, BlockPos pPos, int pSlot) private static intItemCommands.entityToBlock(CommandSourceStack pSource, Entity pSourceEntity, int pSourceSlot, BlockPos pPos, int pSlot, Holder<LootItemFunction> pModifier) private static intItemCommands.entityToEntities(CommandSourceStack pSource, Entity pSourceEntity, int pSourceSlot, Collection<? extends Entity> pTargets, int pSlot) private static intItemCommands.entityToEntities(CommandSourceStack pSource, Entity pSourceEntity, int pSourceSlot, Collection<? extends Entity> pTargets, int pSlot, Holder<LootItemFunction> pModifier) private static intFillBiomeCommand.fill(CommandSourceStack pSource, BlockPos pFrom, BlockPos pTo, Holder.Reference<Biome> pBiome, Predicate<Holder<Biome>> pFilter) private static intDebugPathCommand.fillBlocks(CommandSourceStack pStack, BlockPos pPos) private static intFillCommand.fillBlocks(CommandSourceStack pSource, BoundingBox pBox, BlockInput pBlock, FillCommand.Mode pMode, Predicate<BlockInWorld> pFilter, boolean pStrict) private static intChaseCommand.follow(CommandSourceStack pSource, String pHost, int pPort) private static intListPlayersCommand.format(CommandSourceStack pSource, Function<ServerPlayer, Component> pNameExtractor) private static intAttributeCommand.getAttributeBase(CommandSourceStack pSource, Entity pEntity, Holder<Attribute> pAttribute, double pScale) private static intAttributeCommand.getAttributeModifier(CommandSourceStack pSource, Entity pEntity, Holder<Attribute> pAttribute, ResourceLocation pId, double pScale) private static intAttributeCommand.getAttributeValue(CommandSourceStack pSource, Entity pEntity, Holder<Attribute> pAttribute, double pScale) private static ItemStackItemCommands.getBlockItem(CommandSourceStack pSource, BlockPos pPos, int pSlot) (package private) static ContainerItemCommands.getContainer(CommandSourceStack pSource, BlockPos pPos, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType pException) private static ContainerLootCommand.getContainer(CommandSourceStack pSource, BlockPos pPos) private static intWeatherCommand.getDuration(CommandSourceStack pSource, int pTime, IntProvider pTimeProvider) private static intBossBarCommands.getMax(CommandSourceStack pSource, CustomBossEvent pBossbar) private static intBossBarCommands.getPlayers(CommandSourceStack pSource, CustomBossEvent pBossbar) private static intScoreboardCommand.getScore(CommandSourceStack pSource, ScoreHolder pScoreHolder, Objective pObjective) private static intWorldBorderCommand.getSize(CommandSourceStack pSource) private static ItemStackLootCommand.getSourceHandItem(CommandSourceStack pSource, EquipmentSlot pSlot) private static intBossBarCommands.getValue(CommandSourceStack pSource, CustomBossEvent pBossbar) private static intBossBarCommands.getVisible(CommandSourceStack pSource, CustomBossEvent pBossbar) private static intEffectCommands.giveEffect(CommandSourceStack pSource, Collection<? extends Entity> pTargets, Holder<MobEffect> pEffect, Integer pSeconds, int pAmplifier, boolean pShowParticles) private static intGiveCommand.giveItem(CommandSourceStack pSource, ItemInput pItem, Collection<ServerPlayer> pTargets, int pCount) private static intRecipeCommand.giveRecipes(CommandSourceStack pSource, Collection<ServerPlayer> pTargets, Collection<RecipeHolder<?>> pRecipes) private static intRaidCommand.glow(CommandSourceStack pSource) private static intTeamCommand.joinTeam(CommandSourceStack pSource, PlayerTeam pTeam, Collection<ScoreHolder> pPlayers) private static intKickCommand.kickPlayers(CommandSourceStack pSource, Collection<ServerPlayer> pPlayers, Component pReason) private static intKillCommand.kill(CommandSourceStack pSource, Collection<? extends Entity> pTargets) private static intChaseCommand.lead(CommandSourceStack pSource, String pBindAddress, int pPort) private static intTeamCommand.leaveTeam(CommandSourceStack pSource, Collection<ScoreHolder> pPlayers) Removes the listed players from their teams.private static intDataPackCommand.listAvailablePacks(CommandSourceStack pSource) Sends a list of available packs to the user.private static intBossBarCommands.listBars(CommandSourceStack pSource) private static intDataPackCommand.listEnabledPacks(CommandSourceStack pSource) Sends a list of enabled packs to the user.private static intForceLoadCommand.listForceLoad(CommandSourceStack pSource) private static intTeamCommand.listMembers(CommandSourceStack pSource, PlayerTeam pTeam) private static intScoreboardCommand.listObjectives(CommandSourceStack pSource) private static intDataPackCommand.listPacks(CommandSourceStack pSource) Sends a list of both enabled and available packs to the user.private static intListPlayersCommand.listPlayers(CommandSourceStack pSource) private static intListPlayersCommand.listPlayersWithUuids(CommandSourceStack pSource) private static intTagCommand.listTags(CommandSourceStack pSource, Collection<? extends Entity> pEntities) private static intTeamCommand.listTeams(CommandSourceStack pSource) private static intScoreboardCommand.listTrackedPlayers(CommandSourceStack pSource) private static intScoreboardCommand.listTrackedPlayerScores(CommandSourceStack pSource, ScoreHolder pScore) private static intLocateCommand.locateBiome(CommandSourceStack pSource, ResourceOrTagArgument.Result<Biome> pBiome) private static intLocateCommand.locatePoi(CommandSourceStack pSource, ResourceOrTagArgument.Result<PoiType> pPoiType) private static intLocateCommand.locateStructure(CommandSourceStack pSource, ResourceOrTagKeyArgument.Result<Structure> pStructure) private static voidGameModeCommand.logGamemodeChange(CommandSourceStack pSource, ServerPlayer pPlayer, GameType pGameType) private static intItemCommands.modifyBlockItem(CommandSourceStack pSource, BlockPos pPos, int pSlot, Holder<LootItemFunction> pModifier) private static intItemCommands.modifyEntityItem(CommandSourceStack pSource, Collection<? extends Entity> pTargets, int pSourceSlot, Holder<LootItemFunction> pModifer) static CommandSourceStackFunctionCommand.modifySenderForExecution(CommandSourceStack pSource) private static intRideCommand.mount(CommandSourceStack pSource, Entity pTarget, Entity pVehicle) private static intOpCommand.opPlayers(CommandSourceStack pSource, Collection<com.mojang.authlib.GameProfile> pGameProfiles) private static intPardonCommand.pardonPlayers(CommandSourceStack pSource, Collection<com.mojang.authlib.GameProfile> pGameProfiles) private static intAdvancementCommands.perform(CommandSourceStack pSource, Collection<ServerPlayer> pTargets, AdvancementCommands.Action pAction, Collection<AdvancementHolder> pAdvancements) Performs the given action on each advancement in the list, for each player.private static intAdvancementCommands.perform(CommandSourceStack pSource, Collection<ServerPlayer> pTargets, AdvancementCommands.Action pAction, Collection<AdvancementHolder> pAdvancements, boolean pGrantEverything) voidLookAt.LookAtEntity.perform(CommandSourceStack p_380255_, Entity p_379889_) voidLookAt.LookAtPosition.perform(CommandSourceStack p_379815_, Entity p_379917_) voidLookAt.perform(CommandSourceStack pSource, Entity pEntity) private static intAdvancementCommands.performCriterion(CommandSourceStack pSource, Collection<ServerPlayer> pTargets, AdvancementCommands.Action pAction, AdvancementHolder pAdvancement, String pCriterionName) private static intScoreboardCommand.performOperation(CommandSourceStack pSource, Collection<ScoreHolder> pTargets, Objective pTargetObjectives, OperationArgument.Operation pOperation, Collection<ScoreHolder> pSourceEntities, Objective pSourceObjective) private static voidTeleportCommand.performTeleport(CommandSourceStack pSource, Entity pTarget, ServerLevel pLevel, double pX, double pY, double pZ, Set<Relative> pRelatives, float pYRot, float pXRot, LookAt pLookAt) static intPlaceCommand.placeFeature(CommandSourceStack pSource, Holder.Reference<ConfiguredFeature<?, ?>> pFeature, BlockPos pPos) static intPlaceCommand.placeJigsaw(CommandSourceStack pSource, Holder<StructureTemplatePool> pTemplatePool, ResourceLocation pTarget, int pMaxDepth, BlockPos pPos) static intPlaceCommand.placeStructure(CommandSourceStack pSource, Holder.Reference<Structure> pStructure, BlockPos pPos) static intPlaceCommand.placeTemplate(CommandSourceStack pSource, ResourceLocation pTemplate, BlockPos pPos, Rotation pRotation, Mirror pMirror, float pIntegrity, int pSeed, boolean pStrict) private static intPlaySoundCommand.playSound(CommandSourceStack pSource, Collection<ServerPlayer> pTargets, ResourceLocation pSound, SoundSource pCategory, Vec3 pPos, float pVolume, float pPitch, float pMinVolume) private static intRaidCommand.playSound(CommandSourceStack pSource, Component pType) private static intServerPackCommand.popPack(CommandSourceStack pSource, UUID pUuid) private static intPublishCommand.publish(CommandSourceStack pSource, int pPort, boolean pCheats, GameType pGameMode) private static intServerPackCommand.pushPack(CommandSourceStack pSource, String pUrl, Optional<UUID> pUuid, Optional<String> pHash) private static intExperienceCommand.queryExperience(CommandSourceStack pSource, ServerPlayer pPlayer, ExperienceCommand.Type pType) private static intForceLoadCommand.queryForceLoad(CommandSourceStack pSource, ColumnPos pPos) (package private) static <T extends GameRules.Value<T>>
intGameRuleCommand.queryRule(CommandSourceStack pSource, GameRules.Key<T> pGameRule) private static intTimeCommand.queryTime(CommandSourceStack pSource, int pTime) private static intRandomCommand.randomSample(CommandSourceStack pSource, MinMaxBounds.Ints pRange, ResourceLocation pSequence, boolean pDisplayResult) private static intWhitelistCommand.reload(CommandSourceStack pSource) static voidReloadCommand.reloadPacks(Collection<String> pSelectedIds, CommandSourceStack pSource) private static intScheduleCommand.remove(CommandSourceStack pSource, String pFunction) private static intForceLoadCommand.removeAll(CommandSourceStack pSource) private static intBossBarCommands.removeBar(CommandSourceStack pSource, CustomBossEvent pBossbar) private static intAttributeCommand.removeModifier(CommandSourceStack pSource, Entity pEntity, Holder<Attribute> pAttribute, ResourceLocation pId) private static intScoreboardCommand.removeObjective(CommandSourceStack pSource, Objective pObjective) private static intWhitelistCommand.removePlayers(CommandSourceStack pSource, Collection<com.mojang.authlib.GameProfile> pPlayers) private static intScoreboardCommand.removeScore(CommandSourceStack pSource, Collection<ScoreHolder> pTargets, Objective pObjective, int pAmount) private static intTagCommand.removeTag(CommandSourceStack pSource, Collection<? extends Entity> pEntities, String pTagName) private static intRandomCommand.resetAllSequences(CommandSourceStack pSource) private static intRandomCommand.resetAllSequencesAndSetNewDefaults(CommandSourceStack pSource, int pSeed, boolean pIncludeWorldSeed, boolean pIncludeSequenceId) private static intAttributeCommand.resetAttributeBase(CommandSourceStack pSource, Entity pEntity, Holder<Attribute> pAttribute) private static intScoreboardCommand.resetScore(CommandSourceStack pSource, Collection<ScoreHolder> pTargets, Objective pObjective) private static intScoreboardCommand.resetScores(CommandSourceStack pSource, Collection<ScoreHolder> pTargets) private static intRandomCommand.resetSequence(CommandSourceStack pSource, ResourceLocation pSequence) private static intRandomCommand.resetSequence(CommandSourceStack pSource, ResourceLocation pSequence, int pSeed, boolean pIncludeWorldSeed, boolean pIncludeSequenceId) private static intTitleCommand.resetTitle(CommandSourceStack pSource, Collection<ServerPlayer> pTargets) private static intWardenSpawnTrackerCommand.resetTracker(CommandSourceStack pSource, Collection<? extends Player> pTargets) private static intRotateCommand.rotate(CommandSourceStack pSource, Entity pEntity, Coordinates pCoordinates) private static intRotateCommand.rotate(CommandSourceStack pSource, Entity pEntity, LookAt pLookAt) voidDebugCommand.TraceCustomExecutor.runGuarded(CommandSourceStack p_309716_, com.mojang.brigadier.context.ContextChain<CommandSourceStack> p_306169_, ChainModifiers p_309697_, ExecutionControl<CommandSourceStack> p_306283_) voidFunctionCommand.FunctionCustomExecutor.runGuarded(CommandSourceStack p_305800_, com.mojang.brigadier.context.ContextChain<CommandSourceStack> p_305848_, ChainModifiers p_309662_, ExecutionControl<CommandSourceStack> p_306013_) private static intSaveAllCommand.saveAll(CommandSourceStack pSource, boolean pFlush) private static voidPerfCommand.saveResults(CommandSourceStack pSource, Path pPath, MinecraftServer pServer) private static intScheduleCommand.schedule(CommandSourceStack pSource, com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> pFunction, int pTime, boolean pAppend) private static voidMsgCommand.sendMessage(CommandSourceStack pSource, Collection<ServerPlayer> pTargets, PlayerChatMessage pMessage) private static voidTeamMsgCommand.sendMessage(CommandSourceStack pSource, Entity pSender, PlayerTeam pTeam, List<ServerPlayer> pTeamMembers, PlayerChatMessage pChatMessage) private static intParticleCommand.sendParticles(CommandSourceStack pSource, ParticleOptions pParticleData, Vec3 pPos, Vec3 pDelta, float pSpeed, int pCount, boolean pForce, Collection<ServerPlayer> pViewers) private static voidServerPackCommand.sendToAllConnections(CommandSourceStack pSource, Packet<?> pPacket) private static intAttributeCommand.setAttributeBase(CommandSourceStack pSource, Entity pEntity, Holder<Attribute> pAttribute, double pValue) private static intSetBlockCommand.setBlock(CommandSourceStack pSource, BlockPos pPos, BlockInput pBlock, SetBlockCommand.Mode pMode, Predicate<BlockInWorld> pFilter, boolean pStrict) private static intItemCommands.setBlockItem(CommandSourceStack pSource, BlockPos pPos, int pSlot, ItemStack pItem) private static intWorldBorderCommand.setCenter(CommandSourceStack pSource, Vec2 pPos) private static intWeatherCommand.setClear(CommandSourceStack pSource, int pTime) private static intTeamCommand.setCollision(CommandSourceStack pSource, PlayerTeam pTeam, Team.CollisionRule pRule) private static intBossBarCommands.setColor(CommandSourceStack pSource, CustomBossEvent pBossbar, BossEvent.BossBarColor pColor) private static intTeamCommand.setColor(CommandSourceStack pSource, PlayerTeam pTeam, ChatFormatting pValue) private static intWorldBorderCommand.setDamageAmount(CommandSourceStack pSource, float pDamagePerBlock) private static intWorldBorderCommand.setDamageBuffer(CommandSourceStack pSource, float pDistance) private static intTeamCommand.setDeathMessageVisibility(CommandSourceStack pSource, PlayerTeam pTeam, Team.Visibility pVisibility) static intDifficultyCommand.setDifficulty(CommandSourceStack pSource, Difficulty pDifficulty) private static intScoreboardCommand.setDisplayAutoUpdate(CommandSourceStack pSource, Objective pObjective, boolean pDisplayAutoUpdate) private static intScoreboardCommand.setDisplayName(CommandSourceStack pSource, Objective pObjective, Component pDisplayName) private static intTeamCommand.setDisplayName(CommandSourceStack pSource, PlayerTeam pTeam, Component pValue) private static intScoreboardCommand.setDisplaySlot(CommandSourceStack pSource, DisplaySlot pSlot, Objective pObjective) private static intItemCommands.setEntityItem(CommandSourceStack pSource, Collection<? extends Entity> pTargets, int pSlot, ItemStack pItem) private static intExperienceCommand.setExperience(CommandSourceStack pSource, Collection<? extends ServerPlayer> pTargets, int pAmount, ExperienceCommand.Type pType) private static intTickCommand.setFreeze(CommandSourceStack pSource, boolean pFrozen) private static intTeamCommand.setFriendlyFire(CommandSourceStack pSource, PlayerTeam pTeam, boolean pValue) private static intTeamCommand.setFriendlySight(CommandSourceStack pSource, PlayerTeam pTeam, boolean pValue) private static intSetPlayerIdleTimeoutCommand.setIdleTimeout(CommandSourceStack pSource, int pIdleTimeout) private static intBossBarCommands.setMax(CommandSourceStack pSource, CustomBossEvent pBossbar, int pMax) private static intDefaultGameModeCommands.setMode(CommandSourceStack pCommandSource, GameType pGamemode) Sets theGameTypeof the player who ran the command.private static intBossBarCommands.setName(CommandSourceStack pSource, CustomBossEvent pBossbar, Component pName) private static intTeamCommand.setNametagVisibility(CommandSourceStack pSource, PlayerTeam pTeam, Team.Visibility pVisibility) private static intScoreboardCommand.setObjectiveFormat(CommandSourceStack pSource, Objective pObjective, NumberFormat pFormat) private static intBossBarCommands.setPlayers(CommandSourceStack pSource, CustomBossEvent pBossbar, Collection<ServerPlayer> pPlayers) private static intTeamCommand.setPrefix(CommandSourceStack pSource, PlayerTeam pTeam, Component pPrefix) private static intRaidCommand.setRaidOmenLevel(CommandSourceStack pSource, int pLevel) private static intWeatherCommand.setRain(CommandSourceStack pSource, int pTime) private static intScoreboardCommand.setRenderType(CommandSourceStack pSource, Objective pObjective, ObjectiveCriteria.RenderType pRenderType) private static intScoreboardCommand.setScore(CommandSourceStack pSource, Collection<ScoreHolder> pTargets, Objective pObjective, int pNewValue) private static intScoreboardCommand.setScoreDisplay(CommandSourceStack pSource, Collection<ScoreHolder> pTargets, Objective pObjective, Component pDisplayName) private static intScoreboardCommand.setScoreNumberFormat(CommandSourceStack pSource, Collection<ScoreHolder> pTargets, Objective pObjective, NumberFormat pNumberFormat) private static intWorldBorderCommand.setSize(CommandSourceStack pSource, double pNewSize, long pTime) private static intSetSpawnCommand.setSpawn(CommandSourceStack pSource, Collection<ServerPlayer> pTargets, BlockPos pPos, float pAngle) private static intSetWorldSpawnCommand.setSpawn(CommandSourceStack pSource, BlockPos pPos, float pAngle) private static intBossBarCommands.setStyle(CommandSourceStack pSource, CustomBossEvent pBossbar, BossEvent.BossBarOverlay pStyle) private static intTeamCommand.setSuffix(CommandSourceStack pSource, PlayerTeam pTeam, Component pSuffix) private static intWeatherCommand.setThunder(CommandSourceStack pSource, int pTime) private static intTickCommand.setTickingRate(CommandSourceStack pSource, float pTickRate) static intTimeCommand.setTime(CommandSourceStack pSource, int pTime) private static intTitleCommand.setTimes(CommandSourceStack pSource, Collection<ServerPlayer> pTarget, int pFade, int pStay, int pFadeOut) private static intBossBarCommands.setValue(CommandSourceStack pSource, CustomBossEvent pBossbar, int pValue) private static intTriggerCommand.setValue(CommandSourceStack pSource, ServerPlayer pPlayer, Objective pObjective, int pValue) private static intBossBarCommands.setVisible(CommandSourceStack pSource, CustomBossEvent pBossbar, boolean pVisible) private static intWorldBorderCommand.setWarningDistance(CommandSourceStack pSource, int pDistance) private static intWardenSpawnTrackerCommand.setWarningLevel(CommandSourceStack pSource, Collection<? extends Player> pTargets, int pWarningLevel) private static intWorldBorderCommand.setWarningTime(CommandSourceStack pSource, int pTime) private static intBanListCommands.showList(CommandSourceStack pSource, Collection<? extends BanListEntry<?>> pBannedPlayerList) private static intWhitelistCommand.showList(CommandSourceStack pSource) static intLocateCommand.showLocateResult(CommandSourceStack pSource, ResourceOrTagArgument.Result<?> pResult, BlockPos pSourcePosition, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> pResultWithPosition, String pTranslationKey, boolean pAbsoluteY, Duration pDuration) static intLocateCommand.showLocateResult(CommandSourceStack pSource, ResourceOrTagKeyArgument.Result<?> pResult, BlockPos pSourcePosition, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> pResultWithPosition, String pTranslationKey, boolean pAbsoluteY, Duration pDuration) private static intLocateCommand.showLocateResult(CommandSourceStack pSource, BlockPos pSourcePosition, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> pResultWithoutPosition, String pTranslationKey, boolean pAbsoluteY, String pElementName, Duration pDuration) private static intTitleCommand.showTitle(CommandSourceStack pSource, Collection<ServerPlayer> pTargets, Component pTitle, String pTitleType, Function<Component, Packet<?>> pPacketGetter) private static intTriggerCommand.simpleTrigger(CommandSourceStack pSource, ServerPlayer pPlayer, Objective pObjective) private static intSpawnArmorTrimsCommand.spawnAllArmorTrims(CommandSourceStack pSource, Player pPlayer) private static intSpawnArmorTrimsCommand.spawnArmorTrim(CommandSourceStack pSource, Player pPlayer, ResourceKey<TrimPattern> pPattern) private static intSpawnArmorTrimsCommand.spawnArmorTrims(CommandSourceStack pSource, Player pPlayer, Stream<Holder.Reference<TrimPattern>> pPatterns) private static intSummonCommand.spawnEntity(CommandSourceStack pSource, Holder.Reference<EntityType<?>> pType, Vec3 pPos, CompoundTag pTag, boolean pRandomizeProperties) private static CommandSourceStackExecuteCommand.spawnEntityAndRedirect(CommandSourceStack pSource, Holder.Reference<EntityType<?>> pEntityType) private static intRaidCommand.spawnLeader(CommandSourceStack pSource) private static intDebugMobSpawningCommand.spawnMobs(CommandSourceStack pSource, MobCategory pMobCategory, BlockPos pPos) private static intSpectateCommand.spectate(CommandSourceStack pSource, Entity pTarget, ServerPlayer pPlayer) private static intSpreadPlayersCommand.spreadPlayers(CommandSourceStack pSource, Vec2 pCenter, float pSpreadDistance, float pMaxRange, int pMaxHeight, boolean pRespectTeams, Collection<? extends Entity> pTargets) private static intTickCommand.sprint(CommandSourceStack pSource, int pSprintTime) private static intDebugCommand.start(CommandSourceStack pSource) private static intRaidCommand.start(CommandSourceStack pSource, int pBadOmenLevel) private static intJfrCommand.startJfr(CommandSourceStack pSource) private static intPerfCommand.startProfilingDedicatedServer(CommandSourceStack pSource) private static intTickCommand.step(CommandSourceStack pSource, int pTicks) private static intChaseCommand.stop(CommandSourceStack pSource) private static intDebugCommand.stop(CommandSourceStack pSource) private static intRaidCommand.stop(CommandSourceStack pSource) private static intJfrCommand.stopJfr(CommandSourceStack pSource) private static intPerfCommand.stopProfilingDedicatedServer(CommandSourceStack pSource) private static intStopSoundCommand.stopSound(CommandSourceStack pSource, Collection<ServerPlayer> pTargets, SoundSource pCategory, ResourceLocation pSound) private static intTickCommand.stopSprinting(CommandSourceStack pSource) private static intTickCommand.stopStepping(CommandSourceStack pSource) private static CommandSourceStackExecuteCommand.storeData(CommandSourceStack pSource, DataAccessor pAccessor, NbtPathArgument.NbtPath pPath, IntFunction<Tag> pTagConverter, boolean pStoringResult) private static CommandSourceStackExecuteCommand.storeValue(CommandSourceStack pSource, Collection<ScoreHolder> pTargets, Objective pObjective, boolean pStoringResult) private static CommandSourceStackExecuteCommand.storeValue(CommandSourceStack pSource, CustomBossEvent pBar, boolean pStoringValue, boolean pStoringResult) static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> TriggerCommand.suggestObjectives(CommandSourceStack pSource, com.mojang.brigadier.suggestion.SuggestionsBuilder pBuilder) private static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> ScoreboardCommand.suggestTriggers(CommandSourceStack pSource, Collection<ScoreHolder> pTargets, com.mojang.brigadier.suggestion.SuggestionsBuilder pSuggestions) private static intRecipeCommand.takeRecipes(CommandSourceStack pSource, Collection<ServerPlayer> pTargets, Collection<RecipeHolder<?>> pRecipes) private static intTeleportCommand.teleportToEntity(CommandSourceStack pSource, Collection<? extends Entity> pTargets, Entity pDestination) private static intTeleportCommand.teleportToPos(CommandSourceStack pSource, Collection<? extends Entity> pTargets, ServerLevel pLevel, Coordinates pPosition, Coordinates pRotation, LookAt pLookAt) private static intTickCommand.tickQuery(CommandSourceStack pSource) private static intTransferCommand.transfer(CommandSourceStack pSource, String pHostname, int pPort, Collection<ServerPlayer> pPlayers) private static intPardonIpCommand.unban(CommandSourceStack pSource, String pIpAddress) private static intDebugConfigCommand.unconfig(CommandSourceStack pSource, UUID pTarget) private static voidPerfCommand.whenStopped(CommandSourceStack pSource, ProfileResults pResults) Method parameters in net.minecraft.server.commands with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionintLootCommand.DropConsumer.accept(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, List<ItemStack> pItems, LootCommand.Callback pCallback) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> ExecuteCommand.addConditional(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> pCommandNode, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pBuilder, boolean pValue, ExecuteCommand.CommandPredicate pTest) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> ExecuteCommand.addConditional(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> pCommandNode, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pBuilder, boolean pValue, ExecuteCommand.CommandPredicate pTest) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> ExecuteCommand.addConditionals(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> pParent, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> pLiteral, boolean pIsIf, CommandBuildContext pBuildContext) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> ExecuteCommand.addConditionals(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> pParent, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> pLiteral, boolean pIsIf, CommandBuildContext pBuildContext) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> ExecuteCommand.addIfBlocksConditional(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> pCommandNode, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pLiteral, boolean pIsIf, boolean pIsMasked) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> ExecuteCommand.addIfBlocksConditional(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> pCommandNode, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pLiteral, boolean pIsIf, boolean pIsMasked) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> ScoreboardCommand.addNumberFormats(CommandBuildContext pContext, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder, ScoreboardCommand.NumberFormatCommandExecutor pExecutor) voidExecuteCommand.ExecuteIfFunctionCustomModifier.apply(CommandSourceStack p_309582_, List<CommandSourceStack> p_309642_, com.mojang.brigadier.context.ContextChain<CommandSourceStack> p_309682_, ChainModifiers p_309694_, ExecutionControl<CommandSourceStack> p_309646_) voidExecuteCommand.ExecuteIfFunctionCustomModifier.apply(CommandSourceStack p_309582_, List<CommandSourceStack> p_309642_, com.mojang.brigadier.context.ContextChain<CommandSourceStack> p_309682_, ChainModifiers p_309694_, ExecutionControl<CommandSourceStack> p_309646_) voidExecuteCommand.ExecuteIfFunctionCustomModifier.apply(CommandSourceStack p_309582_, List<CommandSourceStack> p_309642_, com.mojang.brigadier.context.ContextChain<CommandSourceStack> p_309682_, ChainModifiers p_309694_, ExecutionControl<CommandSourceStack> p_309646_) protected abstract CompoundTagFunctionCommand.FunctionCustomExecutor.arguments(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> CloneCommands.beginEndDestinationAndModeSuffix(CommandBuildContext pBuildContext, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> pLevelGetter) private static intExecuteCommand.checkIfRegions(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, boolean pIsMasked) private static OptionalIntExecuteCommand.checkRegions(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, boolean pIsMasked) private static booleanExecuteCommand.checkScore(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, MinMaxBounds.Ints pBounds) private static booleanExecuteCommand.checkScore(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pSource, ExecuteCommand.IntBiPredicate pPredicate) private static intExecuteCommand.checkUnlessRegions(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, boolean pIsMasked) com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> LootCommand.TailProvider.construct(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pBuilder, LootCommand.DropConsumer pDropConsumer) private static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> ExecuteCommand.createRelationOperations(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> pNode, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> pArgumentBuilder) private static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> ExecuteCommand.createRelationOperations(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> pNode, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> pArgumentBuilder) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> CloneCommands.destinationAndStrictSuffix(CommandBuildContext pBuildContext, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> pSourceLevelGetter, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> pDestinationLevelGetter) private static intLootCommand.drop(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, Holder<LootTable> pLootTable, LootParams pParams, LootCommand.DropConsumer pDropConsumer) private static intLootCommand.dropBlockLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, BlockPos pPos, ItemStack pTool, LootCommand.DropConsumer pDropConsumer) private static intLootCommand.dropChestLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, Holder<LootTable> pLootTable, LootCommand.DropConsumer pDropCOnsimer) private static intLootCommand.dropFishingLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, Holder<LootTable> pLootTable, BlockPos pPos, ItemStack pTool, LootCommand.DropConsumer pDropConsumet) private static intLootCommand.dropKillLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, Entity pEntity, LootCommand.DropConsumer pDropConsumer) private static Collection<CommandSourceStack> ExecuteCommand.expect(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, boolean pActual, boolean pExpected) 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> pContext, AdvancementHolder pAdvancement, AdvancementCommands.Mode pMode) static CustomBossEventBossBarCommands.getBossBar(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pSource) private static CloneCommands.DimensionAndPositionCloneCommands.getLoadedDimensionAndPosition(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, ServerLevel pLevel, String pName) private static PackDataPackCommand.getPack(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName, boolean pEnabling) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> CloneCommands.modeSuffix(CommandBuildContext pBuildContext, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> pBegin, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> pEnd, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> pDestination, boolean pStrict, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> CloneCommands.modeSuffix(CommandBuildContext pBuildContext, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> pBegin, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> pEnd, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> pDestination, boolean pStrict, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder) static voidAdvancementCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidAttributeCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidBanIpCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidBanListCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidBanPlayerCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidBossBarCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidChaseCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidClearInventoryCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidCloneCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidDamageCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidDataPackCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidDebugCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidDebugConfigCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidDebugMobSpawningCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidDebugPathCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidDefaultGameModeCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidDeOpCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidDifficultyCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidEffectCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidEmoteCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidEnchantCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidExecuteCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pBuildContext) static voidExperienceCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidFillBiomeCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidFillCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pBuildContext) static voidForceLoadCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidFunctionCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidGameModeCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidGameRuleCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pCommandBuildContext) static voidGiveCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidHelpCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidItemCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidJfrCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidKickCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidKillCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidListPlayersCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidLocateCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidLootCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidMsgCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidOpCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidPardonCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidPardonIpCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidParticleCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidPerfCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidPlaceCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidPlaySoundCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidPublishCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidRaidCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidRandomCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidRecipeCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidReloadCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidRideCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidRotateCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidSaveAllCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidSaveOffCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidSaveOnCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidSayCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidScheduleCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidScoreboardCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidSeedCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, boolean pNotIntegratedServer) static voidServerPackCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidSetBlockCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pBuildContext) static voidSetPlayerIdleTimeoutCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidSetSpawnCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidSetWorldSpawnCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidSpawnArmorTrimsCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidSpectateCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidSpreadPlayersCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidStopCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidStopSoundCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidSummonCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidTagCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidTeamCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidTeamMsgCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidTeleportCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidTellRawCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidTickCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidTimeCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidTitleCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidTransferCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidTriggerCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidWardenSpawnTrackerCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidWeatherCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidWhitelistCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static voidWorldBorderCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) intScoreboardCommand.NumberFormatCommandExecutor.run(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, NumberFormat pFormat) voidDebugCommand.TraceCustomExecutor.runGuarded(CommandSourceStack p_309716_, com.mojang.brigadier.context.ContextChain<CommandSourceStack> p_306169_, ChainModifiers p_309697_, ExecutionControl<CommandSourceStack> p_306283_) voidDebugCommand.TraceCustomExecutor.runGuarded(CommandSourceStack p_309716_, com.mojang.brigadier.context.ContextChain<CommandSourceStack> p_306169_, ChainModifiers p_309697_, ExecutionControl<CommandSourceStack> p_306283_) voidFunctionCommand.FunctionCustomExecutor.runGuarded(CommandSourceStack p_305800_, com.mojang.brigadier.context.ContextChain<CommandSourceStack> p_305848_, ChainModifiers p_309662_, ExecutionControl<CommandSourceStack> p_306013_) voidFunctionCommand.FunctionCustomExecutor.runGuarded(CommandSourceStack p_305800_, com.mojang.brigadier.context.ContextChain<CommandSourceStack> p_305848_, ChainModifiers p_309662_, ExecutionControl<CommandSourceStack> p_306013_) private static intScheduleCommand.schedule(CommandSourceStack pSource, com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> pFunction, int pTime, boolean pAppend) private static intScheduleCommand.schedule(CommandSourceStack pSource, com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> pFunction, int pTime, boolean pAppend) private static intGameModeCommand.setMode(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pSource, Collection<ServerPlayer> pPlayers, GameType pGameType) (package private) static <T extends GameRules.Value<T>>
intGameRuleCommand.setRule(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pSource, GameRules.Key<T> pGameRule) private static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> RandomCommand.suggestRandomSequence(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, com.mojang.brigadier.suggestion.SuggestionsBuilder pSuggestionsBuilder) intExecuteCommand.CommandNumericPredicate.test(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext) booleanExecuteCommand.CommandPredicate.test(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> ExecuteCommand.wrapStores(com.mojang.brigadier.tree.LiteralCommandNode<CommandSourceStack> pParent, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> pLiteral, boolean pStoringResult) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> ExecuteCommand.wrapStores(com.mojang.brigadier.tree.LiteralCommandNode<CommandSourceStack> pParent, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> pLiteral, boolean pStoringResult) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> CloneCommands.wrapWithCloneMode(InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> pBegin, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> pEnd, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> pDestination, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> pFilter, boolean pStrict, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> CloneCommands.wrapWithCloneMode(InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> pBegin, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> pEnd, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> pDestination, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> pFilter, boolean pStrict, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> FillCommand.wrapWithMode(CommandBuildContext pBuildContext, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> pFrom, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> pTo, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockInput> pBlock, FillCommand.NullableCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> pFilter) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> FillCommand.wrapWithMode(CommandBuildContext pBuildContext, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> pFrom, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> pTo, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockInput> pBlock, FillCommand.NullableCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> pFilter) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> FillCommand.wrapWithMode(CommandBuildContext pBuildContext, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> pFrom, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> pTo, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockInput> pBlock, FillCommand.NullableCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> pFilter) -
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 pDataManipulator) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> DataCommands.decorateModification(BiConsumer<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, DataCommands.DataManipulatorDecorator> pDecorator) com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> DataCommands.DataProvider.wrap(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pBuilder, Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>> pAction) 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 pSource, DataAccessor pAccessor) Gets all NBT on the object, and applies syntax highlighting.private static intDataCommands.getData(CommandSourceStack pSource, DataAccessor pAccessor, NbtPathArgument.NbtPath pPath) Gets a value, which can be of any known NBT type.private static intDataCommands.getNumeric(CommandSourceStack pSource, DataAccessor pAccessor, NbtPathArgument.NbtPath pPath, double pScale) Gets a single numeric element, scaled by the given amount.private static intDataCommands.mergeData(CommandSourceStack pSource, DataAccessor pAccessor, CompoundTag pNbt) Merges the given NBT into the targeted object's NBT.private static intDataCommands.removeData(CommandSourceStack pSource, DataAccessor pAccessor, NbtPathArgument.NbtPath pPath) 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> pContext) 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> pDecorator) (package private) static CommandStorageStorageDataAccessor.getGlobalTags(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext) DataCommands.getSingletonSource(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, DataCommands.DataProvider pDataProvider) private static intDataCommands.manipulateData(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pSource, DataCommands.DataProvider pDataProvider, DataCommands.DataManipulator pDataManipulator, List<Tag> pTags) intDataCommands.DataManipulator.modify(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, CompoundTag pNbt, NbtPathArgument.NbtPath pNbtPath, List<Tag> pTags) static voidDataCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) DataCommands.resolveSourcePath(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, DataCommands.DataProvider pDataProvider) com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> DataCommands.DataProvider.wrap(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pBuilder, Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>> pAction) 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, ?> pBuilder, Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>> pAction) 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, ?> pBuilder, Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>> pAction) 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 pMsg, CommandSourceStack pSource) -
Uses of CommandSourceStack in net.minecraft.server.level
Methods in net.minecraft.server.level that return CommandSourceStack -
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 pCommand) -
Uses of CommandSourceStack in net.minecraft.server.players
Methods in net.minecraft.server.players with parameters of type CommandSourceStackModifier and TypeMethodDescriptionvoidPlayerList.broadcastChatMessage(PlayerChatMessage pMessage, CommandSourceStack pSender, ChatType.Bound pBoundChatType) -
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 CommandSourceStackModifier and TypeMethodDescriptionEntity.createCommandSourceStackForNameResolution(ServerLevel pLevel) -
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.component
Methods in net.minecraft.world.item.component with parameters of type CommandSourceStackModifier and TypeMethodDescriptionWrittenBookContent.resolve(CommandSourceStack pSource, Player pPlayer) static booleanWrittenBookContent.resolveForItem(ItemStack pStack, CommandSourceStack pSource, Player pPlayer) private static Optional<Filterable<Component>> WrittenBookContent.resolvePage(CommandSourceStack pSource, Player pPlayer, Filterable<Component> pPages) -
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 pName) Method parameters in net.minecraft.world.level with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionvoidGameRules.Value.setFromArgument(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pParamName) protected voidGameRules.BooleanValue.updateFromArgument(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pParamName) protected voidGameRules.IntegerValue.updateFromArgument(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pParamName) protected abstract voidGameRules.Value.updateFromArgument(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pParamName) -
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 pPlayer, ServerLevel pLevel) private static CommandSourceStackSignBlockEntity.createCommandSourceStack(Player pPlayer, Level pLevel, BlockPos pPos) -
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)