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
Classes in net.minecraft.commands that implement interfaces with type arguments of type CommandSourceStackFields in net.minecraft.commands with type parameters of type CommandSourceStackModifier and TypeFieldDescriptionprivate static final ClientboundCommandsPacket.NodeInspector<CommandSourceStack> Commands.COMMAND_NODE_INSPECTORprivate static final ThreadLocal<@Nullable ExecutionContext<CommandSourceStack>> Commands.CURRENT_EXECUTION_CONTEXTprivate final CommandDispatcher<CommandSourceStack> Commands.dispatcherprivate Optional<CommandFunction<CommandSourceStack>> CacheableFunction.functionMethods in net.minecraft.commands that return CommandSourceStackModifier and TypeMethodDescriptionstatic CommandSourceStackCommands.createCompilationContext(PermissionSet compilationPermissions) CommandSourceStack.facing(Entity entity, EntityAnchorArgument.Anchor anchor) CommandSourceStack.withAnchor(EntityAnchorArgument.Anchor anchor) CommandSourceStack.withCallback(CommandResultCallback resultCallback) CommandSourceStack.withCallback(CommandResultCallback newCallback, BinaryOperator<CommandResultCallback> combiner) CommandSourceStack.withEntity(Entity entity) CommandSourceStack.withLevel(ServerLevel level) CommandSourceStack.withMaximumPermission(PermissionSet newPermissions) CommandSourceStack.withPermission(PermissionSet permissions) CommandSourceStack.withPosition(Vec3 pos) CommandSourceStack.withRotation(Vec2 rotation) CommandSourceStack.withSigningContext(CommandSigningContext signingContext, TaskChainer chatMessageChainer) CommandSourceStack.withSource(CommandSource source) CommandSourceStack.withSuppressedOutput()Methods in net.minecraft.commands that return types with arguments of type CommandSourceStackModifier and TypeMethodDescriptionstatic <T> RequiredArgumentBuilder<CommandSourceStack, T> Commands.argument(String name, ArgumentType<T> type) CommandSourceStack.dispatcher()private static @Nullable ContextChain<CommandSourceStack> Commands.finishParsing(ParseResults<CommandSourceStack> command, String commandString, CommandSourceStack sender) CacheableFunction.get(ServerFunctionManager manager) Commands.getDispatcher()Methods in net.minecraft.commands with parameters of type CommandSourceStackModifier and TypeMethodDescriptionstatic voidCommands.executeCommandInContext(CommandSourceStack context, Consumer<ExecutionContext<CommandSourceStack>> config) private static @Nullable ContextChain<CommandSourceStack> Commands.finishParsing(ParseResults<CommandSourceStack> command, String commandString, CommandSourceStack sender) voidCommands.performPrefixedCommand(CommandSourceStack sender, String command) Method parameters in net.minecraft.commands with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionstatic voidCommands.executeCommandInContext(CommandSourceStack context, Consumer<ExecutionContext<CommandSourceStack>> config) private static @Nullable ContextChain<CommandSourceStack> Commands.finishParsing(ParseResults<CommandSourceStack> command, String commandString, CommandSourceStack sender) voidCommands.performCommand(ParseResults<CommandSourceStack> command, String commandString) -
Uses of CommandSourceStack in net.minecraft.commands.arguments
Fields in net.minecraft.commands.arguments with type parameters of type CommandSourceStackModifier and TypeFieldDescriptionstatic final SuggestionProvider<CommandSourceStack> ScoreHolderArgument.SUGGEST_SCORE_HOLDERSMethods in net.minecraft.commands.arguments with parameters of type CommandSourceStackModifier and TypeMethodDescriptionEntityAnchorArgument.Anchor.apply(CommandSourceStack source) private static CompletableFuture<FilteredText> MessageArgument.filterPlainText(CommandSourceStack sender, PlayerChatMessage message) floatAngleArgument.SingleAngle.getAngle(CommandSourceStack sender) GameProfileArgument.Result.getNames(CommandSourceStack sender) GameProfileArgument.SelectorResult.getNames(CommandSourceStack sender) ScoreHolderArgument.Result.getNames(CommandSourceStack sender, Supplier<Collection<ScoreHolder>> wildcard) ScoreHolderArgument.SelectorResult.getNames(CommandSourceStack sender, Supplier<Collection<ScoreHolder>> wildcard) private ComponentMessageArgument.Message.resolveComponent(CommandSourceStack sender) private static voidMessageArgument.resolveDisguisedMessage(Consumer<PlayerChatMessage> task, CommandSourceStack sender, PlayerChatMessage argument) private static voidMessageArgument.resolveSignedMessage(Consumer<PlayerChatMessage> task, CommandSourceStack sender, PlayerChatMessage signedArgument) MessageArgument.Message.toComponent(CommandSourceStack sender, boolean allowSelectors) MessageArgument.Part.toComponent(CommandSourceStack sender) Method parameters in net.minecraft.commands.arguments with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionstatic AdvancementHolderResourceKeyArgument.getAdvancement(CommandContext<CommandSourceStack> context, String name) static EntityAnchorArgument.AnchorEntityAnchorArgument.getAnchor(CommandContext<CommandSourceStack> context, String name) static floatAngleArgument.getAngle(CommandContext<CommandSourceStack> context, String name) static Holder.Reference<Attribute> ResourceArgument.getAttribute(CommandContext<CommandSourceStack> context, String name) static Holder.Reference<WorldClock> ResourceArgument.getClock(CommandContext<CommandSourceStack> context, String name) static ChatFormattingColorArgument.getColor(CommandContext<CommandSourceStack> context, String name) static Holder.Reference<ConfiguredFeature<?, ?>> ResourceArgument.getConfiguredFeature(CommandContext<CommandSourceStack> context, String name) static Holder.Reference<ConfiguredFeature<?, ?>> ResourceKeyArgument.getConfiguredFeature(CommandContext<CommandSourceStack> context, String name) static ObjectiveCriteriaObjectiveCriteriaArgument.getCriteria(CommandContext<CommandSourceStack> context, String name) ResourceOrIdArgument.getDialog(CommandContext<CommandSourceStack> context, String name) static ServerLevelDimensionArgument.getDimension(CommandContext<CommandSourceStack> context, String name) static DisplaySlotScoreboardSlotArgument.getDisplaySlot(CommandContext<CommandSourceStack> context, String name) static Holder.Reference<Enchantment> ResourceArgument.getEnchantment(CommandContext<CommandSourceStack> context, String name) static Collection<? extends Entity> EntityArgument.getEntities(CommandContext<CommandSourceStack> context, String name) static EntityEntityArgument.getEntity(CommandContext<CommandSourceStack> context, String name) static Holder.Reference<EntityType<?>> ResourceArgument.getEntityType(CommandContext<CommandSourceStack> context, String name) static GameTypeGameModeArgument.getGameMode(CommandContext<CommandSourceStack> context, String name) static Collection<NameAndId> GameProfileArgument.getGameProfiles(CommandContext<CommandSourceStack> source, String name) static Heightmap.TypesHeightmapTypeArgument.getHeightmap(CommandContext<CommandSourceStack> context, String name) static IntegerHexColorArgument.getHexColor(CommandContext<CommandSourceStack> context, String name) static IdentifierIdentifierArgument.getId(CommandContext<CommandSourceStack> context, String name) static Holder<LootItemFunction> ResourceOrIdArgument.getLootModifier(CommandContext<CommandSourceStack> context, String name) static Holder<LootItemCondition> ResourceOrIdArgument.getLootPredicate(CommandContext<CommandSourceStack> context, String name) ResourceOrIdArgument.getLootTable(CommandContext<CommandSourceStack> context, String name) static ComponentMessageArgument.getMessage(CommandContext<CommandSourceStack> context, String name) static MirrorTemplateMirrorArgument.getMirror(CommandContext<CommandSourceStack> context, String name) static Holder.Reference<MobEffect> ResourceArgument.getMobEffect(CommandContext<CommandSourceStack> context, String name) static ScoreHolderScoreHolderArgument.getName(CommandContext<CommandSourceStack> context, String name) static Collection<ScoreHolder> ScoreHolderArgument.getNames(CommandContext<CommandSourceStack> context, String name) static Collection<ScoreHolder> ScoreHolderArgument.getNames(CommandContext<CommandSourceStack> context, String name, Supplier<Collection<ScoreHolder>> wildcard) static Collection<ScoreHolder> ScoreHolderArgument.getNamesWithDefaultWildcard(CommandContext<CommandSourceStack> context, String name) static ObjectiveObjectiveArgument.getObjective(CommandContext<CommandSourceStack> context, String name) static OperationArgument.OperationOperationArgument.getOperation(CommandContext<CommandSourceStack> context, String name) static Collection<? extends Entity> EntityArgument.getOptionalEntities(CommandContext<CommandSourceStack> context, String name) static Collection<ServerPlayer> EntityArgument.getOptionalPlayers(CommandContext<CommandSourceStack> context, String name) static ParticleOptionsParticleArgument.getParticle(CommandContext<CommandSourceStack> context, String name) static NbtPathArgument.NbtPathNbtPathArgument.getPath(CommandContext<CommandSourceStack> context, String name) static ServerPlayerEntityArgument.getPlayer(CommandContext<CommandSourceStack> context, String name) static Collection<ServerPlayer> EntityArgument.getPlayers(CommandContext<CommandSourceStack> context, String name) static MinMaxBounds.DoublesRangeArgument.Floats.getRange(CommandContext<CommandSourceStack> context, String name) static MinMaxBounds.IntsRangeArgument.Ints.getRange(CommandContext<CommandSourceStack> context, String name) static ComponentComponentArgument.getRawComponent(CommandContext<CommandSourceStack> context, String name) static RecipeHolder<?> ResourceKeyArgument.getRecipe(CommandContext<CommandSourceStack> context, String name) private static <T> Registry<T> ResourceKeyArgument.getRegistry(CommandContext<CommandSourceStack> context, ResourceKey<? extends Registry<T>> registryKey) static <T> ResourceKey<T> ResourceKeyArgument.getRegistryKey(CommandContext<CommandSourceStack> context, String name, ResourceKey<Registry<T>> registryKey, DynamicCommandExceptionType exceptionType) static ComponentComponentArgument.getResolvedComponent(CommandContext<CommandSourceStack> context, String name) static ComponentComponentArgument.getResolvedComponent(CommandContext<CommandSourceStack> context, String name, Entity contentEntity) static <T> Holder.Reference<T> ResourceArgument.getResource(CommandContext<CommandSourceStack> context, String name, ResourceKey<Registry<T>> registryKey) private static <T> Holder<T> ResourceOrIdArgument.getResource(CommandContext<CommandSourceStack> context, String name) static <T> ResourceOrTagArgument.Result<T> ResourceOrTagArgument.getResourceOrTag(CommandContext<CommandSourceStack> context, String name, ResourceKey<Registry<T>> registryKey) static <T> ResourceOrTagKeyArgument.Result<T> ResourceOrTagKeyArgument.getResourceOrTagKey(CommandContext<CommandSourceStack> context, String name, ResourceKey<Registry<T>> registryKey, DynamicCommandExceptionType exceptionType) static RotationTemplateRotationArgument.getRotation(CommandContext<CommandSourceStack> context, String name) static <T> Collection<Holder.Reference<T>> ResourceSelectorArgument.getSelectedResources(CommandContext<CommandSourceStack> context, String name) static intSlotArgument.getSlot(CommandContext<CommandSourceStack> context, String name) static SlotRangeSlotsArgument.getSlots(CommandContext<CommandSourceStack> context, String name) static Holder.Reference<Structure> ResourceArgument.getStructure(CommandContext<CommandSourceStack> context, String name) static Holder.Reference<Structure> ResourceKeyArgument.getStructure(CommandContext<CommandSourceStack> context, String name) ResourceKeyArgument.getStructureTemplatePool(CommandContext<CommandSourceStack> context, String name) static StyleStyleArgument.getStyle(CommandContext<CommandSourceStack> context, String name) static Holder.Reference<EntityType<?>> ResourceArgument.getSummonableEntityType(CommandContext<CommandSourceStack> context, String name) static PlayerTeamTeamArgument.getTeam(CommandContext<CommandSourceStack> context, String name) static Holder.Reference<Timeline> ResourceArgument.getTimeline(CommandContext<CommandSourceStack> context, String name) static UUIDUuidArgument.getUuid(CommandContext<CommandSourceStack> source, String name) static WaypointTransmitterWaypointArgument.getWaypoint(CommandContext<CommandSourceStack> context, String name) static ObjectiveObjectiveArgument.getWritableObjective(CommandContext<CommandSourceStack> context, String name) static voidMessageArgument.resolveChatMessage(CommandContext<CommandSourceStack> context, String name, Consumer<PlayerChatMessage> task) private static <T> Holder.Reference<T> ResourceKeyArgument.resolveKey(CommandContext<CommandSourceStack> context, String name, ResourceKey<Registry<T>> registryKey, DynamicCommandExceptionType exception) -
Uses of CommandSourceStack in net.minecraft.commands.arguments.blocks
Method parameters in net.minecraft.commands.arguments.blocks with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionstatic BlockInputBlockStateArgument.getBlock(CommandContext<CommandSourceStack> context, String name) static Predicate<BlockInWorld> BlockPredicateArgument.getBlockPredicate(CommandContext<CommandSourceStack> context, String name) -
Uses of CommandSourceStack in net.minecraft.commands.arguments.coordinates
Methods in net.minecraft.commands.arguments.coordinates with parameters of type CommandSourceStackModifier and TypeMethodDescriptiondefault BlockPosCoordinates.getBlockPos(CommandSourceStack sender) Coordinates.getPosition(CommandSourceStack sender) LocalCoordinates.getPosition(CommandSourceStack sender) WorldCoordinates.getPosition(CommandSourceStack sender) Coordinates.getRotation(CommandSourceStack sender) LocalCoordinates.getRotation(CommandSourceStack sender) WorldCoordinates.getRotation(CommandSourceStack sender) Method parameters in net.minecraft.commands.arguments.coordinates with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionstatic BlockPosBlockPosArgument.getBlockPos(CommandContext<CommandSourceStack> context, String name) static ColumnPosColumnPosArgument.getColumnPos(CommandContext<CommandSourceStack> context, String name) static CoordinatesVec3Argument.getCoordinates(CommandContext<CommandSourceStack> context, String name) static BlockPosBlockPosArgument.getLoadedBlockPos(CommandContext<CommandSourceStack> context, String name) static BlockPosBlockPosArgument.getLoadedBlockPos(CommandContext<CommandSourceStack> context, ServerLevel level, String name) static CoordinatesRotationArgument.getRotation(CommandContext<CommandSourceStack> context, String name) static BlockPosBlockPosArgument.getSpawnablePos(CommandContext<CommandSourceStack> context, String name) static EnumSet<Direction.Axis> SwizzleArgument.getSwizzle(CommandContext<CommandSourceStack> context, String name) static Vec2Vec2Argument.getVec2(CommandContext<CommandSourceStack> context, String name) static Vec3Vec3Argument.getVec3(CommandContext<CommandSourceStack> context, String name) -
Uses of CommandSourceStack in net.minecraft.commands.arguments.item
Methods in net.minecraft.commands.arguments.item that return types with arguments of type CommandSourceStackModifier and TypeMethodDescriptionFunctionArgument.Result.create(CommandContext<CommandSourceStack> context) private static CommandFunction<CommandSourceStack> FunctionArgument.getFunction(CommandContext<CommandSourceStack> c, Identifier id) static Pair<Identifier, Collection<CommandFunction<CommandSourceStack>>> FunctionArgument.getFunctionCollection(CommandContext<CommandSourceStack> context, String name) static Pair<Identifier, Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.getFunctionOrTag(CommandContext<CommandSourceStack> context, String name) static Pair<Identifier, Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.getFunctionOrTag(CommandContext<CommandSourceStack> context, String name) static Collection<CommandFunction<CommandSourceStack>> FunctionArgument.getFunctions(CommandContext<CommandSourceStack> context, String name) private static Collection<CommandFunction<CommandSourceStack>> FunctionArgument.getFunctionTag(CommandContext<CommandSourceStack> c, Identifier id) Pair<Identifier, Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.Result.unwrap(CommandContext<CommandSourceStack> context) Pair<Identifier, Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.Result.unwrap(CommandContext<CommandSourceStack> context) FunctionArgument.Result.unwrapToCollection(CommandContext<CommandSourceStack> context) Method parameters in net.minecraft.commands.arguments.item with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionFunctionArgument.Result.create(CommandContext<CommandSourceStack> context) private static CommandFunction<CommandSourceStack> FunctionArgument.getFunction(CommandContext<CommandSourceStack> c, Identifier id) static Pair<Identifier, Collection<CommandFunction<CommandSourceStack>>> FunctionArgument.getFunctionCollection(CommandContext<CommandSourceStack> context, String name) static Pair<Identifier, Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.getFunctionOrTag(CommandContext<CommandSourceStack> context, String name) static Collection<CommandFunction<CommandSourceStack>> FunctionArgument.getFunctions(CommandContext<CommandSourceStack> context, String name) private static Collection<CommandFunction<CommandSourceStack>> FunctionArgument.getFunctionTag(CommandContext<CommandSourceStack> c, Identifier id) static ItemPredicateArgument.ResultItemPredicateArgument.getItemPredicate(CommandContext<CommandSourceStack> context, String name) Pair<Identifier, Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.Result.unwrap(CommandContext<CommandSourceStack> context) FunctionArgument.Result.unwrapToCollection(CommandContext<CommandSourceStack> context) -
Uses of CommandSourceStack in net.minecraft.commands.arguments.selector
Methods in net.minecraft.commands.arguments.selector with parameters of type CommandSourceStackModifier and TypeMethodDescriptionprivate voidEntitySelector.checkPermissions(CommandSourceStack sender) EntitySelector.findEntities(CommandSourceStack sender) EntitySelector.findPlayers(CommandSourceStack sender) EntitySelector.findSingleEntity(CommandSourceStack sender) EntitySelector.findSinglePlayer(CommandSourceStack sender) -
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 ArgumentBuilder<CommandSourceStack, ?> TestCommand.runWithRetryOptions(ArgumentBuilder<CommandSourceStack, ?> runArgument, InCommandFunction<CommandContext<CommandSourceStack>, TestFinder> finder) private static ArgumentBuilder<CommandSourceStack, ?> TestCommand.runWithRetryOptions(ArgumentBuilder<CommandSourceStack, ?> runArgument, InCommandFunction<CommandContext<CommandSourceStack>, TestFinder> finder, Function<ArgumentBuilder<CommandSourceStack, ?>, ArgumentBuilder<CommandSourceStack, ?>> then) private static ArgumentBuilder<CommandSourceStack, ?> TestCommand.runWithRetryOptionsAndBuildInfo(ArgumentBuilder<CommandSourceStack, ?> runArgument, InCommandFunction<CommandContext<CommandSourceStack>, TestFinder> finder) Methods in net.minecraft.gametest.framework with parameters of type CommandSourceStackModifier and TypeMethodDescriptionprivate TestFinderTestFinder.Builder.build(CommandSourceStack source, TestInstanceFinder testInstanceFinder, TestPosFinder testPosFinder) private static Optional<GameTestInfo> TestCommand.createGameTestInfo(BlockPos testBlockPos, CommandSourceStack source, RetryOptions retryOptions) private static intTestCommand.createNewStructure(CommandSourceStack source, Identifier id, int xSize, int ySize, int zSize) private static BlockPosTestCommand.createTestPositionAround(CommandSourceStack source) private static intTestCommand.exportTestStructure(CommandSourceStack source, Holder<GameTestInstance> test) private static intTestCommand.resetGameTestInfo(CommandSourceStack source, GameTestInfo testInfo) private static intTestCommand.showPos(CommandSourceStack source, String varName) private static Stream<GameTestInfo> TestCommand.toGameTestInfo(CommandSourceStack source, RetryOptions retryOptions, TestInstanceFinder finder, int rotationSteps) private static Stream<GameTestInfo> TestCommand.toGameTestInfos(CommandSourceStack source, RetryOptions retryOptions, TestPosFinder finder) static intTestCommand.trackAndStartRunner(CommandSourceStack source, GameTestRunner runner) private static booleanTestCommand.verifyStructureExists(CommandSourceStack source, Identifier structure) Method parameters in net.minecraft.gametest.framework with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionTestFinder.Builder.allNearby(CommandContext<CommandSourceStack> sourceStack) TestFinder.Builder.byResourceSelection(CommandContext<CommandSourceStack> sourceStack, Collection<Holder.Reference<GameTestInstance>> holders) TestFinder.Builder.failedTests(CommandContext<CommandSourceStack> sourceStack) TestFinder.Builder.failedTests(CommandContext<CommandSourceStack> sourceStack, boolean onlyRequiredTests) TestFinder.Builder.lookedAt(CommandContext<CommandSourceStack> sourceStack) TestFinder.Builder.nearest(CommandContext<CommandSourceStack> sourceStack) TestFinder.Builder.radius(CommandContext<CommandSourceStack> sourceStack, int radius) static voidTestCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) private static ArgumentBuilder<CommandSourceStack, ?> TestCommand.runWithRetryOptions(ArgumentBuilder<CommandSourceStack, ?> runArgument, InCommandFunction<CommandContext<CommandSourceStack>, TestFinder> finder) private static ArgumentBuilder<CommandSourceStack, ?> TestCommand.runWithRetryOptions(ArgumentBuilder<CommandSourceStack, ?> runArgument, InCommandFunction<CommandContext<CommandSourceStack>, TestFinder> finder) private static ArgumentBuilder<CommandSourceStack, ?> TestCommand.runWithRetryOptions(ArgumentBuilder<CommandSourceStack, ?> runArgument, InCommandFunction<CommandContext<CommandSourceStack>, TestFinder> finder, Function<ArgumentBuilder<CommandSourceStack, ?>, ArgumentBuilder<CommandSourceStack, ?>> then) private static ArgumentBuilder<CommandSourceStack, ?> TestCommand.runWithRetryOptions(ArgumentBuilder<CommandSourceStack, ?> runArgument, InCommandFunction<CommandContext<CommandSourceStack>, TestFinder> finder, Function<ArgumentBuilder<CommandSourceStack, ?>, ArgumentBuilder<CommandSourceStack, ?>> then) private static ArgumentBuilder<CommandSourceStack, ?> TestCommand.runWithRetryOptions(ArgumentBuilder<CommandSourceStack, ?> runArgument, InCommandFunction<CommandContext<CommandSourceStack>, TestFinder> finder, Function<ArgumentBuilder<CommandSourceStack, ?>, ArgumentBuilder<CommandSourceStack, ?>> then) private static ArgumentBuilder<CommandSourceStack, ?> TestCommand.runWithRetryOptions(ArgumentBuilder<CommandSourceStack, ?> runArgument, InCommandFunction<CommandContext<CommandSourceStack>, TestFinder> finder, Function<ArgumentBuilder<CommandSourceStack, ?>, ArgumentBuilder<CommandSourceStack, ?>> then) private static ArgumentBuilder<CommandSourceStack, ?> TestCommand.runWithRetryOptionsAndBuildInfo(ArgumentBuilder<CommandSourceStack, ?> runArgument, InCommandFunction<CommandContext<CommandSourceStack>, TestFinder> finder) private static ArgumentBuilder<CommandSourceStack, ?> TestCommand.runWithRetryOptionsAndBuildInfo(ArgumentBuilder<CommandSourceStack, ?> runArgument, InCommandFunction<CommandContext<CommandSourceStack>, TestFinder> finder) static CompletableFuture<Suggestions> TestCommand.suggestTestFunction(CommandContext<CommandSourceStack> context, SuggestionsBuilder builder) Constructors in net.minecraft.gametest.framework with parameters of type CommandSourceStackModifierConstructorDescriptionprivateCreates an instance of aTestBatchSummaryDisplayerrecord class.privateTestFinder(CommandSourceStack source, TestInstanceFinder testInstanceFinder, TestPosFinder testPosFinder) TestSummaryDisplayer(CommandSourceStack source, MultipleTestTracker tracker) Creates an instance of aTestSummaryDisplayerrecord class. -
Uses of CommandSourceStack in net.minecraft.network.chat
Fields in net.minecraft.network.chat declared as CommandSourceStackModifier and TypeFieldDescriptionprivate @Nullable CommandSourceStackResolutionContext.Builder.sourceprivate final @Nullable CommandSourceStackResolutionContext.sourceThe field for thesourcerecord component.Methods in net.minecraft.network.chat that return CommandSourceStackModifier and TypeMethodDescription@Nullable CommandSourceStackResolutionContext.source()Returns the value of thesourcerecord component.Methods in net.minecraft.network.chat with parameters of type CommandSourceStackModifier and TypeMethodDescriptionstatic ChatType.BoundChatType.bind(ResourceKey<ChatType> chatType, CommandSourceStack source) static ResolutionContextResolutionContext.create(CommandSourceStack source) ResolutionContext.Builder.withSource(CommandSourceStack source) Constructors in net.minecraft.network.chat with parameters of type CommandSourceStackModifierConstructorDescriptionResolutionContext(@Nullable CommandSourceStack source, @Nullable Entity defaultScoreboardEntity, Predicate<ObjectInfo> objectInfoValidator, int depthLimit, ResolutionContext.LimitBehavior depthLimitBehavior) Creates an instance of aResolutionContextrecord class. -
Uses of CommandSourceStack in net.minecraft.network.chat.contents
Methods in net.minecraft.network.chat.contents with parameters of type CommandSourceStackModifier and TypeMethodDescriptionprivate ScoreHolderScoreContents.findTargetName(CommandSourceStack source) private MutableComponentScoreContents.getScore(ScoreHolder name, CommandSourceStack source) -
Uses of CommandSourceStack in net.minecraft.network.chat.contents.data
Methods in net.minecraft.network.chat.contents.data with parameters of type CommandSourceStackModifier and TypeMethodDescriptionBlockDataSource.getData(CommandSourceStack sender) DataSource.getData(CommandSourceStack sender) EntityDataSource.getData(CommandSourceStack sender) StorageDataSource.getData(CommandSourceStack sender) -
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 CommandDispatcher<CommandSourceStack> ServerFunctionLibrary.dispatcherprivate Map<Identifier, CommandFunction<CommandSourceStack>> ServerFunctionLibrary.functionsprivate Map<Identifier, 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(Identifier id) ServerFunctionManager.getDispatcher()ServerFunctionLibrary.getFunction(Identifier id) ServerFunctionLibrary.getFunctions()ServerFunctionLibrary.getTag(Identifier tag) ServerFunctionManager.getTag(Identifier id) Methods in net.minecraft.server with parameters of type CommandSourceStackModifier and TypeMethodDescriptionvoidServerFunctionManager.execute(CommandFunction<CommandSourceStack> functionIn, CommandSourceStack sender) Method parameters in net.minecraft.server with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionvoidServerFunctionManager.execute(CommandFunction<CommandSourceStack> functionIn, CommandSourceStack sender) private voidServerFunctionManager.executeTagFunctions(Collection<CommandFunction<CommandSourceStack>> functions, Identifier loadFunctionTag) Constructors in net.minecraft.server with parameters of type CommandSourceStackConstructor parameters in net.minecraft.server with type arguments of type CommandSourceStackModifierConstructorDescriptionServerFunctionLibrary(PermissionSet functionCompilationPermissions, CommandDispatcher<CommandSourceStack> dispatcher) -
Uses of CommandSourceStack in net.minecraft.server.commands
Subclasses with type arguments of type CommandSourceStack in net.minecraft.server.commandsModifier and TypeClassDescriptionprivate static classprivate static classClasses in net.minecraft.server.commands that implement interfaces with type arguments of type CommandSourceStackModifier and TypeClassDescriptionprivate static classprivate static classprivate static classFields in net.minecraft.server.commands with type parameters of type CommandSourceStackModifier and TypeFieldDescriptionprivate static final FunctionCommand.Callbacks<CommandSourceStack> FunctionCommand.FULL_CONTEXT_CALLBACKSprivate static final SuggestionProvider<CommandSourceStack> DataPackCommand.SELECTED_PACKSstatic final SuggestionProvider<CommandSourceStack> BossBarCommands.SUGGEST_BOSS_BARstatic final SuggestionProvider<CommandSourceStack> FunctionCommand.SUGGEST_FUNCTIONprivate static final SuggestionProvider<CommandSourceStack> ScheduleCommand.SUGGEST_SCHEDULEstatic final SuggestionProvider<CommandSourceStack> StopwatchCommand.SUGGEST_STOPWATCHESprivate static final SuggestionProvider<CommandSourceStack> PlaceCommand.SUGGEST_TEMPLATESprivate static final SuggestionProvider<CommandSourceStack> DataPackCommand.UNSELECTED_PACKSMethods in net.minecraft.server.commands with type parameters of type CommandSourceStackModifier and TypeMethodDescriptionprivate static <A extends ArgumentBuilder<CommandSourceStack, A>>
ATimeCommand.addClockNodes(CommandBuildContext context, A node, TimeCommand.ClockGetter clockGetter) private static <T extends ArgumentBuilder<CommandSourceStack, T>>
TLootCommand.addTargets(T root, LootCommand.TailProvider tail) Methods in net.minecraft.server.commands that return CommandSourceStackModifier and TypeMethodDescriptionstatic CommandSourceStackFunctionCommand.modifySenderForExecution(CommandSourceStack sender) private static CommandSourceStackExecuteCommand.spawnEntityAndRedirect(CommandSourceStack source, Holder.Reference<EntityType<?>> type) private static CommandSourceStackExecuteCommand.storeData(CommandSourceStack source, DataAccessor accessor, NbtPathArgument.NbtPath path, IntFunction<Tag> constructor, boolean storeResult) private static CommandSourceStackExecuteCommand.storeValue(CommandSourceStack source, Collection<ScoreHolder> names, Objective objective, boolean storeResult) private static CommandSourceStackExecuteCommand.storeValue(CommandSourceStack source, CustomBossEvent event, boolean storeIntoValue, boolean storeResult) Methods in net.minecraft.server.commands that return types with arguments of type CommandSourceStackModifier and TypeMethodDescriptionprivate static ArgumentBuilder<CommandSourceStack, ?> ExecuteCommand.addConditional(CommandNode<CommandSourceStack> root, ArgumentBuilder<CommandSourceStack, ?> argument, boolean expected, ExecuteCommand.CommandPredicate predicate) private static ArgumentBuilder<CommandSourceStack, ?> ExecuteCommand.addConditionals(CommandNode<CommandSourceStack> execute, LiteralArgumentBuilder<CommandSourceStack> parent, boolean expected, CommandBuildContext context) private static ArgumentBuilder<CommandSourceStack, ?> ExecuteCommand.addIfBlocksConditional(CommandNode<CommandSourceStack> root, ArgumentBuilder<CommandSourceStack, ?> argument, boolean expected, boolean skipAir) private static ArgumentBuilder<CommandSourceStack, ?> ScoreboardCommand.addNumberFormats(CommandBuildContext context, ArgumentBuilder<CommandSourceStack, ?> top, ScoreboardCommand.NumberFormatCommandExecutor callback) private static ArgumentBuilder<CommandSourceStack, ?> CloneCommands.beginEndDestinationAndModeSuffix(CommandBuildContext context, InCommandFunction<CommandContext<CommandSourceStack>, ServerLevel> fromDimension) private static <T> LiteralArgumentBuilder<CommandSourceStack> GameRuleCommand.buildRuleArguments(GameRule<T> gameRule, LiteralArgumentBuilder<CommandSourceStack> ruleLiteral) LootCommand.TailProvider.construct(ArgumentBuilder<CommandSourceStack, ?> root, LootCommand.DropConsumer consumer) private static Command<CommandSourceStack> ExecuteCommand.createNumericConditionalHandler(boolean expected, ExecuteCommand.CommandNumericPredicate condition) private static LiteralArgumentBuilder<CommandSourceStack> ExecuteCommand.createRelationOperations(CommandNode<CommandSourceStack> execute, LiteralArgumentBuilder<CommandSourceStack> on) private static LiteralArgumentBuilder<CommandSourceStack> ScoreboardCommand.createRenderTypeModify()private static ArgumentBuilder<CommandSourceStack, ?> CloneCommands.destinationAndStrictSuffix(CommandBuildContext context, InCommandFunction<CommandContext<CommandSourceStack>, ServerLevel> fromDimension, InCommandFunction<CommandContext<CommandSourceStack>, ServerLevel> toDimension) private static LiteralArgumentBuilder<CommandSourceStack> RandomCommand.drawRandomValueTree(String name, boolean announce) private static RedirectModifier<CommandSourceStack> ExecuteCommand.expandOneToManyEntityRelation(Function<Entity, Stream<Entity>> unpacker) private static RedirectModifier<CommandSourceStack> ExecuteCommand.expandOneToOneEntityRelation(Function<Entity, Optional<Entity>> unpacker) private static Collection<CommandSourceStack> ExecuteCommand.expect(CommandContext<CommandSourceStack> context, boolean expected, boolean result) private static ArgumentBuilder<CommandSourceStack, ?> CloneCommands.modeSuffix(CommandBuildContext context, InCommandFunction<CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> beginPos, InCommandFunction<CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> endPos, InCommandFunction<CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> destinationPos, boolean strict, ArgumentBuilder<CommandSourceStack, ?> builder) private static LiteralArgumentBuilder<CommandSourceStack> PlaySoundCommand.source(SoundSource source) private static ArgumentBuilder<CommandSourceStack, ?> ExecuteCommand.wrapStores(LiteralCommandNode<CommandSourceStack> execute, LiteralArgumentBuilder<CommandSourceStack> literal, boolean storeResult) private static ArgumentBuilder<CommandSourceStack, ?> CloneCommands.wrapWithCloneMode(InCommandFunction<CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> beginPos, InCommandFunction<CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> endPos, InCommandFunction<CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> destinationPos, InCommandFunction<CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> filter, boolean strict, ArgumentBuilder<CommandSourceStack, ?> builder) private static ArgumentBuilder<CommandSourceStack, ?> FillCommand.wrapWithMode(CommandBuildContext context, ArgumentBuilder<CommandSourceStack, ?> builder, InCommandFunction<CommandContext<CommandSourceStack>, BlockPos> from, InCommandFunction<CommandContext<CommandSourceStack>, BlockPos> to, InCommandFunction<CommandContext<CommandSourceStack>, BlockInput> block, FillCommand.NullableCommandFunction<CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> filter) Methods in net.minecraft.server.commands with parameters of type CommandSourceStackModifier and TypeMethodDescriptionprivate static intExperienceCommand.addExperience(CommandSourceStack source, Collection<? extends ServerPlayer> players, int amount, ExperienceCommand.Type type) private static intAttributeCommand.addModifier(CommandSourceStack source, Entity target, Holder<Attribute> attribute, Identifier id, double value, AttributeModifier.Operation operation) private static intScoreboardCommand.addObjective(CommandSourceStack source, String name, ObjectiveCriteria criteria, Component displayName) private static intWhitelistCommand.addPlayers(CommandSourceStack source, Collection<NameAndId> targets) private static intScoreboardCommand.addScore(CommandSourceStack source, Collection<ScoreHolder> names, Objective objective, int value) private static intTagCommand.addTag(CommandSourceStack source, Collection<? extends Entity> targets, String name) private static intTimeCommand.addTime(CommandSourceStack source, Holder<WorldClock> clock, int time) private static intTriggerCommand.addValue(CommandSourceStack source, ServerPlayer player, Objective objective, int amount) private static booleanChaseCommand.alreadyRunning(CommandSourceStack source) voidExecuteCommand.ExecuteIfFunctionCustomModifier.apply(CommandSourceStack originalSource, List<CommandSourceStack> currentSources, ContextChain<CommandSourceStack> currentStep, ChainModifiers modifiers, ExecutionControl<CommandSourceStack> output) private static ItemStackItemCommands.applyModifier(CommandSourceStack source, Holder<LootItemFunction> modifier, ItemStack item) private static intBanIpCommands.banIp(CommandSourceStack source, String ip, @Nullable Component reason) private static intBanIpCommands.banIpOrName(CommandSourceStack source, String target, @Nullable Component reason) private static intBanPlayerCommands.banPlayers(CommandSourceStack source, Collection<NameAndId> players, @Nullable Component reason) private static intLootCommand.blockDistribute(CommandSourceStack source, BlockPos pos, List<ItemStack> drops, LootCommand.Callback callback) private static intLootCommand.blockReplace(CommandSourceStack source, BlockPos pos, int startSlot, int slotCount, List<ItemStack> drops, LootCommand.Callback callback) private static intItemCommands.blockToBlock(CommandSourceStack source, BlockPos sourcePos, int sourceSlot, BlockPos targetPos, int targetSlot) private static intItemCommands.blockToBlock(CommandSourceStack source, BlockPos sourcePos, int sourceSlot, BlockPos targetPos, int targetSlot, Holder<LootItemFunction> modifier) private static intItemCommands.blockToEntities(CommandSourceStack source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targetEntities, int targetSlot) private static intItemCommands.blockToEntities(CommandSourceStack source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targetEntities, int targetSlot, Holder<LootItemFunction> modifier) private static voidLootCommand.callback(CommandSourceStack source, List<ItemStack> drops) private static voidLootCommand.callback(CommandSourceStack source, List<ItemStack> drops, ResourceKey<LootTable> location) private static intForceLoadCommand.changeForceLoad(CommandSourceStack source, ColumnPos from, ColumnPos to, boolean add) private static intRaidCommand.check(CommandSourceStack source) private static booleanExecuteCommand.checkCustomPredicate(CommandSourceStack source, Holder<LootItemCondition> predicate) private static intDialogCommand.clearDialog(CommandSourceStack sender, Collection<ServerPlayer> targets) private static intScoreboardCommand.clearDisplaySlot(CommandSourceStack source, DisplaySlot slot) private static intEffectCommands.clearEffect(CommandSourceStack source, Collection<? extends Entity> entities, Holder<MobEffect> effectHolder) private static intEffectCommands.clearEffects(CommandSourceStack source, Collection<? extends Entity> entities) private static intClearInventoryCommands.clearInventory(CommandSourceStack source, Collection<ServerPlayer> players, Predicate<ItemStack> predicate, int maxCount) private static intTitleCommand.clearTitle(CommandSourceStack source, Collection<ServerPlayer> targets) private static intClearInventoryCommands.clearUnlimited(CommandSourceStack source, Collection<ServerPlayer> players, Predicate<ItemStack> predicate) private static intCloneCommands.clone(CommandSourceStack source, CloneCommands.DimensionAndPosition startPosAndDimension, CloneCommands.DimensionAndPosition endPosAndDimension, CloneCommands.DimensionAndPosition destPosAndDimension, Predicate<BlockInWorld> predicate, CloneCommands.Mode mode, boolean strict) private static intDebugConfigCommand.config(CommandSourceStack source, ServerPlayer target) private static intExecuteCommand.countItems(CommandSourceStack source, BlockPos pos, SlotRange slotRange, Predicate<ItemStack> predicate) private static intBossBarCommands.createBar(CommandSourceStack source, Identifier id, Component name) static EntitySummonCommand.createEntity(CommandSourceStack source, Holder.Reference<EntityType<?>> type, Vec3 pos, CompoundTag nbt, boolean finalize) private static intDataPackCommand.createPack(CommandSourceStack source, String id, Component description) private static intStopwatchCommand.createStopwatch(CommandSourceStack source, Identifier id) private static intTeamCommand.createTeam(CommandSourceStack source, String name) private static intTeamCommand.createTeam(CommandSourceStack source, String name, Component displayName) private static intDamageCommand.damage(CommandSourceStack stack, Entity target, float amount, DamageSource source) private static intTeamCommand.deleteTeam(CommandSourceStack source, PlayerTeam team) private static intDeOpCommands.deopPlayers(CommandSourceStack source, Collection<NameAndId> players) private static intDataPackCommand.disablePack(CommandSourceStack source, Pack unopened) private static intWhitelistCommand.disableWhitelist(CommandSourceStack source) private static intRideCommand.dismount(CommandSourceStack source, Entity target) private static intLootCommand.dropInWorld(CommandSourceStack source, Vec3 pos, List<ItemStack> drops, LootCommand.Callback callback) private static intTeamCommand.emptyTeam(CommandSourceStack source, PlayerTeam team) private static intDataPackCommand.enablePack(CommandSourceStack source, Pack unopened, DataPackCommand.Inserter inserter) private static intScoreboardCommand.enableTrigger(CommandSourceStack source, Collection<ScoreHolder> names, Objective objective) private static intWhitelistCommand.enableWhitelist(CommandSourceStack source) private static intEnchantCommand.enchant(CommandSourceStack source, Collection<? extends Entity> targets, Holder<Enchantment> enchantmentHolder, int level) private static intItemCommands.entityToBlock(CommandSourceStack source, Entity sourceEntity, int sourceSlot, BlockPos targetPos, int targetSlot) private static intItemCommands.entityToBlock(CommandSourceStack source, Entity sourceEntity, int sourceSlot, BlockPos targetPos, int targetSlot, Holder<LootItemFunction> modifier) private static intItemCommands.entityToEntities(CommandSourceStack source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targetEntities, int targetSlot) private static intItemCommands.entityToEntities(CommandSourceStack source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targetEntities, int targetSlot, Holder<LootItemFunction> modifier) private static intFillBiomeCommand.fill(CommandSourceStack source, BlockPos rawFrom, BlockPos rawTo, Holder.Reference<Biome> biome, Predicate<Holder<Biome>> filter) private static intDebugPathCommand.fillBlocks(CommandSourceStack source, BlockPos target) private static intFillCommand.fillBlocks(CommandSourceStack source, BoundingBox region, BlockInput target, FillCommand.Mode mode, @Nullable Predicate<BlockInWorld> predicate, boolean strict) private static intChaseCommand.follow(CommandSourceStack source, String host, int port) private static intListPlayersCommand.format(CommandSourceStack source, Function<ServerPlayer, Component> formatter) private static intAttributeCommand.getAttributeBase(CommandSourceStack source, Entity target, Holder<Attribute> attribute, double scale) private static intAttributeCommand.getAttributeModifier(CommandSourceStack source, Entity target, Holder<Attribute> attribute, Identifier id, double scale) private static intAttributeCommand.getAttributeValue(CommandSourceStack source, Entity target, Holder<Attribute> attribute, double scale) private static ItemStackItemCommands.getBlockItem(CommandSourceStack source, BlockPos pos, int slot) (package private) static ContainerItemCommands.getContainer(CommandSourceStack source, BlockPos pos, Dynamic3CommandExceptionType exceptionType) private static ContainerLootCommand.getContainer(CommandSourceStack source, BlockPos pos) private static Holder<WorldClock> TimeCommand.getDefaultClock(CommandSourceStack source) private static intWeatherCommand.getDuration(CommandSourceStack source, int input, IntProvider defaultDistribution) private static intBossBarCommands.getMax(CommandSourceStack source, CustomBossEvent bossBar) private static intBossBarCommands.getPlayers(CommandSourceStack source, CustomBossEvent bossBar) private static intScoreboardCommand.getScore(CommandSourceStack source, ScoreHolder target, Objective objective) private static intWorldBorderCommand.getSize(CommandSourceStack source) private static ItemStackLootCommand.getSourceHandItem(CommandSourceStack source, EquipmentSlot slot) private static intBossBarCommands.getValue(CommandSourceStack source, CustomBossEvent bossBar) private static intBossBarCommands.getVisible(CommandSourceStack source, CustomBossEvent bossBar) private static intEffectCommands.giveEffect(CommandSourceStack source, Collection<? extends Entity> entities, Holder<MobEffect> effectHolder, @Nullable Integer seconds, int amplifier, boolean particles) private static intGiveCommand.giveItem(CommandSourceStack source, ItemInput input, Collection<ServerPlayer> players, int count) private static intRecipeCommand.giveRecipes(CommandSourceStack source, Collection<ServerPlayer> players, Collection<RecipeHolder<?>> recipes) private static intRaidCommand.glow(CommandSourceStack source) private static intTeamCommand.joinTeam(CommandSourceStack source, PlayerTeam team, Collection<ScoreHolder> members) private static intKickCommand.kickPlayers(CommandSourceStack source, Collection<ServerPlayer> players, Component reason) private static intKillCommand.kill(CommandSourceStack source, Collection<? extends Entity> victims) private static intChaseCommand.lead(CommandSourceStack source, String serverBindAddress, int port) private static intTeamCommand.leaveTeam(CommandSourceStack source, Collection<ScoreHolder> members) private static intDataPackCommand.listAvailablePacks(CommandSourceStack source) private static intBossBarCommands.listBars(CommandSourceStack source) private static intDataPackCommand.listEnabledPacks(CommandSourceStack source) private static intForceLoadCommand.listForceLoad(CommandSourceStack source) private static intTeamCommand.listMembers(CommandSourceStack source, PlayerTeam team) private static intScoreboardCommand.listObjectives(CommandSourceStack source) private static intDataPackCommand.listPacks(CommandSourceStack source) private static intListPlayersCommand.listPlayers(CommandSourceStack source) private static intListPlayersCommand.listPlayersWithUuids(CommandSourceStack source) private static intTagCommand.listTags(CommandSourceStack source, Collection<? extends Entity> targets) private static intTeamCommand.listTeams(CommandSourceStack source) private static intScoreboardCommand.listTrackedPlayers(CommandSourceStack source) private static intScoreboardCommand.listTrackedPlayerScores(CommandSourceStack source, ScoreHolder entity) private static intWaypointCommand.listWaypoints(CommandSourceStack source) private static intLocateCommand.locateBiome(CommandSourceStack source, ResourceOrTagArgument.Result<Biome> elementOrTag) private static intLocateCommand.locatePoi(CommandSourceStack source, ResourceOrTagArgument.Result<PoiType> resourceOrTag) private static intLocateCommand.locateStructure(CommandSourceStack source, ResourceOrTagKeyArgument.Result<Structure> resourceOrTag) private static voidGameModeCommand.logGamemodeChange(CommandSourceStack source, ServerPlayer target, GameType newType) private static intItemCommands.modifyBlockItem(CommandSourceStack source, BlockPos pos, int slot, Holder<LootItemFunction> modifier) private static intItemCommands.modifyEntityItem(CommandSourceStack source, Collection<? extends Entity> entities, int slot, Holder<LootItemFunction> modifier) static CommandSourceStackFunctionCommand.modifySenderForExecution(CommandSourceStack sender) private static intRideCommand.mount(CommandSourceStack source, Entity target, Entity vehicle) private static voidWaypointCommand.mutateIcon(CommandSourceStack source, WaypointTransmitter waypoint, Consumer<Waypoint.Icon> iconConsumer) private static intOpCommand.opPlayers(CommandSourceStack source, Collection<NameAndId> players) private static intPardonCommand.pardonPlayers(CommandSourceStack source, Collection<NameAndId> players) private static intAdvancementCommands.perform(CommandSourceStack source, Collection<ServerPlayer> players, AdvancementCommands.Action action, Collection<AdvancementHolder> advancements) private static intAdvancementCommands.perform(CommandSourceStack source, Collection<ServerPlayer> players, AdvancementCommands.Action action, Collection<AdvancementHolder> advancements, boolean showAdvancements) voidLookAt.LookAtEntity.perform(CommandSourceStack source, Entity target) voidLookAt.LookAtPosition.perform(CommandSourceStack source, Entity target) voidLookAt.perform(CommandSourceStack source, Entity target) private static intAdvancementCommands.performCriterion(CommandSourceStack source, Collection<ServerPlayer> players, AdvancementCommands.Action action, AdvancementHolder holder, String criterion) private static intScoreboardCommand.performOperation(CommandSourceStack source, Collection<ScoreHolder> targets, Objective targetObjective, OperationArgument.Operation operation, Collection<ScoreHolder> sources, Objective sourceObjective) private static voidTeleportCommand.performTeleport(CommandSourceStack source, Entity victim, ServerLevel level, double x, double y, double z, Set<Relative> relatives, float yRot, float xRot, @Nullable LookAt lookAt) static intPlaceCommand.placeFeature(CommandSourceStack source, Holder.Reference<ConfiguredFeature<?, ?>> featureHolder, BlockPos pos) static intPlaceCommand.placeJigsaw(CommandSourceStack source, Holder<StructureTemplatePool> pool, Identifier target, int maxDepth, BlockPos pos) static intPlaceCommand.placeStructure(CommandSourceStack source, Holder.Reference<Structure> structureHolder, BlockPos pos) static intPlaceCommand.placeTemplate(CommandSourceStack source, Identifier template, BlockPos pos, Rotation rotation, Mirror mirror, float integrity, int seed, boolean strict) private static intPlaySoundCommand.playSound(CommandSourceStack source, Collection<ServerPlayer> players, Identifier sound, SoundSource soundSource, Vec3 position, float volume, float pitch, float minVolume) private static intRaidCommand.playSound(CommandSourceStack source, @Nullable Component type) private static intServerPackCommand.popPack(CommandSourceStack source, UUID uuid) static voidFetchProfileCommand.printForAvatar(CommandSourceStack source, Avatar avatar) private static intFetchProfileCommand.printForEntity(CommandSourceStack source, Entity entity) private static intPublishCommand.publish(CommandSourceStack source, int port, boolean allowCommands, @Nullable GameType type) private static intServerPackCommand.pushPack(CommandSourceStack source, String url, Optional<UUID> maybeId, Optional<String> maybeHash) private static intExperienceCommand.queryExperience(CommandSourceStack source, ServerPlayer target, ExperienceCommand.Type type) private static intForceLoadCommand.queryForceLoad(CommandSourceStack source, ColumnPos pos) private static intTimeCommand.queryGameTime(CommandSourceStack source) private static <T> intGameRuleCommand.queryRule(CommandSourceStack source, GameRule<T> gameRule) private static intStopwatchCommand.queryStopwatch(CommandSourceStack source, Identifier id, double scale) private static intTimeCommand.queryTime(CommandSourceStack source, Holder<WorldClock> clock) private static intTimeCommand.queryTimelineRepetitions(CommandSourceStack source, Holder<WorldClock> clock, Holder<Timeline> timeline) private static intTimeCommand.queryTimelineTicks(CommandSourceStack source, Holder<WorldClock> clock, Holder<Timeline> timeline) private static intRandomCommand.randomSample(CommandSourceStack source, MinMaxBounds.Ints range, @Nullable Identifier sequence, boolean announce) private static intWhitelistCommand.reload(CommandSourceStack source) static voidReloadCommand.reloadPacks(Collection<String> selectedPacks, CommandSourceStack source) private static intScheduleCommand.remove(CommandSourceStack source, String id) private static intForceLoadCommand.removeAll(CommandSourceStack source) private static intBossBarCommands.removeBar(CommandSourceStack source, CustomBossEvent bossBar) private static intAttributeCommand.removeModifier(CommandSourceStack source, Entity target, Holder<Attribute> attribute, Identifier id) private static intScoreboardCommand.removeObjective(CommandSourceStack source, Objective objective) private static intWhitelistCommand.removePlayers(CommandSourceStack source, Collection<NameAndId> targets) private static intScoreboardCommand.removeScore(CommandSourceStack source, Collection<ScoreHolder> names, Objective objective, int value) private static intStopwatchCommand.removeStopwatch(CommandSourceStack source, Identifier id) private static intTagCommand.removeTag(CommandSourceStack source, Collection<? extends Entity> targets, String name) private static voidFetchProfileCommand.reportResolvedProfile(CommandSourceStack sender, GameProfile gameProfile, String messageId, Component argument) private static voidFetchProfileCommand.reportResolvedProfile(CommandSourceStack sender, String messageId, Component argument, ResolvableProfile profile) private static intRandomCommand.resetAllSequences(CommandSourceStack source) private static intRandomCommand.resetAllSequencesAndSetNewDefaults(CommandSourceStack source, int salt, boolean includeWorldSeed, boolean includeSequenceId) private static intAttributeCommand.resetAttributeBase(CommandSourceStack source, Entity target, Holder<Attribute> attribute) private static intScoreboardCommand.resetScore(CommandSourceStack source, Collection<ScoreHolder> names, Objective objective) private static intScoreboardCommand.resetScores(CommandSourceStack source, Collection<ScoreHolder> names) private static intRandomCommand.resetSequence(CommandSourceStack source, Identifier sequence) private static intRandomCommand.resetSequence(CommandSourceStack source, Identifier sequence, int salt, boolean includeWorldSeed, boolean includeSequenceId) private static intTitleCommand.resetTitle(CommandSourceStack source, Collection<ServerPlayer> targets) private static intWardenSpawnTrackerCommand.resetTracker(CommandSourceStack source, Collection<? extends Player> players) private static intWaypointCommand.resetWaypointColor(CommandSourceStack source, WaypointTransmitter waypoint) private static intFetchProfileCommand.resolveId(CommandSourceStack source, UUID id) private static intFetchProfileCommand.resolveName(CommandSourceStack source, String name) private static intStopwatchCommand.restartStopwatch(CommandSourceStack source, Identifier id) private static intRotateCommand.rotate(CommandSourceStack source, Entity entity, Coordinates rotation) private static intRotateCommand.rotate(CommandSourceStack source, Entity entity, LookAt facing) voidDebugCommand.TraceCustomExecutor.runGuarded(CommandSourceStack source, ContextChain<CommandSourceStack> currentStep, ChainModifiers modifiers, ExecutionControl<CommandSourceStack> context) voidFunctionCommand.FunctionCustomExecutor.runGuarded(CommandSourceStack sender, ContextChain<CommandSourceStack> currentStep, ChainModifiers modifiers, ExecutionControl<CommandSourceStack> output) private static intSaveAllCommand.saveAll(CommandSourceStack source, boolean flush) private static voidPerfCommand.saveResults(CommandSourceStack source, Path report, MinecraftServer server) private static intScheduleCommand.schedule(CommandSourceStack source, Pair<Identifier, Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> callback, int time, boolean replace) private static voidMsgCommand.sendMessage(CommandSourceStack source, Collection<ServerPlayer> players, PlayerChatMessage message) private static voidTeamMsgCommand.sendMessage(CommandSourceStack source, Entity entity, PlayerTeam team, List<ServerPlayer> receivers, PlayerChatMessage message) private static intParticleCommand.sendParticles(CommandSourceStack source, ParticleOptions particle, Vec3 pos, Vec3 delta, float speed, int count, boolean force, Collection<ServerPlayer> players) private static voidServerPackCommand.sendToAllConnections(CommandSourceStack source, Packet<?> packet) private static intAttributeCommand.setAttributeBase(CommandSourceStack source, Entity target, Holder<Attribute> attribute, double value) private static intSetBlockCommand.setBlock(CommandSourceStack source, BlockPos pos, BlockInput block, SetBlockCommand.Mode mode, @Nullable Predicate<BlockInWorld> predicate, boolean strict) private static intItemCommands.setBlockItem(CommandSourceStack source, BlockPos pos, int slot, ItemStack itemStack) private static intWorldBorderCommand.setCenter(CommandSourceStack source, Vec2 center) private static intWeatherCommand.setClear(CommandSourceStack source, int duration) private static intTeamCommand.setCollision(CommandSourceStack source, PlayerTeam team, Team.CollisionRule collision) private static intBossBarCommands.setColor(CommandSourceStack source, CustomBossEvent bossBar, BossEvent.BossBarColor color) private static intTeamCommand.setColor(CommandSourceStack source, PlayerTeam team, ChatFormatting color) private static intWorldBorderCommand.setDamageAmount(CommandSourceStack source, float damagePerBlock) private static intWorldBorderCommand.setDamageBuffer(CommandSourceStack source, float distance) private static intTeamCommand.setDeathMessageVisibility(CommandSourceStack source, PlayerTeam team, Team.Visibility visibility) static intDifficultyCommand.setDifficulty(CommandSourceStack source, Difficulty difficulty) private static intScoreboardCommand.setDisplayAutoUpdate(CommandSourceStack source, Objective objective, boolean displayAutoUpdate) private static intScoreboardCommand.setDisplayName(CommandSourceStack source, Objective objective, Component displayName) private static intTeamCommand.setDisplayName(CommandSourceStack source, PlayerTeam team, Component displayName) private static intScoreboardCommand.setDisplaySlot(CommandSourceStack source, DisplaySlot slot, Objective objective) private static intItemCommands.setEntityItem(CommandSourceStack source, Collection<? extends Entity> entities, int slot, ItemStack itemStack) private static intExperienceCommand.setExperience(CommandSourceStack source, Collection<? extends ServerPlayer> players, int amount, ExperienceCommand.Type type) private static intTickCommand.setFreeze(CommandSourceStack source, boolean freeze) private static intTeamCommand.setFriendlyFire(CommandSourceStack source, PlayerTeam team, boolean allowed) private static intTeamCommand.setFriendlySight(CommandSourceStack source, PlayerTeam team, boolean allowed) private static booleanGameModeCommand.setGameMode(CommandSourceStack source, ServerPlayer player, GameType type) private static intSetPlayerIdleTimeoutCommand.setIdleTimeout(CommandSourceStack source, int time) private static intBossBarCommands.setMax(CommandSourceStack source, CustomBossEvent bossBar, int value) private static intDefaultGameModeCommands.setMode(CommandSourceStack source, GameType type) private static intBossBarCommands.setName(CommandSourceStack source, CustomBossEvent bossBar, Component name) private static intTeamCommand.setNametagVisibility(CommandSourceStack source, PlayerTeam team, Team.Visibility visibility) private static intScoreboardCommand.setObjectiveFormat(CommandSourceStack source, Objective objective, @Nullable NumberFormat numberFormat) private static intTimeCommand.setPaused(CommandSourceStack source, Holder<WorldClock> clock, boolean paused) private static intBossBarCommands.setPlayers(CommandSourceStack source, CustomBossEvent bossBar, Collection<ServerPlayer> targets) private static intTeamCommand.setPrefix(CommandSourceStack source, PlayerTeam team, Component prefix) private static intRaidCommand.setRaidOmenLevel(CommandSourceStack source, int level) private static intWeatherCommand.setRain(CommandSourceStack source, int duration) private static intTimeCommand.setRate(CommandSourceStack source, Holder<WorldClock> clock, float rate) private static intScoreboardCommand.setRenderType(CommandSourceStack source, Objective objective, ObjectiveCriteria.RenderType renderType) private static intScoreboardCommand.setScore(CommandSourceStack source, Collection<ScoreHolder> names, Objective objective, int value) private static intScoreboardCommand.setScoreDisplay(CommandSourceStack source, Collection<ScoreHolder> names, Objective objective, @Nullable Component display) private static intScoreboardCommand.setScoreNumberFormat(CommandSourceStack source, Collection<ScoreHolder> names, Objective objective, @Nullable NumberFormat numberFormat) private static intWorldBorderCommand.setSize(CommandSourceStack source, double distance, long ticks) private static intSetSpawnCommand.setSpawn(CommandSourceStack source, Collection<ServerPlayer> targets, BlockPos pos, Coordinates rotation) private static intSetWorldSpawnCommand.setSpawn(CommandSourceStack source, BlockPos pos, Coordinates rotation) private static intBossBarCommands.setStyle(CommandSourceStack source, CustomBossEvent bossBar, BossEvent.BossBarOverlay style) private static intTeamCommand.setSuffix(CommandSourceStack source, PlayerTeam team, Component suffix) private static intWeatherCommand.setThunder(CommandSourceStack source, int duration) private static intTickCommand.setTickingRate(CommandSourceStack source, float rate) private static intTitleCommand.setTimes(CommandSourceStack source, Collection<ServerPlayer> targets, int fadeIn, int stay, int fadeOut) private static intTimeCommand.setTimeToTimeMarker(CommandSourceStack source, Holder<WorldClock> clock, ResourceKey<ClockTimeMarker> timeMarkerId) private static intTimeCommand.setTotalTicks(CommandSourceStack source, Holder<WorldClock> clock, int totalTicks) private static intBossBarCommands.setValue(CommandSourceStack source, CustomBossEvent bossBar, int value) private static intTriggerCommand.setValue(CommandSourceStack source, ServerPlayer player, Objective objective, int amount) private static intBossBarCommands.setVisible(CommandSourceStack source, CustomBossEvent bossBar, boolean visible) private static intWorldBorderCommand.setWarningDistance(CommandSourceStack source, int distance) private static intWardenSpawnTrackerCommand.setWarningLevel(CommandSourceStack source, Collection<? extends Player> players, int warningLevel) private static intWorldBorderCommand.setWarningTime(CommandSourceStack source, int ticks) private static intWaypointCommand.setWaypointColor(CommandSourceStack source, WaypointTransmitter waypoint, Integer color) private static intWaypointCommand.setWaypointColor(CommandSourceStack source, WaypointTransmitter waypoint, ChatFormatting color) private static intWaypointCommand.setWaypointStyle(CommandSourceStack source, WaypointTransmitter waypoint, ResourceKey<WaypointStyleAsset> style) private static intDebugConfigCommand.showDialog(CommandSourceStack source, UUID target, Holder<Dialog> dialog) private static intDialogCommand.showDialog(CommandSourceStack sender, Collection<ServerPlayer> targets, Holder<Dialog> dialog) private static intBanListCommands.showList(CommandSourceStack source, Collection<? extends BanListEntry<?>> list) private static intWhitelistCommand.showList(CommandSourceStack source) static intLocateCommand.showLocateResult(CommandSourceStack source, ResourceOrTagArgument.Result<?> name, BlockPos sourcePos, Pair<BlockPos, ? extends Holder<?>> found, String successMessageKey, boolean includeY, Duration taskDuration) static intLocateCommand.showLocateResult(CommandSourceStack source, ResourceOrTagKeyArgument.Result<?> name, BlockPos sourcePos, Pair<BlockPos, ? extends Holder<?>> found, String successMessageKey, boolean includeY, Duration taskDuration) private static intLocateCommand.showLocateResult(CommandSourceStack source, BlockPos sourcePos, Pair<BlockPos, ? extends Holder<?>> found, String successMessageKey, boolean includeY, String foundName, Duration taskDuration) private static intTitleCommand.showTitle(CommandSourceStack source, Collection<ServerPlayer> targets, Component title, String type, Function<Component, Packet<?>> factory) private static intTriggerCommand.simpleTrigger(CommandSourceStack source, ServerPlayer player, Objective objective) private static intSpawnArmorTrimsCommand.spawnAllArmorTrims(CommandSourceStack source, Player player) private static intSpawnArmorTrimsCommand.spawnArmorTrim(CommandSourceStack source, Player player, ResourceKey<TrimPattern> pattern) private static intSpawnArmorTrimsCommand.spawnArmorTrims(CommandSourceStack source, Player player, Stream<Holder.Reference<TrimPattern>> patterns) private static intSummonCommand.spawnEntity(CommandSourceStack source, Holder.Reference<EntityType<?>> type, Vec3 pos, CompoundTag nbt, boolean finalize) private static CommandSourceStackExecuteCommand.spawnEntityAndRedirect(CommandSourceStack source, Holder.Reference<EntityType<?>> type) private static intRaidCommand.spawnLeader(CommandSourceStack source) private static intDebugMobSpawningCommand.spawnMobs(CommandSourceStack source, MobCategory mobCategory, BlockPos at) private static intSpectateCommand.spectate(CommandSourceStack source, @Nullable Entity target, ServerPlayer player) private static intSpreadPlayersCommand.spreadPlayers(CommandSourceStack source, Vec2 center, float spreadDistance, float maxRange, int maxHeight, boolean respectTeams, Collection<? extends Entity> entities) private static intTickCommand.sprint(CommandSourceStack source, int time) private static intDebugCommand.start(CommandSourceStack source) private static intRaidCommand.start(CommandSourceStack source, int raidOmenLevel) private static intJfrCommand.startJfr(CommandSourceStack source) private static intPerfCommand.startProfilingDedicatedServer(CommandSourceStack source) private static intTickCommand.step(CommandSourceStack source, int advance) private static intChaseCommand.stop(CommandSourceStack source) private static intDebugCommand.stop(CommandSourceStack source) private static intRaidCommand.stop(CommandSourceStack source) private static intJfrCommand.stopJfr(CommandSourceStack source) private static intPerfCommand.stopProfilingDedicatedServer(CommandSourceStack source) private static intStopSoundCommand.stopSound(CommandSourceStack source, Collection<ServerPlayer> targets, @Nullable SoundSource soundSource, @Nullable Identifier sound) private static intTickCommand.stopSprinting(CommandSourceStack source) private static intTickCommand.stopStepping(CommandSourceStack source) private static CommandSourceStackExecuteCommand.storeData(CommandSourceStack source, DataAccessor accessor, NbtPathArgument.NbtPath path, IntFunction<Tag> constructor, boolean storeResult) private static CommandSourceStackExecuteCommand.storeValue(CommandSourceStack source, Collection<ScoreHolder> names, Objective objective, boolean storeResult) private static CommandSourceStackExecuteCommand.storeValue(CommandSourceStack source, CustomBossEvent event, boolean storeIntoValue, boolean storeResult) static CompletableFuture<Suggestions> TriggerCommand.suggestObjectives(CommandSourceStack source, SuggestionsBuilder builder) private static CompletableFuture<Suggestions> TimeCommand.suggestTimelines(CommandSourceStack source, SuggestionsBuilder builder, Holder<WorldClock> clock) private static CompletableFuture<Suggestions> TimeCommand.suggestTimeMarkers(CommandSourceStack source, SuggestionsBuilder builder, Holder<WorldClock> clock) private static CompletableFuture<Suggestions> ScoreboardCommand.suggestTriggers(CommandSourceStack source, Collection<ScoreHolder> targets, SuggestionsBuilder builder) private static intSwingCommand.swing(CommandSourceStack source, Collection<? extends Entity> targets, InteractionHand hand) private static intRecipeCommand.takeRecipes(CommandSourceStack source, Collection<ServerPlayer> players, Collection<RecipeHolder<?>> recipes) private static intTeleportCommand.teleportToEntity(CommandSourceStack source, Collection<? extends Entity> entities, Entity destination) private static intTeleportCommand.teleportToPos(CommandSourceStack source, Collection<? extends Entity> entities, ServerLevel level, Coordinates destination, @Nullable Coordinates rotation, @Nullable LookAt lookAt) private static intTickCommand.tickQuery(CommandSourceStack source) private static intTransferCommand.transfer(CommandSourceStack source, String hostname, int port, Collection<ServerPlayer> players) private static intPardonIpCommand.unban(CommandSourceStack source, String ip) private static intDebugConfigCommand.unconfig(CommandSourceStack source, UUID target) private static voidPerfCommand.whenStopped(CommandSourceStack source, ProfileResults results) Method parameters in net.minecraft.server.commands with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionintLootCommand.DropConsumer.accept(CommandContext<CommandSourceStack> context, List<ItemStack> drops, LootCommand.Callback successCallback) private static ArgumentBuilder<CommandSourceStack, ?> ExecuteCommand.addConditional(CommandNode<CommandSourceStack> root, ArgumentBuilder<CommandSourceStack, ?> argument, boolean expected, ExecuteCommand.CommandPredicate predicate) private static ArgumentBuilder<CommandSourceStack, ?> ExecuteCommand.addConditional(CommandNode<CommandSourceStack> root, ArgumentBuilder<CommandSourceStack, ?> argument, boolean expected, ExecuteCommand.CommandPredicate predicate) private static ArgumentBuilder<CommandSourceStack, ?> ExecuteCommand.addConditionals(CommandNode<CommandSourceStack> execute, LiteralArgumentBuilder<CommandSourceStack> parent, boolean expected, CommandBuildContext context) private static ArgumentBuilder<CommandSourceStack, ?> ExecuteCommand.addConditionals(CommandNode<CommandSourceStack> execute, LiteralArgumentBuilder<CommandSourceStack> parent, boolean expected, CommandBuildContext context) private static ArgumentBuilder<CommandSourceStack, ?> ExecuteCommand.addIfBlocksConditional(CommandNode<CommandSourceStack> root, ArgumentBuilder<CommandSourceStack, ?> argument, boolean expected, boolean skipAir) private static ArgumentBuilder<CommandSourceStack, ?> ExecuteCommand.addIfBlocksConditional(CommandNode<CommandSourceStack> root, ArgumentBuilder<CommandSourceStack, ?> argument, boolean expected, boolean skipAir) private static ArgumentBuilder<CommandSourceStack, ?> ScoreboardCommand.addNumberFormats(CommandBuildContext context, ArgumentBuilder<CommandSourceStack, ?> top, ScoreboardCommand.NumberFormatCommandExecutor callback) voidExecuteCommand.ExecuteIfFunctionCustomModifier.apply(CommandSourceStack originalSource, List<CommandSourceStack> currentSources, ContextChain<CommandSourceStack> currentStep, ChainModifiers modifiers, ExecutionControl<CommandSourceStack> output) voidExecuteCommand.ExecuteIfFunctionCustomModifier.apply(CommandSourceStack originalSource, List<CommandSourceStack> currentSources, ContextChain<CommandSourceStack> currentStep, ChainModifiers modifiers, ExecutionControl<CommandSourceStack> output) voidExecuteCommand.ExecuteIfFunctionCustomModifier.apply(CommandSourceStack originalSource, List<CommandSourceStack> currentSources, ContextChain<CommandSourceStack> currentStep, ChainModifiers modifiers, ExecutionControl<CommandSourceStack> output) protected abstract @Nullable CompoundTagFunctionCommand.FunctionCustomExecutor.arguments(CommandContext<CommandSourceStack> context) private static ArgumentBuilder<CommandSourceStack, ?> CloneCommands.beginEndDestinationAndModeSuffix(CommandBuildContext context, InCommandFunction<CommandContext<CommandSourceStack>, ServerLevel> fromDimension) private static <T> LiteralArgumentBuilder<CommandSourceStack> GameRuleCommand.buildRuleArguments(GameRule<T> gameRule, LiteralArgumentBuilder<CommandSourceStack> ruleLiteral) private static intExecuteCommand.checkIfRegions(CommandContext<CommandSourceStack> context, boolean skipAir) private static OptionalIntExecuteCommand.checkRegions(CommandContext<CommandSourceStack> context, boolean skipAir) private static booleanExecuteCommand.checkScore(CommandContext<CommandSourceStack> context, MinMaxBounds.Ints range) private static booleanExecuteCommand.checkScore(CommandContext<CommandSourceStack> context, ExecuteCommand.IntBiPredicate operation) private static booleanExecuteCommand.checkStopwatch(CommandContext<CommandSourceStack> context, MinMaxBounds.Doubles range) private static intExecuteCommand.checkUnlessRegions(CommandContext<CommandSourceStack> context, boolean skipAir) LootCommand.TailProvider.construct(ArgumentBuilder<CommandSourceStack, ?> root, LootCommand.DropConsumer consumer) private static LiteralArgumentBuilder<CommandSourceStack> ExecuteCommand.createRelationOperations(CommandNode<CommandSourceStack> execute, LiteralArgumentBuilder<CommandSourceStack> on) private static LiteralArgumentBuilder<CommandSourceStack> ExecuteCommand.createRelationOperations(CommandNode<CommandSourceStack> execute, LiteralArgumentBuilder<CommandSourceStack> on) private static ArgumentBuilder<CommandSourceStack, ?> CloneCommands.destinationAndStrictSuffix(CommandBuildContext context, InCommandFunction<CommandContext<CommandSourceStack>, ServerLevel> fromDimension, InCommandFunction<CommandContext<CommandSourceStack>, ServerLevel> toDimension) private static intLootCommand.drop(CommandContext<CommandSourceStack> context, Holder<LootTable> lootTable, LootParams lootParams, LootCommand.DropConsumer output) private static intLootCommand.dropBlockLoot(CommandContext<CommandSourceStack> context, BlockPos pos, ItemInstance tool, LootCommand.DropConsumer output) private static intLootCommand.dropChestLoot(CommandContext<CommandSourceStack> context, Holder<LootTable> lootTable, LootCommand.DropConsumer output) private static intLootCommand.dropFishingLoot(CommandContext<CommandSourceStack> context, Holder<LootTable> lootTable, BlockPos pos, ItemInstance tool, LootCommand.DropConsumer output) private static intLootCommand.dropKillLoot(CommandContext<CommandSourceStack> context, Entity target, LootCommand.DropConsumer output) private static Collection<CommandSourceStack> ExecuteCommand.expect(CommandContext<CommandSourceStack> context, boolean expected, boolean result) private static List<AdvancementHolder> AdvancementCommands.getAdvancements(CommandContext<CommandSourceStack> context, AdvancementHolder target, AdvancementCommands.Mode mode) static CustomBossEventBossBarCommands.getBossBar(CommandContext<CommandSourceStack> context) TimeCommand.ClockGetter.getClock(CommandContext<CommandSourceStack> context) private static CloneCommands.DimensionAndPositionCloneCommands.getLoadedDimensionAndPosition(CommandContext<CommandSourceStack> context, ServerLevel level, String positionArgument) private static PackDataPackCommand.getPack(CommandContext<CommandSourceStack> context, String name, boolean enabling) private static ArgumentBuilder<CommandSourceStack, ?> CloneCommands.modeSuffix(CommandBuildContext context, InCommandFunction<CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> beginPos, InCommandFunction<CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> endPos, InCommandFunction<CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> destinationPos, boolean strict, ArgumentBuilder<CommandSourceStack, ?> builder) private static ArgumentBuilder<CommandSourceStack, ?> CloneCommands.modeSuffix(CommandBuildContext context, InCommandFunction<CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> beginPos, InCommandFunction<CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> endPos, InCommandFunction<CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> destinationPos, boolean strict, ArgumentBuilder<CommandSourceStack, ?> builder) static voidAdvancementCommands.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidAttributeCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidBanIpCommands.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidBanListCommands.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidBanPlayerCommands.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidBossBarCommands.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidChaseCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidClearInventoryCommands.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidCloneCommands.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidDamageCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidDataPackCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidDebugCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidDebugConfigCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidDebugMobSpawningCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidDebugPathCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidDefaultGameModeCommands.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidDeOpCommands.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidDialogCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidDifficultyCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidEffectCommands.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidEmoteCommands.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidEnchantCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidExecuteCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidExperienceCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidFetchProfileCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidFillBiomeCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidFillCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidForceLoadCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidFunctionCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidGameModeCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidGameRuleCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidGiveCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidHelpCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidItemCommands.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidJfrCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidKickCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidKillCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidListPlayersCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidLocateCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidLootCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidMsgCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidOpCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidPardonCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidPardonIpCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidParticleCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidPerfCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidPlaceCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidPlaySoundCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidPublishCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidRaidCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidRandomCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidRecipeCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidReloadCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidRideCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidRotateCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidSaveAllCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidSaveOffCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidSaveOnCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidSayCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidScheduleCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidScoreboardCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidSeedCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, boolean checkPermissions) static voidServerPackCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidSetBlockCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidSetPlayerIdleTimeoutCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidSetSpawnCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidSetWorldSpawnCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidSpawnArmorTrimsCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidSpectateCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidSpreadPlayersCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidStopCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidStopSoundCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidStopwatchCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidSummonCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidSwingCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidTagCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidTeamCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidTeamMsgCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidTeleportCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidTellRawCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidTickCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidTimeCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidTitleCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidTransferCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidTriggerCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidVersionCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, boolean checkPermissions) static voidWardenSpawnTrackerCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidWaypointCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidWeatherCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidWhitelistCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidWorldBorderCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) intScoreboardCommand.NumberFormatCommandExecutor.run(CommandContext<CommandSourceStack> context, @Nullable NumberFormat format) voidDebugCommand.TraceCustomExecutor.runGuarded(CommandSourceStack source, ContextChain<CommandSourceStack> currentStep, ChainModifiers modifiers, ExecutionControl<CommandSourceStack> context) voidDebugCommand.TraceCustomExecutor.runGuarded(CommandSourceStack source, ContextChain<CommandSourceStack> currentStep, ChainModifiers modifiers, ExecutionControl<CommandSourceStack> context) voidFunctionCommand.FunctionCustomExecutor.runGuarded(CommandSourceStack sender, ContextChain<CommandSourceStack> currentStep, ChainModifiers modifiers, ExecutionControl<CommandSourceStack> output) voidFunctionCommand.FunctionCustomExecutor.runGuarded(CommandSourceStack sender, ContextChain<CommandSourceStack> currentStep, ChainModifiers modifiers, ExecutionControl<CommandSourceStack> output) private static intScheduleCommand.schedule(CommandSourceStack source, Pair<Identifier, Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> callback, int time, boolean replace) private static intScheduleCommand.schedule(CommandSourceStack source, Pair<Identifier, Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> callback, int time, boolean replace) private static intGameModeCommand.setMode(CommandContext<CommandSourceStack> context, Collection<ServerPlayer> players, GameType type) private static <T> intGameRuleCommand.setRule(CommandContext<CommandSourceStack> context, GameRule<T> gameRule) private static CompletableFuture<Suggestions> RandomCommand.suggestRandomSequence(CommandContext<CommandSourceStack> context, SuggestionsBuilder builder) intExecuteCommand.CommandNumericPredicate.test(CommandContext<CommandSourceStack> c) booleanExecuteCommand.CommandPredicate.test(CommandContext<CommandSourceStack> c) private static ArgumentBuilder<CommandSourceStack, ?> ExecuteCommand.wrapStores(LiteralCommandNode<CommandSourceStack> execute, LiteralArgumentBuilder<CommandSourceStack> literal, boolean storeResult) private static ArgumentBuilder<CommandSourceStack, ?> ExecuteCommand.wrapStores(LiteralCommandNode<CommandSourceStack> execute, LiteralArgumentBuilder<CommandSourceStack> literal, boolean storeResult) private static ArgumentBuilder<CommandSourceStack, ?> CloneCommands.wrapWithCloneMode(InCommandFunction<CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> beginPos, InCommandFunction<CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> endPos, InCommandFunction<CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> destinationPos, InCommandFunction<CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> filter, boolean strict, ArgumentBuilder<CommandSourceStack, ?> builder) private static ArgumentBuilder<CommandSourceStack, ?> CloneCommands.wrapWithCloneMode(InCommandFunction<CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> beginPos, InCommandFunction<CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> endPos, InCommandFunction<CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> destinationPos, InCommandFunction<CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> filter, boolean strict, ArgumentBuilder<CommandSourceStack, ?> builder) private static ArgumentBuilder<CommandSourceStack, ?> FillCommand.wrapWithMode(CommandBuildContext context, ArgumentBuilder<CommandSourceStack, ?> builder, InCommandFunction<CommandContext<CommandSourceStack>, BlockPos> from, InCommandFunction<CommandContext<CommandSourceStack>, BlockPos> to, InCommandFunction<CommandContext<CommandSourceStack>, BlockInput> block, FillCommand.NullableCommandFunction<CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> filter) private static ArgumentBuilder<CommandSourceStack, ?> FillCommand.wrapWithMode(CommandBuildContext context, ArgumentBuilder<CommandSourceStack, ?> builder, InCommandFunction<CommandContext<CommandSourceStack>, BlockPos> from, InCommandFunction<CommandContext<CommandSourceStack>, BlockPos> to, InCommandFunction<CommandContext<CommandSourceStack>, BlockInput> block, FillCommand.NullableCommandFunction<CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> filter) private static ArgumentBuilder<CommandSourceStack, ?> FillCommand.wrapWithMode(CommandBuildContext context, ArgumentBuilder<CommandSourceStack, ?> builder, InCommandFunction<CommandContext<CommandSourceStack>, BlockPos> from, InCommandFunction<CommandContext<CommandSourceStack>, BlockPos> to, InCommandFunction<CommandContext<CommandSourceStack>, BlockInput> block, FillCommand.NullableCommandFunction<CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> filter) -
Uses of CommandSourceStack in net.minecraft.server.commands.data
Fields in net.minecraft.server.commands.data with type parameters of type CommandSourceStackModifier and TypeFieldDescriptionprivate static final SuggestionProvider<CommandSourceStack> StorageDataAccessor.SUGGEST_STORAGEMethods in net.minecraft.server.commands.data that return types with arguments of type CommandSourceStackModifier and TypeMethodDescriptionDataCommands.DataManipulatorDecorator.create(DataCommands.DataManipulator manipulator) private static ArgumentBuilder<CommandSourceStack, ?> DataCommands.decorateModification(BiConsumer<ArgumentBuilder<CommandSourceStack, ?>, DataCommands.DataManipulatorDecorator> nodeSupplier) DataCommands.DataProvider.wrap(ArgumentBuilder<CommandSourceStack, ?> parent, Function<ArgumentBuilder<CommandSourceStack, ?>, ArgumentBuilder<CommandSourceStack, ?>> function) Methods in net.minecraft.server.commands.data with parameters of type CommandSourceStackModifier and TypeMethodDescriptionprivate static intDataCommands.getData(CommandSourceStack source, DataAccessor accessor) private static intDataCommands.getData(CommandSourceStack source, DataAccessor accessor, NbtPathArgument.NbtPath path) private static intDataCommands.getNumeric(CommandSourceStack source, DataAccessor accessor, NbtPathArgument.NbtPath path, double scale) private static intDataCommands.mergeData(CommandSourceStack source, DataAccessor accessor, CompoundTag nbt) private static intDataCommands.removeData(CommandSourceStack source, DataAccessor accessor, NbtPathArgument.NbtPath path) Method parameters in net.minecraft.server.commands.data with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionDataCommands.DataProvider.access(CommandContext<CommandSourceStack> context) private static ArgumentBuilder<CommandSourceStack, ?> DataCommands.decorateModification(BiConsumer<ArgumentBuilder<CommandSourceStack, ?>, DataCommands.DataManipulatorDecorator> nodeSupplier) private static CommandStorageStorageDataAccessor.getGlobalTags(CommandContext<CommandSourceStack> context) DataCommands.getSingletonSource(CommandContext<CommandSourceStack> context, DataCommands.DataProvider sourceProvider) private static intDataCommands.manipulateData(CommandContext<CommandSourceStack> context, DataCommands.DataProvider targetProvider, DataCommands.DataManipulator manipulator, List<Tag> source) intDataCommands.DataManipulator.modify(CommandContext<CommandSourceStack> context, CompoundTag targetData, NbtPathArgument.NbtPath targetPath, List<Tag> source) static voidDataCommands.register(CommandDispatcher<CommandSourceStack> dispatcher) DataCommands.resolveSourcePath(CommandContext<CommandSourceStack> context, DataCommands.DataProvider sourceProvider) DataCommands.DataProvider.wrap(ArgumentBuilder<CommandSourceStack, ?> parent, Function<ArgumentBuilder<CommandSourceStack, ?>, ArgumentBuilder<CommandSourceStack, ?>> function) DataCommands.DataProvider.wrap(ArgumentBuilder<CommandSourceStack, ?> parent, Function<ArgumentBuilder<CommandSourceStack, ?>, ArgumentBuilder<CommandSourceStack, ?>> function) DataCommands.DataProvider.wrap(ArgumentBuilder<CommandSourceStack, ?> parent, Function<ArgumentBuilder<CommandSourceStack, ?>, ArgumentBuilder<CommandSourceStack, ?>> function) -
Uses of CommandSourceStack in net.minecraft.server.dedicated
Methods in net.minecraft.server.dedicated with parameters of type CommandSourceStackModifier and TypeMethodDescriptionvoidDedicatedServer.handleConsoleInput(String msg, CommandSourceStack source) -
Uses of CommandSourceStack in net.minecraft.server.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 ParseResults<CommandSourceStack> ServerGamePacketListenerImpl.parseCommand(String command) -
Uses of CommandSourceStack in net.minecraft.server.players
Methods in net.minecraft.server.players with parameters of type CommandSourceStackModifier and TypeMethodDescriptionvoidPlayerList.broadcastChatMessage(PlayerChatMessage message, CommandSourceStack sender, ChatType.Bound chatType) -
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 level) -
Uses of CommandSourceStack in net.minecraft.world.entity.vehicle.minecart
Methods in net.minecraft.world.entity.vehicle.minecart that return CommandSourceStackModifier and TypeMethodDescriptionMinecartCommandBlock.MinecartCommandBase.createCommandSourceStack(ServerLevel level, CommandSource source) -
Uses of CommandSourceStack in net.minecraft.world.level
Methods in net.minecraft.world.level that return CommandSourceStackModifier and TypeMethodDescriptionabstract CommandSourceStackBaseCommandBlock.createCommandSourceStack(ServerLevel level, CommandSource source) -
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(@Nullable Player player, ServerLevel level) private static CommandSourceStackSignBlockEntity.createCommandSourceStack(@Nullable Player player, ServerLevel level, BlockPos pos) -
Uses of CommandSourceStack in net.neoforged.neoforge.client
Subclasses of CommandSourceStack in net.neoforged.neoforge.clientModifier and TypeClassDescriptionclassoverrides forCommandSourceStackso that the methods will run successfully client sideFields in net.neoforged.neoforge.client with type parameters of type CommandSourceStackModifier and TypeFieldDescriptionprivate static CommandDispatcher<CommandSourceStack> ClientCommandHandler.commandsMethods in net.neoforged.neoforge.client that return types with arguments of type CommandSourceStackModifier and TypeMethodDescriptionstatic 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 ArgumentBuilder<CommandSourceStack, ?> ClientConfigCommand.ShowFile.register()Method parameters in net.neoforged.neoforge.client.command with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionstatic voidClientConfigCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) private static intClientConfigCommand.ShowFile.showFile(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 CommandDispatcher<CommandSourceStack> RegisterClientCommandsEvent.dispatcherMethods in net.neoforged.neoforge.client.event that return types with arguments of type CommandSourceStackModifier and TypeMethodDescriptionRegisterClientCommandsEvent.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(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 CommandDispatcher<CommandSourceStack> RegisterCommandsEvent.dispatcherprivate ParseResults<CommandSourceStack> CommandEvent.parseMethods in net.neoforged.neoforge.event that return types with arguments of type CommandSourceStackModifier and TypeMethodDescriptionRegisterCommandsEvent.getDispatcher()Returns the command dispatcher for registering commands to be executed on the client.CommandEvent.getParseResults()Returns the parsed command results.Method parameters in net.neoforged.neoforge.event with type arguments of type CommandSourceStackModifier and TypeMethodDescriptionstatic voidEventHooks.onCommandRegister(CommandDispatcher<CommandSourceStack> dispatcher, Commands.CommandSelection environment, CommandBuildContext context) voidCommandEvent.setParseResults(ParseResults<CommandSourceStack> parse) Constructor parameters in net.neoforged.neoforge.event with type arguments of type CommandSourceStackModifierConstructorDescriptionRegisterCommandsEvent(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 ArgumentBuilder<CommandSourceStack, ?> ConfigCommand.ShowFile.register()static ArgumentBuilder<CommandSourceStack, ?> DataComponentCommand.register()(package private) static ArgumentBuilder<CommandSourceStack, ?> DimensionsCommand.register()static ArgumentBuilder<CommandSourceStack, ?> DumpCommand.register()(package private) static ArgumentBuilder<CommandSourceStack, ?> EntityCommand.EntityListCommand.register()(package private) static ArgumentBuilder<CommandSourceStack, ?> EntityCommand.register()(package private) static ArgumentBuilder<CommandSourceStack, ?> GenerateCommand.register()(package private) static ArgumentBuilder<CommandSourceStack, ?> ModListCommand.register()static ArgumentBuilder<CommandSourceStack, ?> TagsCommand.register()(package private) static ArgumentBuilder<CommandSourceStack, ?> TimeSpeedCommand.register()(package private) static ArgumentBuilder<CommandSourceStack, ?> TPSCommand.register()(package private) static ArgumentBuilder<CommandSourceStack, ?> TrackCommand.register()(package private) static ArgumentBuilder<CommandSourceStack, ?> TrackCommand.ResetTrackingCommand.register()(package private) static ArgumentBuilder<CommandSourceStack, ?> TrackCommand.StartTrackingCommand.register()(package private) static ArgumentBuilder<CommandSourceStack, ?> TrackCommand.TrackResultsBlockEntity.register()(package private) static ArgumentBuilder<CommandSourceStack, ?> TrackCommand.TrackResultsEntity.register()static <T extends Registry<?>>
SuggestionProvider<CommandSourceStack> CommandUtils.suggestFromRegistry(Function<Registry<?>, Iterable<Identifier>> 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(CommandContext<CommandSourceStack> ctx, boolean alphabeticalSort, boolean printNumericIds) private static booleanGenerateCommand.getBool(CommandContext<CommandSourceStack> ctx, String name) private static intGenerateCommand.getInt(CommandContext<CommandSourceStack> ctx, String name) static <T> Optional<ResourceKey<T>> CommandUtils.getResourceKey(CommandContext<CommandSourceStack> ctx, String name, ResourceKey<Registry<T>> registryKey) private static intDataComponentCommand.listComponents(CommandContext<CommandSourceStack> ctx) private static intTagsCommand.listTagElements(CommandContext<CommandSourceStack> ctx, int page) private static intTagsCommand.listTags(CommandContext<CommandSourceStack> ctx, int page) private static intTagsCommand.queryElementTags(CommandContext<CommandSourceStack> ctx, int page) static voidConfigCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidNeoForgeCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) private static intTPSCommand.sendTime(CommandContext<CommandSourceStack> context, @Nullable ServerLevel dimension) private static intConfigCommand.ShowFile.showFile(CommandContext<CommandSourceStack> context) static CompletableFuture<Suggestions> CommandUtils.suggestRegistries(CommandContext<CommandSourceStack> ctx, SuggestionsBuilder builder)