Uses of Class
net.minecraft.server.command.ServerCommandSource
Packages that use ServerCommandSource
Package
Description
-
Uses of ServerCommandSource in net.minecraft.block.entity
Methods in net.minecraft.block.entity that return ServerCommandSourceModifier and TypeMethodDescriptionprivate static ServerCommandSourceSignBlockEntity.createCommandSource(@Nullable PlayerEntity player, World world, BlockPos pos) private ServerCommandSourceLecternBlockEntity.getCommandSource(@Nullable PlayerEntity player) -
Uses of ServerCommandSource in net.minecraft.command
Fields in net.minecraft.command with type parameters of type ServerCommandSourceModifier and TypeFieldDescription(package private) static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> StorageDataObject.SUGGESTION_PROVIDERMethods in net.minecraft.command with parameters of type ServerCommandSourceModifier and TypeMethodDescriptionprivate voidEntitySelector.checkSourcePermission(ServerCommandSource source) EntitySelector.getEntities(ServerCommandSource source) EntitySelector.getEntity(ServerCommandSource source) EntitySelector.getPlayer(ServerCommandSource source) EntitySelector.getPlayers(ServerCommandSource source) Method parameters in net.minecraft.command with type arguments of type ServerCommandSourceModifier and TypeMethodDescription(package private) static DataCommandStorageStorageDataObject.of(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) -
Uses of ServerCommandSource in net.minecraft.command.argument
Fields in net.minecraft.command.argument with type parameters of type ServerCommandSourceModifier and TypeFieldDescriptionstatic final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> ScoreHolderArgumentType.SUGGESTION_PROVIDERMethods in net.minecraft.command.argument that return types with arguments of type ServerCommandSourceModifier and TypeMethodDescription(package private) static CommandFunction<ServerCommandSource> CommandFunctionArgumentType.getFunction(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier id) com.mojang.datafixers.util.Pair<Identifier, com.mojang.datafixers.util.Either<CommandFunction<ServerCommandSource>, Collection<CommandFunction<ServerCommandSource>>>> CommandFunctionArgumentType.FunctionArgument.getFunctionOrTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) com.mojang.datafixers.util.Pair<Identifier, com.mojang.datafixers.util.Either<CommandFunction<ServerCommandSource>, Collection<CommandFunction<ServerCommandSource>>>> CommandFunctionArgumentType.FunctionArgument.getFunctionOrTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) static com.mojang.datafixers.util.Pair<Identifier, com.mojang.datafixers.util.Either<CommandFunction<ServerCommandSource>, Collection<CommandFunction<ServerCommandSource>>>> CommandFunctionArgumentType.getFunctionOrTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static com.mojang.datafixers.util.Pair<Identifier, com.mojang.datafixers.util.Either<CommandFunction<ServerCommandSource>, Collection<CommandFunction<ServerCommandSource>>>> CommandFunctionArgumentType.getFunctionOrTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) CommandFunctionArgumentType.FunctionArgument.getFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) static Collection<CommandFunction<ServerCommandSource>> CommandFunctionArgumentType.getFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) (package private) static Collection<CommandFunction<ServerCommandSource>> CommandFunctionArgumentType.getFunctionTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier id) com.mojang.datafixers.util.Pair<Identifier, Collection<CommandFunction<ServerCommandSource>>> CommandFunctionArgumentType.FunctionArgument.getIdentifiedFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) static com.mojang.datafixers.util.Pair<Identifier, Collection<CommandFunction<ServerCommandSource>>> CommandFunctionArgumentType.getIdentifiedFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) Methods in net.minecraft.command.argument with parameters of type ServerCommandSourceModifier and TypeMethodDescriptionprivate static voidMessageArgumentType.chain(Consumer<SignedMessage> callback, ServerCommandSource source, SignedMessage message) private static voidMessageArgumentType.chainUnsigned(Consumer<SignedMessage> callback, ServerCommandSource source, SignedMessage message) private static CompletableFuture<FilteredMessage> MessageArgumentType.filterText(ServerCommandSource source, SignedMessage message) (package private) TextMessageArgumentType.MessageFormat.format(ServerCommandSource source) MessageArgumentType.MessageFormat.format(ServerCommandSource source, boolean canUseSelectors) MessageArgumentType.MessageSelector.format(ServerCommandSource source) floatAngleArgumentType.Angle.getAngle(ServerCommandSource source) Collection<com.mojang.authlib.GameProfile> GameProfileArgumentType.GameProfileArgument.getNames(ServerCommandSource source) Collection<com.mojang.authlib.GameProfile> GameProfileArgumentType.SelectorBacked.getNames(ServerCommandSource source) ScoreHolderArgumentType.ScoreHolders.getNames(ServerCommandSource source, Supplier<Collection<ScoreHolder>> holders) ScoreHolderArgumentType.SelectorScoreHolders.getNames(ServerCommandSource source, Supplier<Collection<ScoreHolder>> holders) EntityAnchorArgumentType.EntityAnchor.positionAt(ServerCommandSource source) default BlockPosPosArgument.toAbsoluteBlockPos(ServerCommandSource source) DefaultPosArgument.toAbsolutePos(ServerCommandSource source) LookingPosArgument.toAbsolutePos(ServerCommandSource source) PosArgument.toAbsolutePos(ServerCommandSource source) DefaultPosArgument.toAbsoluteRotation(ServerCommandSource source) LookingPosArgument.toAbsoluteRotation(ServerCommandSource source) PosArgument.toAbsoluteRotation(ServerCommandSource source) Method parameters in net.minecraft.command.argument with type arguments of type ServerCommandSourceModifier and TypeMethodDescriptionstatic AdvancementEntryIdentifierArgumentType.getAdvancementArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName) static floatAngleArgumentType.getAngle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) private static <T> RegistryEntry<T> RegistryEntryArgumentType.getArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argument) static BlockMirrorBlockMirrorArgumentType.getBlockMirror(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String id) static BlockPosBlockPosArgumentType.getBlockPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static Predicate<CachedBlockPosition> BlockPredicateArgumentType.getBlockPredicate(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static BlockRotationBlockRotationArgumentType.getBlockRotation(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String id) static BlockStateArgumentBlockStateArgumentType.getBlockState(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static FormattingColorArgumentType.getColor(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static ColumnPosColumnPosArgumentType.getColumnPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static RegistryEntry.Reference<ConfiguredFeature<?, ?>> RegistryEntryReferenceArgumentType.getConfiguredFeature(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static RegistryEntry.Reference<ConfiguredFeature<?, ?>> RegistryKeyArgumentType.getConfiguredFeatureEntry(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static ScoreboardCriterionScoreboardCriterionArgumentType.getCriterion(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static ServerWorldDimensionArgumentType.getDimensionArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static RegistryEntry.Reference<Enchantment> RegistryEntryReferenceArgumentType.getEnchantment(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static Collection<? extends Entity> EntityArgumentType.getEntities(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static EntityEntityArgumentType.getEntity(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) EntityAnchorArgumentType.getEntityAnchor(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) RegistryEntryReferenceArgumentType.getEntityAttribute(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static RegistryEntry.Reference<EntityType<?>> RegistryEntryReferenceArgumentType.getEntityType(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) (package private) static CommandFunction<ServerCommandSource> CommandFunctionArgumentType.getFunction(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier id) static TestFunctionTestFunctionArgumentType.getFunction(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) com.mojang.datafixers.util.Pair<Identifier, com.mojang.datafixers.util.Either<CommandFunction<ServerCommandSource>, Collection<CommandFunction<ServerCommandSource>>>> CommandFunctionArgumentType.FunctionArgument.getFunctionOrTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) static com.mojang.datafixers.util.Pair<Identifier, com.mojang.datafixers.util.Either<CommandFunction<ServerCommandSource>, Collection<CommandFunction<ServerCommandSource>>>> CommandFunctionArgumentType.getFunctionOrTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) CommandFunctionArgumentType.FunctionArgument.getFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) static Collection<CommandFunction<ServerCommandSource>> CommandFunctionArgumentType.getFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) (package private) static Collection<CommandFunction<ServerCommandSource>> CommandFunctionArgumentType.getFunctionTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier id) static GameModeGameModeArgumentType.getGameMode(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static Heightmap.TypeHeightmapArgumentType.getHeightmap(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String id) com.mojang.datafixers.util.Pair<Identifier, Collection<CommandFunction<ServerCommandSource>>> CommandFunctionArgumentType.FunctionArgument.getIdentifiedFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) static com.mojang.datafixers.util.Pair<Identifier, Collection<CommandFunction<ServerCommandSource>>> CommandFunctionArgumentType.getIdentifiedFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static IdentifierIdentifierArgumentType.getIdentifier(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static intItemSlotArgumentType.getItemSlot(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) ItemPredicateArgumentType.getItemStackPredicate(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) private static <T> RegistryKey<T> RegistryKeyArgumentType.getKey(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, RegistryKey<Registry<T>> registryRef, com.mojang.brigadier.exceptions.DynamicCommandExceptionType invalidException) static BlockPosBlockPosArgumentType.getLoadedBlockPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static BlockPosBlockPosArgumentType.getLoadedBlockPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, ServerWorld world, String name) static RegistryEntry<LootCondition> RegistryEntryArgumentType.getLootCondition(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argument) static RegistryEntry<LootFunction> RegistryEntryArgumentType.getLootFunction(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argument) static RegistryEntry<LootTable> RegistryEntryArgumentType.getLootTable(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argument) static TextMessageArgumentType.getMessage(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static NbtPathArgumentType.NbtPathNbtPathArgumentType.getNbtPath(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static ScoreboardObjectiveScoreboardObjectiveArgumentType.getObjective(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) OperationArgumentType.getOperation(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static Collection<? extends Entity> EntityArgumentType.getOptionalEntities(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static Collection<ServerPlayerEntity> EntityArgumentType.getOptionalPlayers(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static ParticleEffectParticleEffectArgumentType.getParticle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static ServerPlayerEntityEntityArgumentType.getPlayer(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static Collection<ServerPlayerEntity> EntityArgumentType.getPlayers(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static PosArgumentVec3ArgumentType.getPosArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static <T> RegistryPredicateArgumentType.RegistryPredicate<T> RegistryPredicateArgumentType.getPredicate(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, RegistryKey<Registry<T>> registryRef, com.mojang.brigadier.exceptions.DynamicCommandExceptionType invalidException) static Collection<com.mojang.authlib.GameProfile> GameProfileArgumentType.getProfileArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static NumberRange.DoubleRangeNumberRangeArgumentType.FloatRangeArgumentType.getRangeArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static NumberRange.IntRangeNumberRangeArgumentType.IntRangeArgumentType.getRangeArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static RecipeEntry<?> IdentifierArgumentType.getRecipeArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName) private static <T> Registry<T> RegistryKeyArgumentType.getRegistry(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryKey<? extends Registry<T>> registryRef) static <T> RegistryEntry.Reference<T> RegistryEntryReferenceArgumentType.getRegistryEntry(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, RegistryKey<Registry<T>> registryRef) private static <T> RegistryEntry.Reference<T> RegistryKeyArgumentType.getRegistryEntry(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, RegistryKey<Registry<T>> registryRef, com.mojang.brigadier.exceptions.DynamicCommandExceptionType invalidException) static <T> RegistryEntryPredicateArgumentType.EntryPredicate<T> RegistryEntryPredicateArgumentType.getRegistryEntryPredicate(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, RegistryKey<Registry<T>> registryRef) static PosArgumentRotationArgumentType.getRotation(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static Collection<ScoreHolder> ScoreHolderArgumentType.getScoreboardScoreHolders(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static ScoreboardDisplaySlotScoreboardSlotArgumentType.getScoreboardSlot(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static ScoreHolderScoreHolderArgumentType.getScoreHolder(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static Collection<ScoreHolder> ScoreHolderArgumentType.getScoreHolders(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static Collection<ScoreHolder> ScoreHolderArgumentType.getScoreHolders(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, Supplier<Collection<ScoreHolder>> players) static voidMessageArgumentType.getSignedMessage(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, Consumer<SignedMessage> callback) static SlotRangeSlotRangeArgumentType.getSlotRange(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static RegistryEntry.Reference<StatusEffect> RegistryEntryReferenceArgumentType.getStatusEffect(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static RegistryEntry.Reference<Structure> RegistryEntryReferenceArgumentType.getStructure(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static RegistryEntry.Reference<Structure> RegistryKeyArgumentType.getStructureEntry(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static RegistryEntry.Reference<StructurePool> RegistryKeyArgumentType.getStructurePoolEntry(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static StyleStyleArgumentType.getStyle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String style) static RegistryEntry.Reference<EntityType<?>> RegistryEntryReferenceArgumentType.getSummonableEntityType(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static EnumSet<Direction.Axis> SwizzleArgumentType.getSwizzle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static TeamTeamArgumentType.getTeam(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static StringTestClassArgumentType.getTestClass(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static TextTextArgumentType.getTextArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static UUIDUuidArgumentType.getUuid(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static BlockPosBlockPosArgumentType.getValidBlockPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static Vec2fVec2ArgumentType.getVec2(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static Vec3dVec3ArgumentType.getVec3(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static ScoreboardObjectiveScoreboardObjectiveArgumentType.getWritableObjective(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) -
Uses of ServerCommandSource in net.minecraft.command.suggestion
Fields in net.minecraft.command.suggestion with type parameters of type ServerCommandSourceModifier and TypeFieldDescriptionstatic final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SuggestionProviders.ALL_RECIPESstatic final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SuggestionProviders.AVAILABLE_SOUNDSstatic final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SuggestionProviders.SUMMONABLE_ENTITIES -
Uses of ServerCommandSource in net.minecraft.component.type
Methods in net.minecraft.component.type with parameters of type ServerCommandSourceModifier and TypeMethodDescriptionWrittenBookContentComponent.resolve(ServerCommandSource source, @Nullable PlayerEntity player) private static Optional<RawFilteredPair<Text>> WrittenBookContentComponent.resolve(ServerCommandSource source, @Nullable PlayerEntity player, RawFilteredPair<Text> page) -
Uses of ServerCommandSource in net.minecraft.entity
Methods in net.minecraft.entity that return ServerCommandSourceModifier and TypeMethodDescriptionEntity.getCommandSource()Returns a command source which represents this entity. -
Uses of ServerCommandSource in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle that return ServerCommandSource -
Uses of ServerCommandSource in net.minecraft.item
Methods in net.minecraft.item with parameters of type ServerCommandSourceModifier and TypeMethodDescriptionstatic booleanWrittenBookItem.resolve(ItemStack book, ServerCommandSource commandSource, @Nullable PlayerEntity player) -
Uses of ServerCommandSource in net.minecraft.network.message
Methods in net.minecraft.network.message with parameters of type ServerCommandSourceModifier and TypeMethodDescriptionstatic MessageType.ParametersMessageType.params(RegistryKey<MessageType> typeKey, ServerCommandSource source) -
Uses of ServerCommandSource in net.minecraft.server
Methods in net.minecraft.server that return ServerCommandSourceModifier and TypeMethodDescriptionMinecraftServer.getCommandSource()Creates a command source which represents this Minecraft server instance.Methods in net.minecraft.server with parameters of type ServerCommandSourceModifier and TypeMethodDescriptionvoidPlayerManager.broadcast(SignedMessage message, ServerCommandSource source, MessageType.Parameters params) Broadcasts a chat message to all players and the server console.voidMinecraftServer.kickNonWhitelistedPlayers(ServerCommandSource source) -
Uses of ServerCommandSource in net.minecraft.server.command
Fields in net.minecraft.server.command declared as ServerCommandSourceModifier and TypeFieldDescriptionprivate final ServerCommandSourceTestFinder.commandSourceprivate final ServerCommandSourceTestCommand.ReportingBatchListener.sourceThe field for thesourcerecord component.Fields in net.minecraft.server.command with type parameters of type ServerCommandSourceModifier and TypeFieldDescriptionprivate static final ThreadLocal<CommandExecutionContext<ServerCommandSource>> CommandManager.CURRENT_CONTEXTprivate static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> DatapackCommand.DISABLED_CONTAINERS_SUGGESTION_PROVIDERprivate final com.mojang.brigadier.CommandDispatcher<ServerCommandSource> CommandManager.dispatcherprivate static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> DatapackCommand.ENABLED_CONTAINERS_SUGGESTION_PROVIDERprivate static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> ExecuteCommand.LOOT_CONDITIONSprivate static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> ItemCommand.MODIFIER_SUGGESTION_PROVIDER(package private) static final FunctionCommand.ResultConsumer<ServerCommandSource> FunctionCommand.RESULT_REPORTERprivate static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> AdvancementCommand.SUGGESTION_PROVIDERstatic final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> BossBarCommand.SUGGESTION_PROVIDERstatic final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> FunctionCommand.SUGGESTION_PROVIDERstatic final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> LootCommand.SUGGESTION_PROVIDERprivate static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> PlaceCommand.SUGGESTION_PROVIDERprivate static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> ScheduleCommand.SUGGESTION_PROVIDERMethods in net.minecraft.server.command with type parameters of type ServerCommandSourceModifier and TypeMethodDescriptionprivate static <T extends com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,T>>
TLootCommand.addTargetArguments(T rootArgument, LootCommand.SourceConstructor sourceConstructor) Methods in net.minecraft.server.command that return ServerCommandSourceModifier and TypeMethodDescriptionstatic ServerCommandSourceFunctionCommand.createFunctionCommandSource(ServerCommandSource source) private static ServerCommandSourceExecuteCommand.executeStoreBossbar(ServerCommandSource source, CommandBossBar bossBar, boolean storeInValue, boolean requestResult) private static ServerCommandSourceExecuteCommand.executeStoreData(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path, IntFunction<NbtElement> nbtSetter, boolean requestResult) private static ServerCommandSourceExecuteCommand.executeStoreScore(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, boolean requestResult) TestFinder.getCommandSource()ServerCommandSource.mergeReturnValueConsumers(ReturnValueConsumer returnValueConsumer, BinaryOperator<ReturnValueConsumer> merger) TestCommand.ReportingBatchListener.source()Returns the value of thesourcerecord component.private static ServerCommandSourceExecuteCommand.summon(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType) ServerCommandSource.withEntity(Entity entity) ServerCommandSource.withEntityAnchor(EntityAnchorArgumentType.EntityAnchor anchor) ServerCommandSource.withLevel(int level) ServerCommandSource.withLookingAt(Entity entity, EntityAnchorArgumentType.EntityAnchor anchor) ServerCommandSource.withLookingAt(Vec3d position) ServerCommandSource.withMaxLevel(int level) ServerCommandSource.withOutput(CommandOutput output) ServerCommandSource.withPosition(Vec3d position) ServerCommandSource.withReturnValueConsumer(ReturnValueConsumer returnValueConsumer) ServerCommandSource.withRotation(Vec2f rotation) ServerCommandSource.withSignedArguments(SignedCommandArguments signedArguments, FutureQueue messageChainTaskQueue) ServerCommandSource.withSilent()ServerCommandSource.withWorld(ServerWorld world) Methods in net.minecraft.server.command that return types with arguments of type ServerCommandSourceModifier and TypeMethodDescriptioncom.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> DataCommand.ObjectType.addArgumentsToBuilder(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> argument, Function<com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>> argumentAdder) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> ExecuteCommand.addBlocksConditionLogic(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> root, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, boolean positive, boolean masked) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> ExecuteCommand.addConditionArguments(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> root, com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> argumentBuilder, boolean positive, CommandRegistryAccess commandRegistryAccess) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> ExecuteCommand.addConditionLogic(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> root, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, boolean positive, ExecuteCommand.Condition condition) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> DataCommand.addModifyArgument(BiConsumer<com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>, DataCommand.ModifyArgumentCreator> subArgumentAdder) private static com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> ExecuteCommand.addOnArguments(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> node, com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> builder) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> ExecuteCommand.addStoreArguments(com.mojang.brigadier.tree.LiteralCommandNode<ServerCommandSource> node, com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> builder, boolean requestResult) static <T> com.mojang.brigadier.builder.RequiredArgumentBuilder<ServerCommandSource, T> private static @Nullable com.mojang.brigadier.context.ContextChain<ServerCommandSource> CommandManager.checkCommand(com.mojang.brigadier.ParseResults<ServerCommandSource> parseResults, String command, ServerCommandSource source) com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> LootCommand.SourceConstructor.construct(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, LootCommand.Target target) com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> DataCommand.ModifyArgumentCreator.create(DataCommand.ModifyOperation modifier) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> CloneCommand.createDestinationArgs(CommandRegistryAccess commandRegistryAccess, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> sourceWorldGetter, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> targetWorldGetter) private static com.mojang.brigadier.RedirectModifier<ServerCommandSource> ExecuteCommand.createEntityModifier(Function<Entity, Optional<Entity>> function) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> CloneCommand.createModeArgs(CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> beginPosGetter, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> endPosGetter, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> destinationPosGetter, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, Predicate<CachedBlockPosition>> filterGetter, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder) private static com.mojang.brigadier.RedirectModifier<ServerCommandSource> ExecuteCommand.createMultiEntityModifier(Function<Entity, Stream<Entity>> function) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> CloneCommand.createSourceArgs(CommandRegistryAccess commandRegistryAccess, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> worldGetter) com.mojang.brigadier.CommandDispatcher<ServerCommandSource> CommandManager.getDispatcher()com.mojang.brigadier.CommandDispatcher<ServerCommandSource> ServerCommandSource.getDispatcher()private static com.mojang.brigadier.Command<ServerCommandSource> ExecuteCommand.getExistsConditionExecute(boolean positive, ExecuteCommand.ExistsCondition condition) private static Collection<ServerCommandSource> ExecuteCommand.getSourceOrEmptyForConditionFork(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, boolean positive, boolean value) static com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> private static com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> PlaySoundCommand.makeArgumentsForCategory(SoundCategory category) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> ScoreboardCommand.makeNumberFormatArguments(CommandRegistryAccess registryAccess, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> argumentBuilder, ScoreboardCommand.NumberFormatCommandExecutor executor) private static com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> ScoreboardCommand.makeRenderTypeArguments()private static com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> TestCommand.testAttemptAndPlacementConfig(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, Function<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestCommand.Runner> callback) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> TestCommand.testAttemptConfig(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, Function<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestCommand.Runner> callback) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> TestCommand.testAttemptConfig(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, Function<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestCommand.Runner> callback, Function<com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>> extraConfigAdder) Methods in net.minecraft.server.command with parameters of type ServerCommandSourceModifier and TypeMethodDescriptionprivate static intBossBarCommand.addBossBar(ServerCommandSource source, Identifier name, Text displayName) static voidCommandManager.callWithContext(ServerCommandSource commandSource, Consumer<CommandExecutionContext<ServerCommandSource>> callback) private static @Nullable com.mojang.brigadier.context.ContextChain<ServerCommandSource> CommandManager.checkCommand(com.mojang.brigadier.ParseResults<ServerCommandSource> parseResults, String command, ServerCommandSource source) private static intScheduleCommand.clearEvent(ServerCommandSource source, String eventName) private static intWardenSpawnTrackerCommand.clearTracker(ServerCommandSource source, Collection<? extends PlayerEntity> players) private static intExecuteCommand.countMatchingItems(ServerCommandSource source, BlockPos pos, SlotRange slotRange, Predicate<ItemStack> predicate) static ServerCommandSourceFunctionCommand.createFunctionCommandSource(ServerCommandSource source) private TTestFinder.Runners.createRunner(ServerCommandSource source, TestFunctionFinder testFunctionFinder, StructureBlockFinder structureBlockFinder) private static intClearCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Predicate<ItemStack> item) private static intClearCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Predicate<ItemStack> item, int maxCount) private static intCloneCommand.execute(ServerCommandSource source, CloneCommand.DimensionalPos begin, CloneCommand.DimensionalPos end, CloneCommand.DimensionalPos destination, Predicate<CachedBlockPosition> filter, CloneCommand.Mode mode) private static intDamageCommand.execute(ServerCommandSource source, Entity target, float amount, DamageSource damageSource) private static intDebugMobSpawningCommand.execute(ServerCommandSource source, SpawnGroup group, BlockPos pos) private static intDebugPathCommand.execute(ServerCommandSource source, BlockPos pos) private static intDefaultGameModeCommand.execute(ServerCommandSource source, GameMode defaultGameMode) static intDifficultyCommand.execute(ServerCommandSource source, Difficulty difficulty) private static intEnchantCommand.execute(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<Enchantment> enchantment, int level) voidExecuteCommand.IfUnlessRedirector.execute(ServerCommandSource serverCommandSource, List<ServerCommandSource> list, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, ExecutionFlags executionFlags, ExecutionControl<ServerCommandSource> executionControl) private static intFillBiomeCommand.execute(ServerCommandSource source, BlockPos from, BlockPos to, RegistryEntry.Reference<Biome> biome, Predicate<RegistryEntry<Biome>> filter) private static intFillCommand.execute(ServerCommandSource source, BlockBox range, BlockStateArgument block, FillCommand.Mode mode, @Nullable Predicate<CachedBlockPosition> filter) private static intGiveCommand.execute(ServerCommandSource source, ItemStackArgument item, Collection<ServerPlayerEntity> targets, int count) private static intKickCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text reason) private static intKillCommand.execute(ServerCommandSource source, Collection<? extends Entity> targets) private static intListCommand.execute(ServerCommandSource source, Function<ServerPlayerEntity, Text> nameProvider) private static voidMessageCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, SignedMessage message) private static intParticleCommand.execute(ServerCommandSource source, ParticleEffect parameters, Vec3d pos, Vec3d delta, float speed, int count, boolean force, Collection<ServerPlayerEntity> viewers) private static intPlaySoundCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch, float minVolume) private static intPublishCommand.execute(ServerCommandSource source, int port, boolean allowCommands, @Nullable GameMode gameMode) private static intRandomCommand.execute(ServerCommandSource source, NumberRange.IntRange range, @Nullable Identifier sequenceId, boolean roll) private static intScheduleCommand.execute(ServerCommandSource source, com.mojang.datafixers.util.Pair<Identifier, com.mojang.datafixers.util.Either<CommandFunction<ServerCommandSource>, Collection<CommandFunction<ServerCommandSource>>>> function, int time, boolean replace) private static intSetBlockCommand.execute(ServerCommandSource source, BlockPos pos, BlockStateArgument block, SetBlockCommand.Mode mode, @Nullable Predicate<CachedBlockPosition> condition) private static intSetWorldSpawnCommand.execute(ServerCommandSource source, BlockPos pos, float angle) private static intSpawnArmorTrimsCommand.execute(ServerCommandSource source, PlayerEntity player) private static intSpawnPointCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, BlockPos pos, float angle) private static intSpectateCommand.execute(ServerCommandSource source, @Nullable Entity entity, ServerPlayerEntity player) private static intSpreadPlayersCommand.execute(ServerCommandSource source, Vec2f center, float spreadDistance, float maxRange, int maxY, boolean respectTeams, Collection<? extends Entity> players) private static intStopSoundCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, @Nullable SoundCategory category, @Nullable Identifier sound) private static intSummonCommand.execute(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType, Vec3d pos, NbtCompound nbt, boolean initialize) private static voidTeamMsgCommand.execute(ServerCommandSource source, Entity entity, Team team, List<ServerPlayerEntity> recipients, SignedMessage message) private static intTeleportCommand.execute(ServerCommandSource source, Collection<? extends Entity> targets, Entity destination) private static intTeleportCommand.execute(ServerCommandSource source, Collection<? extends Entity> targets, ServerWorld world, PosArgument location, @Nullable PosArgument rotation, @Nullable TeleportCommand.LookTarget facingLocation) private static intExperienceCommand.executeAdd(ServerCommandSource source, Collection<? extends ServerPlayerEntity> targets, int amount, ExperienceCommand.Component component) private static intScoreboardCommand.executeAdd(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, int score) private static intTagCommand.executeAdd(ServerCommandSource source, Collection<? extends Entity> targets, String tag) private static intTeamCommand.executeAdd(ServerCommandSource source, String team) private static intTeamCommand.executeAdd(ServerCommandSource source, String team, Text displayName) static intTimeCommand.executeAdd(ServerCommandSource source, int time) private static intTriggerCommand.executeAdd(ServerCommandSource source, ServerPlayerEntity player, ScoreboardObjective objective, int amount) private static intScoreboardCommand.executeAddObjective(ServerCommandSource source, String objective, ScoreboardCriterion criteria, Text displayName) private static intAdvancementCommand.executeAdvancement(ServerCommandSource source, Collection<ServerPlayerEntity> targets, AdvancementCommand.Operation operation, Collection<AdvancementEntry> selection) private static intAttributeCommand.executeBaseValueGet(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, double multiplier) private static intAttributeCommand.executeBaseValueSet(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, double value) private static intLootCommand.executeBlock(ServerCommandSource source, BlockPos targetPos, int slot, int stackCount, List<ItemStack> stacks, LootCommand.FeedbackMessage messageSender) private static intItemCommand.executeBlockCopyBlock(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, BlockPos pos, int slot) private static intItemCommand.executeBlockCopyBlock(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, BlockPos pos, int slot, RegistryEntry<LootFunction> lootFunction) private static intItemCommand.executeBlockCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot) private static intItemCommand.executeBlockCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot, RegistryEntry<LootFunction> lootFunction) private static intItemCommand.executeBlockModify(ServerCommandSource source, BlockPos pos, int slot, RegistryEntry<LootFunction> lootFunction) private static intItemCommand.executeBlockReplace(ServerCommandSource source, BlockPos pos, int slot, ItemStack stack) private static intWorldBorderCommand.executeBuffer(ServerCommandSource source, float distance) private static intWorldBorderCommand.executeCenter(ServerCommandSource source, Vec2f pos) private static intForceLoadCommand.executeChange(ServerCommandSource source, ColumnPos from, ColumnPos to, boolean forceLoaded) private static intRaidCommand.executeCheck(ServerCommandSource source) private static intEffectCommand.executeClear(ServerCommandSource source, Collection<? extends Entity> targets) private static intEffectCommand.executeClear(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<StatusEffect> statusEffect) private static intTitleCommand.executeClear(ServerCommandSource source, Collection<ServerPlayerEntity> targets) private static intWeatherCommand.executeClear(ServerCommandSource source, int duration) private static intScoreboardCommand.executeClearDisplay(ServerCommandSource source, ScoreboardDisplaySlot slot) private static intDebugConfigCommand.executeConfig(ServerCommandSource source, ServerPlayerEntity player) private static intTestCommand.executeCreate(ServerCommandSource source, String testName, int x, int y, int z) private static intAdvancementCommand.executeCriterion(ServerCommandSource source, Collection<ServerPlayerEntity> targets, AdvancementCommand.Operation operation, AdvancementEntry advancement, String criterion) private static intWorldBorderCommand.executeDamage(ServerCommandSource source, float damagePerBlock) private static intDatapackCommand.executeDisable(ServerCommandSource source, ResourcePackProfile container) private static intRideCommand.executeDismount(ServerCommandSource source, Entity rider) private static intTeamCommand.executeEmpty(ServerCommandSource source, Team team) private static intDatapackCommand.executeEnable(ServerCommandSource source, ResourcePackProfile container, DatapackCommand.PackAdder packAdder) private static intScoreboardCommand.executeEnable(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective) private static intItemCommand.executeEntityCopyBlock(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targets, int slot) private static intItemCommand.executeEntityCopyBlock(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targets, int slot, RegistryEntry<LootFunction> lootFunction) private static intItemCommand.executeEntityCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targets, int slot) private static intItemCommand.executeEntityCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targets, int slot, RegistryEntry<LootFunction> lootFunction) private static intItemCommand.executeEntityModify(ServerCommandSource source, Collection<? extends Entity> targets, int slot, RegistryEntry<LootFunction> lootFunction) private static intItemCommand.executeEntityReplace(ServerCommandSource source, Collection<? extends Entity> targets, int slot, ItemStack stack) private static intTestCommand.executeExport(ServerCommandSource source, String testName) private static intTickCommand.executeFreeze(ServerCommandSource source, boolean frozen) private static intDataCommand.executeGet(ServerCommandSource source, DataCommandObject object) private static intDataCommand.executeGet(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path) private static intDataCommand.executeGet(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path, double scale) private static intScoreboardCommand.executeGet(ServerCommandSource source, ScoreHolder scoreHolder, ScoreboardObjective objective) private static intWorldBorderCommand.executeGet(ServerCommandSource source) private static intEffectCommand.executeGive(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<StatusEffect> statusEffect, @Nullable Integer seconds, int amplifier, boolean showParticles) private static intRecipeCommand.executeGive(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Collection<RecipeEntry<?>> recipes) private static intRaidCommand.executeGlow(ServerCommandSource source) private static intTestCommand.executeImport(ServerCommandSource source, String testName) voidDebugCommand.Command.executeInner(ServerCommandSource serverCommandSource, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, ExecutionFlags executionFlags, ExecutionControl<ServerCommandSource> executionControl) voidFunctionCommand.Command.executeInner(ServerCommandSource serverCommandSource, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, ExecutionFlags executionFlags, ExecutionControl<ServerCommandSource> executionControl) private static intLootCommand.executeInsert(ServerCommandSource source, BlockPos targetPos, List<ItemStack> stacks, LootCommand.FeedbackMessage messageSender) private static intTeamCommand.executeJoin(ServerCommandSource source, Team team, Collection<ScoreHolder> members) private static intTeamCommand.executeLeave(ServerCommandSource source, Collection<ScoreHolder> members) private static intDatapackCommand.executeList(ServerCommandSource source) private static intTagCommand.executeList(ServerCommandSource source, Collection<? extends Entity> targets) private static intDatapackCommand.executeListAvailable(ServerCommandSource source) private static intDatapackCommand.executeListEnabled(ServerCommandSource source) private static intTeamCommand.executeListMembers(ServerCommandSource source, Team team) private static intScoreboardCommand.executeListObjectives(ServerCommandSource source) private static intScoreboardCommand.executeListPlayers(ServerCommandSource source) private static intScoreboardCommand.executeListScores(ServerCommandSource source, ScoreHolder scoreHolder) private static intTeamCommand.executeListTeams(ServerCommandSource source) private static intLocateCommand.executeLocateBiome(ServerCommandSource source, RegistryEntryPredicateArgumentType.EntryPredicate<Biome> predicate) private static intLocateCommand.executeLocatePoi(ServerCommandSource source, RegistryEntryPredicateArgumentType.EntryPredicate<PointOfInterestType> predicate) private static intLocateCommand.executeLocateStructure(ServerCommandSource source, RegistryPredicateArgumentType.RegistryPredicate<Structure> predicate) private static intDataCommand.executeMerge(ServerCommandSource source, DataCommandObject object, NbtCompound nbt) private static intAttributeCommand.executeModifierAdd(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, Identifier id, double value, EntityAttributeModifier.Operation operation) private static intAttributeCommand.executeModifierRemove(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, Identifier id) private static intAttributeCommand.executeModifierValueGet(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, Identifier id, double multiplier) private static intTeamCommand.executeModifyCollisionRule(ServerCommandSource source, Team team, AbstractTeam.CollisionRule collisionRule) private static intTeamCommand.executeModifyColor(ServerCommandSource source, Team team, Formatting color) private static intTeamCommand.executeModifyDeathMessageVisibility(ServerCommandSource source, Team team, AbstractTeam.VisibilityRule visibility) private static intScoreboardCommand.executeModifyDisplayAutoUpdate(ServerCommandSource source, ScoreboardObjective objective, boolean enable) private static intTeamCommand.executeModifyDisplayName(ServerCommandSource source, Team team, Text displayName) private static intTeamCommand.executeModifyFriendlyFire(ServerCommandSource source, Team team, boolean allowed) private static intTeamCommand.executeModifyNametagVisibility(ServerCommandSource source, Team team, AbstractTeam.VisibilityRule visibility) private static intScoreboardCommand.executeModifyObjective(ServerCommandSource source, ScoreboardObjective objective, Text displayName) private static intScoreboardCommand.executeModifyObjectiveFormat(ServerCommandSource source, ScoreboardObjective objective, @Nullable NumberFormat format) private static intTeamCommand.executeModifyPrefix(ServerCommandSource source, Team team, Text prefix) private static intScoreboardCommand.executeModifyRenderType(ServerCommandSource source, ScoreboardObjective objective, ScoreboardCriterion.RenderType type) private static intTeamCommand.executeModifySeeFriendlyInvisibles(ServerCommandSource source, Team team, boolean allowed) private static intTeamCommand.executeModifySuffix(ServerCommandSource source, Team team, Text suffix) private static intRideCommand.executeMount(ServerCommandSource source, Entity rider, Entity vehicle) private static intListCommand.executeNames(ServerCommandSource source) private static intScoreboardCommand.executeOperation(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective targetObjective, OperationArgumentType.Operation operation, Collection<ScoreHolder> sources, ScoreboardObjective sourceObjectives) static intPlaceCommand.executePlaceFeature(ServerCommandSource source, RegistryEntry.Reference<ConfiguredFeature<?, ?>> feature, BlockPos pos) static intPlaceCommand.executePlaceJigsaw(ServerCommandSource source, RegistryEntry<StructurePool> structurePool, Identifier id, int maxDepth, BlockPos pos) static intPlaceCommand.executePlaceStructure(ServerCommandSource source, RegistryEntry.Reference<Structure> structure, BlockPos pos) static intPlaceCommand.executePlaceTemplate(ServerCommandSource source, Identifier id, BlockPos pos, BlockRotation rotation, BlockMirror mirror, float integrity, int seed) private static intServerPackCommand.executePop(ServerCommandSource source, UUID uuid) private static intTestCommand.executePos(ServerCommandSource source, String variableName) private static intServerPackCommand.executePush(ServerCommandSource source, String url, Optional<UUID> uuid, Optional<String> hash) private static intExperienceCommand.executeQuery(ServerCommandSource source, ServerPlayerEntity player, ExperienceCommand.Component component) private static intForceLoadCommand.executeQuery(ServerCommandSource source) private static intForceLoadCommand.executeQuery(ServerCommandSource source, ColumnPos pos) (package private) static <T extends GameRules.Rule<T>>
intGameRuleCommand.executeQuery(ServerCommandSource source, GameRules.Key<T> key) private static intTickCommand.executeQuery(ServerCommandSource source) private static intTimeCommand.executeQuery(ServerCommandSource source, int time) private static intWeatherCommand.executeRain(ServerCommandSource source, int duration) private static intTickCommand.executeRate(ServerCommandSource source, float rate) private static intDataCommand.executeRemove(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path) private static intScoreboardCommand.executeRemove(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, int score) private static intTagCommand.executeRemove(ServerCommandSource source, Collection<? extends Entity> targets, String tag) private static intTeamCommand.executeRemove(ServerCommandSource source, Team team) private static intForceLoadCommand.executeRemoveAll(ServerCommandSource source) private static intScoreboardCommand.executeRemoveObjective(ServerCommandSource source, ScoreboardObjective objective) private static intRandomCommand.executeReset(ServerCommandSource source) private static intRandomCommand.executeReset(ServerCommandSource source, int salt, boolean includeWorldSeed, boolean includeSequenceId) private static intRandomCommand.executeReset(ServerCommandSource source, Identifier sequenceId) private static intRandomCommand.executeReset(ServerCommandSource source, Identifier sequenceId, int salt, boolean includeWorldSeed, boolean includeSequenceId) private static intScoreboardCommand.executeReset(ServerCommandSource source, Collection<ScoreHolder> targets) private static intScoreboardCommand.executeReset(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective) private static intTitleCommand.executeReset(ServerCommandSource source, Collection<ServerPlayerEntity> targets) private static intExperienceCommand.executeSet(ServerCommandSource source, Collection<? extends ServerPlayerEntity> targets, int amount, ExperienceCommand.Component component) private static intScoreboardCommand.executeSet(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, int score) static intTimeCommand.executeSet(ServerCommandSource source, int time) private static intTriggerCommand.executeSet(ServerCommandSource source, ServerPlayerEntity player, ScoreboardObjective objective, int value) private static intWorldBorderCommand.executeSet(ServerCommandSource source, double distance, long time) private static intScoreboardCommand.executeSetDisplay(ServerCommandSource source, ScoreboardDisplaySlot slot, ScoreboardObjective objective) private static intScoreboardCommand.executeSetDisplayName(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, @Nullable Text displayName) private static intScoreboardCommand.executeSetNumberFormat(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, @Nullable NumberFormat numberFormat) private static intRaidCommand.executeSetOmen(ServerCommandSource source, int level) private static intTriggerCommand.executeSimple(ServerCommandSource source, ServerPlayerEntity player, ScoreboardObjective objective) private static intRaidCommand.executeSound(ServerCommandSource source, @Nullable Text type) private static intLootCommand.executeSpawn(ServerCommandSource source, Vec3d pos, List<ItemStack> stacks, LootCommand.FeedbackMessage messageSender) private static intRaidCommand.executeSpawnLeader(ServerCommandSource source) private static intTickCommand.executeSprint(ServerCommandSource source, int ticks) private static intDebugCommand.executeStart(ServerCommandSource source) private static intJfrCommand.executeStart(ServerCommandSource source) private static intRaidCommand.executeStart(ServerCommandSource source, int level) private static intTickCommand.executeStep(ServerCommandSource source, int steps) private static intDebugCommand.executeStop(ServerCommandSource source) private static intJfrCommand.executeStop(ServerCommandSource source) private static intRaidCommand.executeStop(ServerCommandSource source) private static intTickCommand.executeStopSprint(ServerCommandSource source) private static intTickCommand.executeStopStep(ServerCommandSource source) private static ServerCommandSourceExecuteCommand.executeStoreBossbar(ServerCommandSource source, CommandBossBar bossBar, boolean storeInValue, boolean requestResult) private static ServerCommandSourceExecuteCommand.executeStoreData(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path, IntFunction<NbtElement> nbtSetter, boolean requestResult) private static ServerCommandSourceExecuteCommand.executeStoreScore(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, boolean requestResult) private static intRecipeCommand.executeTake(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Collection<RecipeEntry<?>> recipes) private static intWeatherCommand.executeThunder(ServerCommandSource source, int duration) private static intTitleCommand.executeTimes(ServerCommandSource source, Collection<ServerPlayerEntity> targets, int fadeIn, int stay, int fadeOut) private static intTitleCommand.executeTitle(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text title, String titleType, Function<Text, Packet<?>> constructor) private static intDebugConfigCommand.executeUnconfig(ServerCommandSource source, UUID uuid) private static intListCommand.executeUuids(ServerCommandSource source) private static intAttributeCommand.executeValueGet(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, double multiplier) private static intWorldBorderCommand.executeWarningDistance(ServerCommandSource source, int distance) private static intWorldBorderCommand.executeWarningTime(ServerCommandSource source, int time) voidCommandManager.executeWithPrefix(ServerCommandSource source, String command) Executescommand.(package private) static intTestCommand.export(ServerCommandSource source, StructureBlockBlockEntity blockEntity) private static InventoryLootCommand.getBlockInventory(ServerCommandSource source, BlockPos pos) private static ItemStackLootCommand.getHeldItem(ServerCommandSource source, EquipmentSlot slot) (package private) static InventoryItemCommand.getInventoryAtPos(ServerCommandSource source, BlockPos pos, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType exception) private static intBossBarCommand.getMaxValue(ServerCommandSource source, CommandBossBar bossBar) private static intBossBarCommand.getPlayers(ServerCommandSource source, CommandBossBar bossBar) private static ItemStackItemCommand.getStackInSlotFromInventoryAt(ServerCommandSource source, BlockPos pos, int slotId) private static ItemStackItemCommand.getStackWithModifier(ServerCommandSource source, RegistryEntry<LootFunction> lootFunction, ItemStack stack) (package private) static BlockPosTestCommand.getStructurePos(ServerCommandSource source) private static intBossBarCommand.getValue(ServerCommandSource source, CommandBossBar bossBar) private static booleanChaseCommand.isRunning(ServerCommandSource source) private static intBossBarCommand.isVisible(ServerCommandSource source, CommandBossBar bossBar) private static intBossBarCommand.listBossBars(ServerCommandSource source) voidTeleportCommand.LookAtEntity.look(ServerCommandSource source, Entity entity) voidTeleportCommand.LookAtPosition.look(ServerCommandSource source, Entity entity) voidTeleportCommand.LookTarget.look(ServerCommandSource source, Entity entity) private voidCommandManager.makeTreeForSource(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> tree, com.mojang.brigadier.tree.CommandNode<CommandSource> result, ServerCommandSource source, Map<com.mojang.brigadier.tree.CommandNode<ServerCommandSource>, com.mojang.brigadier.tree.CommandNode<CommandSource>> resultNodes) private static intWeatherCommand.processDuration(ServerCommandSource source, int duration, IntProvider provider) private static intBossBarCommand.removeBossBar(ServerCommandSource source, CommandBossBar bossBar) static intLocateCommand.sendCoordinates(ServerCommandSource source, RegistryEntryPredicateArgumentType.EntryPredicate<?> predicate, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result, String successMessage, boolean includeY, Duration timeTaken) static intLocateCommand.sendCoordinates(ServerCommandSource source, RegistryPredicateArgumentType.RegistryPredicate<?> structure, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result, String successMessage, boolean includeY, Duration timeTaken) private static intLocateCommand.sendCoordinates(ServerCommandSource source, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result, String successMessage, boolean includeY, String entryString, Duration timeTaken) private static voidLootCommand.sendDroppedFeedback(ServerCommandSource source, List<ItemStack> stacks) private static voidLootCommand.sendDroppedFeedback(ServerCommandSource source, List<ItemStack> stacks, RegistryKey<LootTable> lootTable) private static voidGameModeCommand.sendFeedback(ServerCommandSource source, ServerPlayerEntity player, GameMode gameMode) (package private) static voidTestCommand.sendMessage(ServerCommandSource source, String message) private static voidServerPackCommand.sendToAll(ServerCommandSource source, Packet<?> packet) private static intBossBarCommand.setColor(ServerCommandSource source, CommandBossBar bossBar, BossBar.Color color) private static intBossBarCommand.setMaxValue(ServerCommandSource source, CommandBossBar bossBar, int value) private static intBossBarCommand.setName(ServerCommandSource source, CommandBossBar bossBar, Text name) private static intBossBarCommand.setPlayers(ServerCommandSource source, CommandBossBar bossBar, Collection<ServerPlayerEntity> players) private static intBossBarCommand.setStyle(ServerCommandSource source, CommandBossBar bossBar, BossBar.Style style) private static intBossBarCommand.setValue(ServerCommandSource source, CommandBossBar bossBar, int value) private static intBossBarCommand.setVisible(ServerCommandSource source, CommandBossBar bossBar, boolean visible) private static intWardenSpawnTrackerCommand.setWarningLevel(ServerCommandSource source, Collection<? extends PlayerEntity> players, int warningCount) (package private) static intTestCommand.start(ServerCommandSource source, ServerWorld world, TestRunContext context) private static intChaseCommand.startClient(ServerCommandSource source, String ip, int port) private static intChaseCommand.startServer(ServerCommandSource source, String ip, int port) private static intChaseCommand.stop(ServerCommandSource source) (package private) static Stream<GameTestState> TestCommand.stream(ServerCommandSource source, TestAttemptConfig config, StructureBlockFinder finder) (package private) static Stream<GameTestState> TestCommand.stream(ServerCommandSource source, TestAttemptConfig config, TestFunctionFinder finder, int rotationSteps) private static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> ScoreboardCommand.suggestDisabled(ServerCommandSource source, Collection<ScoreHolder> targets, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> TriggerCommand.suggestObjectives(ServerCommandSource source, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) private static ServerCommandSourceExecuteCommand.summon(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType) static EntitySummonCommand.summon(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType, Vec3d pos, NbtCompound nbt, boolean initialize) private static voidTeleportCommand.teleport(ServerCommandSource source, Entity target, ServerWorld world, double x, double y, double z, Set<PositionFlag> movementFlags, float yaw, float pitch, @Nullable TeleportCommand.LookTarget facingLocation) private static booleanExecuteCommand.testLootCondition(ServerCommandSource source, RegistryEntry<LootCondition> lootCondition) static voidReloadCommand.tryReloadDataPacks(Collection<String> dataPacks, ServerCommandSource source) Method parameters in net.minecraft.server.command with type arguments of type ServerCommandSourceModifier and TypeMethodDescriptionintLootCommand.Target.accept(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, List<ItemStack> items, LootCommand.FeedbackMessage messageSender) com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> DataCommand.ObjectType.addArgumentsToBuilder(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> argument, Function<com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>> argumentAdder) com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> DataCommand.ObjectType.addArgumentsToBuilder(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> argument, Function<com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>> argumentAdder) com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> DataCommand.ObjectType.addArgumentsToBuilder(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> argument, Function<com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>> argumentAdder) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> ExecuteCommand.addBlocksConditionLogic(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> root, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, boolean positive, boolean masked) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> ExecuteCommand.addBlocksConditionLogic(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> root, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, boolean positive, boolean masked) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> ExecuteCommand.addConditionArguments(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> root, com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> argumentBuilder, boolean positive, CommandRegistryAccess commandRegistryAccess) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> ExecuteCommand.addConditionArguments(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> root, com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> argumentBuilder, boolean positive, CommandRegistryAccess commandRegistryAccess) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> ExecuteCommand.addConditionLogic(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> root, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, boolean positive, ExecuteCommand.Condition condition) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> ExecuteCommand.addConditionLogic(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> root, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, boolean positive, ExecuteCommand.Condition condition) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> DataCommand.addModifyArgument(BiConsumer<com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>, DataCommand.ModifyArgumentCreator> subArgumentAdder) private static com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> ExecuteCommand.addOnArguments(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> node, com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> builder) private static com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> ExecuteCommand.addOnArguments(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> node, com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> builder) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> ExecuteCommand.addStoreArguments(com.mojang.brigadier.tree.LiteralCommandNode<ServerCommandSource> node, com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> builder, boolean requestResult) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> ExecuteCommand.addStoreArguments(com.mojang.brigadier.tree.LiteralCommandNode<ServerCommandSource> node, com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> builder, boolean requestResult) TestFinder.Runners.allStructures(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) TestFinder.Runners.allTestFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) static voidCommandManager.callWithContext(ServerCommandSource commandSource, Consumer<CommandExecutionContext<ServerCommandSource>> callback) private static @Nullable com.mojang.brigadier.context.ContextChain<ServerCommandSource> CommandManager.checkCommand(com.mojang.brigadier.ParseResults<ServerCommandSource> parseResults, String command, ServerCommandSource source) com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> LootCommand.SourceConstructor.construct(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, LootCommand.Target target) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> CloneCommand.createDestinationArgs(CommandRegistryAccess commandRegistryAccess, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> sourceWorldGetter, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> targetWorldGetter) private static CloneCommand.DimensionalPosCloneCommand.createDimensionalPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, ServerWorld world, String name) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> CloneCommand.createModeArgs(CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> beginPosGetter, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> endPosGetter, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> destinationPosGetter, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, Predicate<CachedBlockPosition>> filterGetter, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> CloneCommand.createModeArgs(CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> beginPosGetter, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> endPosGetter, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> destinationPosGetter, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, Predicate<CachedBlockPosition>> filterGetter, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> CloneCommand.createSourceArgs(CommandRegistryAccess commandRegistryAccess, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> worldGetter) voidCommandManager.execute(com.mojang.brigadier.ParseResults<ServerCommandSource> parseResults, String command) Executescommand.voidExecuteCommand.IfUnlessRedirector.execute(ServerCommandSource serverCommandSource, List<ServerCommandSource> list, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, ExecutionFlags executionFlags, ExecutionControl<ServerCommandSource> executionControl) voidExecuteCommand.IfUnlessRedirector.execute(ServerCommandSource serverCommandSource, List<ServerCommandSource> list, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, ExecutionFlags executionFlags, ExecutionControl<ServerCommandSource> executionControl) voidExecuteCommand.IfUnlessRedirector.execute(ServerCommandSource serverCommandSource, List<ServerCommandSource> list, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, ExecutionFlags executionFlags, ExecutionControl<ServerCommandSource> executionControl) private static intGameModeCommand.execute(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Collection<ServerPlayerEntity> targets, GameMode gameMode) private static intScheduleCommand.execute(ServerCommandSource source, com.mojang.datafixers.util.Pair<Identifier, com.mojang.datafixers.util.Either<CommandFunction<ServerCommandSource>, Collection<CommandFunction<ServerCommandSource>>>> function, int time, boolean replace) private static intScheduleCommand.execute(ServerCommandSource source, com.mojang.datafixers.util.Pair<Identifier, com.mojang.datafixers.util.Either<CommandFunction<ServerCommandSource>, Collection<CommandFunction<ServerCommandSource>>>> function, int time, boolean replace) private static intLootCommand.executeFish(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryEntry<LootTable> lootTable, BlockPos pos, ItemStack stack, LootCommand.Target constructor) voidDebugCommand.Command.executeInner(ServerCommandSource serverCommandSource, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, ExecutionFlags executionFlags, ExecutionControl<ServerCommandSource> executionControl) voidDebugCommand.Command.executeInner(ServerCommandSource serverCommandSource, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, ExecutionFlags executionFlags, ExecutionControl<ServerCommandSource> executionControl) voidFunctionCommand.Command.executeInner(ServerCommandSource serverCommandSource, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, ExecutionFlags executionFlags, ExecutionControl<ServerCommandSource> executionControl) voidFunctionCommand.Command.executeInner(ServerCommandSource serverCommandSource, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, ExecutionFlags executionFlags, ExecutionControl<ServerCommandSource> executionControl) private static intLootCommand.executeKill(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Entity entity, LootCommand.Target constructor) private static intLootCommand.executeLoot(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryEntry<LootTable> lootTable, LootCommand.Target constructor) private static intLootCommand.executeMine(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, BlockPos pos, ItemStack stack, LootCommand.Target constructor) private static intDataCommand.executeModify(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, DataCommand.ObjectType objectType, DataCommand.ModifyOperation modifier, List<NbtElement> elements) private static intExecuteCommand.executeNegativeBlockCondition(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, boolean masked) private static intExecuteCommand.executePositiveBlockCondition(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, boolean masked) (package private) static <T extends GameRules.Rule<T>>
intGameRuleCommand.executeSet(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, GameRules.Key<T> key) TestFinder.Runners.failed(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) TestFinder.Runners.failed(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, boolean onlyRequired) TestFinder.Runners.functionNamed(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) protected abstract @Nullable NbtCompoundFunctionCommand.Command.getArguments(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) static CommandBossBarBossBarCommand.getBossBar(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) private static intLootCommand.getFeedbackMessageSingle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryEntry<LootTable> lootTable, LootContextParameterSet lootContextParameters, LootCommand.Target constructor) DataCommand.ObjectType.getObject(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) private static ResourcePackProfileDatapackCommand.getPackContainer(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, boolean enable) private static Collection<ServerCommandSource> ExecuteCommand.getSourceOrEmptyForConditionFork(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, boolean positive, boolean value) private static List<NbtElement> DataCommand.getValues(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, DataCommand.ObjectType objectType) private static List<NbtElement> DataCommand.getValuesByPath(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, DataCommand.ObjectType objectType) TestFinder.Runners.in(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String testClass) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> ScoreboardCommand.makeNumberFormatArguments(CommandRegistryAccess registryAccess, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> argumentBuilder, ScoreboardCommand.NumberFormatCommandExecutor executor) private voidCommandManager.makeTreeForSource(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> tree, com.mojang.brigadier.tree.CommandNode<CommandSource> result, ServerCommandSource source, Map<com.mojang.brigadier.tree.CommandNode<ServerCommandSource>, com.mojang.brigadier.tree.CommandNode<CommandSource>> resultNodes) private voidCommandManager.makeTreeForSource(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> tree, com.mojang.brigadier.tree.CommandNode<CommandSource> result, ServerCommandSource source, Map<com.mojang.brigadier.tree.CommandNode<ServerCommandSource>, com.mojang.brigadier.tree.CommandNode<CommandSource>> resultNodes) intDataCommand.ModifyOperation.modify(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, NbtCompound sourceNbt, NbtPathArgumentType.NbtPath path, List<NbtElement> elements) TestFinder.Runners.nearest(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) static voidAdvancementCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidAttributeCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static voidBossBarCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static voidChaseCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidClearCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidCloneCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidDamageCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static voidDataCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidDatapackCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidDebugCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidDebugConfigCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidDebugMobSpawningCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidDebugPathCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidDefaultGameModeCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidDifficultyCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidEffectCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static voidEnchantCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static voidExecuteCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidExperienceCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidFillBiomeCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidFillCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidForceLoadCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidFunctionCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidGameModeCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidGameRuleCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidGiveCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidHelpCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidItemCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidJfrCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidKickCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidKillCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidListCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidLocateCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static voidLootCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidMeCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidMessageCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidParticleCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static voidPlaceCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidPlaySoundCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidPublishCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidRaidCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static voidRandomCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidRecipeCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidReloadCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidRideCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidSayCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidScheduleCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidScoreboardCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static voidSeedCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, boolean dedicated) static voidServerPackCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidSetBlockCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static voidSetWorldSpawnCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidSpawnArmorTrimsCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidSpawnPointCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidSpectateCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidSpreadPlayersCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidStopSoundCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidSummonCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static voidTagCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidTeamCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static voidTeamMsgCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidTeleportCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidTellRawCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static voidTestCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidTickCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidTimeCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidTitleCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static voidTriggerCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidWardenSpawnTrackerCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidWeatherCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidWorldBorderCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) intScoreboardCommand.NumberFormatCommandExecutor.run(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, @Nullable NumberFormat numberFormat) private static List<AdvancementEntry> AdvancementCommand.select(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, AdvancementEntry advancement, AdvancementCommand.Selection selection) TestFinder.Runners.structureNamed(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) private static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> RandomCommand.suggestSequences(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder) TestFinder.Runners.surface(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, int radius) TestFinder.Runners.targeted(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) booleanExecuteCommand.Condition.test(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) intExecuteCommand.ExistsCondition.test(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> TestCommand.testAttemptAndPlacementConfig(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, Function<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestCommand.Runner> callback) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> TestCommand.testAttemptAndPlacementConfig(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, Function<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestCommand.Runner> callback) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> TestCommand.testAttemptConfig(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, Function<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestCommand.Runner> callback) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> TestCommand.testAttemptConfig(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, Function<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestCommand.Runner> callback) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> TestCommand.testAttemptConfig(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, Function<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestCommand.Runner> callback, Function<com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>> extraConfigAdder) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> TestCommand.testAttemptConfig(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, Function<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestCommand.Runner> callback, Function<com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>> extraConfigAdder) private static OptionalIntExecuteCommand.testBlocksCondition(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, boolean masked) private static booleanExecuteCommand.testScoreCondition(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, ExecuteCommand.ScoreComparisonPredicate predicate) private static booleanExecuteCommand.testScoreMatch(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, NumberRange.IntRange range) Constructors in net.minecraft.server.command with parameters of type ServerCommandSourceModifierConstructorDescription(package private)ReportingBatchListener(ServerCommandSource serverCommandSource) (package private)TestFinder(ServerCommandSource commandSource, Function<TestFinder<T>, T> runnerFactory, TestFunctionFinder testFunctionFinder, StructureBlockFinder structureBlockPosFinder) -
Uses of ServerCommandSource in net.minecraft.server.dedicated
Fields in net.minecraft.server.dedicated declared as ServerCommandSourceMethods in net.minecraft.server.dedicated with parameters of type ServerCommandSourceModifier and TypeMethodDescriptionvoidMinecraftDedicatedServer.enqueueCommand(String command, ServerCommandSource commandSource) Constructors in net.minecraft.server.dedicated with parameters of type ServerCommandSourceModifierConstructorDescriptionPendingServerCommand(String command, ServerCommandSource commandSource) -
Uses of ServerCommandSource in net.minecraft.server.dedicated.command
Methods in net.minecraft.server.dedicated.command with parameters of type ServerCommandSourceModifier and TypeMethodDescriptionprivate static intBanCommand.ban(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets, @Nullable Text reason) private static intBanIpCommand.banIp(ServerCommandSource source, String targetIp, @Nullable Text reason) private static intBanIpCommand.checkIp(ServerCommandSource source, String target, @Nullable Text reason) private static intDeOpCommand.deop(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets) private static intBanListCommand.execute(ServerCommandSource source, Collection<? extends BanEntry<?>> targets) private static intSetIdleTimeoutCommand.execute(ServerCommandSource source, int minutes) private static intWhitelistCommand.executeAdd(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets) private static intWhitelistCommand.executeList(ServerCommandSource source) private static intWhitelistCommand.executeOff(ServerCommandSource source) private static intWhitelistCommand.executeOn(ServerCommandSource source) private static intWhitelistCommand.executeReload(ServerCommandSource source) private static intWhitelistCommand.executeRemove(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets) private static intPerfCommand.executeStart(ServerCommandSource source) private static intPerfCommand.executeStop(ServerCommandSource source) private static intTransferCommand.executeTransfer(ServerCommandSource source, String host, int port, Collection<ServerPlayerEntity> players) private static intOpCommand.op(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets) private static intPardonCommand.pardon(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets) private static intPardonIpCommand.pardonIp(ServerCommandSource source, String target) private static intSaveAllCommand.saveAll(ServerCommandSource source, boolean flush) private static voidPerfCommand.saveReport(ServerCommandSource source, Path tempProfilingDirectory, MinecraftServer server) private static voidPerfCommand.sendProfilingStoppedMessage(ServerCommandSource source, ProfileResult result) Method parameters in net.minecraft.server.dedicated.command with type arguments of type ServerCommandSourceModifier and TypeMethodDescriptionstatic voidBanCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidBanIpCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidBanListCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidDeOpCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidOpCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidPardonCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidPardonIpCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidPerfCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidSaveAllCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidSaveOffCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidSaveOnCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidSetIdleTimeoutCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidStopCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidTransferCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static voidWhitelistCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) -
Uses of ServerCommandSource in net.minecraft.server.function
Fields in net.minecraft.server.function with type parameters of type ServerCommandSourceModifier and TypeFieldDescriptionprivate final com.mojang.brigadier.CommandDispatcher<ServerCommandSource> FunctionLoader.commandDispatcherprivate Optional<CommandFunction<ServerCommandSource>> LazyContainer.functionstatic final RegistryKey<Registry<CommandFunction<ServerCommandSource>>> FunctionLoader.FUNCTION_REGISTRY_KEYprivate Map<Identifier, CommandFunction<ServerCommandSource>> FunctionLoader.functionsprivate final TagGroupLoader<CommandFunction<ServerCommandSource>> FunctionLoader.tagLoaderprivate Map<Identifier, Collection<CommandFunction<ServerCommandSource>>> FunctionLoader.tagsprivate List<CommandFunction<ServerCommandSource>> CommandFunctionManager.tickFunctionsA list ofminecraft:ticktag functions to run on every tick.Methods in net.minecraft.server.function that return ServerCommandSourceModifier and TypeMethodDescriptionCommandFunctionManager.getScheduledCommandSource()Returns the command source to execute scheduled functions.Methods in net.minecraft.server.function that return types with arguments of type ServerCommandSourceModifier and TypeMethodDescriptionFunctionLoader.get(Identifier id) LazyContainer.get(CommandFunctionManager commandFunctionManager) com.mojang.brigadier.CommandDispatcher<ServerCommandSource> CommandFunctionManager.getDispatcher()CommandFunctionManager.getFunction(Identifier id) FunctionLoader.getFunctions()CommandFunctionManager.getTag(Identifier id) FunctionLoader.getTagOrEmpty(Identifier id) Methods in net.minecraft.server.function with parameters of type ServerCommandSourceModifier and TypeMethodDescriptionvoidCommandFunctionManager.execute(CommandFunction<ServerCommandSource> function, ServerCommandSource source) Executes a function.Method parameters in net.minecraft.server.function with type arguments of type ServerCommandSourceModifier and TypeMethodDescriptionvoidCommandFunctionManager.execute(CommandFunction<ServerCommandSource> function, ServerCommandSource source) Executes a function.private voidCommandFunctionManager.executeAll(Collection<CommandFunction<ServerCommandSource>> functions, Identifier label) Constructor parameters in net.minecraft.server.function with type arguments of type ServerCommandSourceModifierConstructorDescriptionFunctionLoader(int level, com.mojang.brigadier.CommandDispatcher<ServerCommandSource> commandDispatcher) -
Uses of ServerCommandSource in net.minecraft.server.network
Methods in net.minecraft.server.network that return types with arguments of type ServerCommandSourceModifier and TypeMethodDescriptionprivate com.mojang.brigadier.ParseResults<ServerCommandSource> Returns the result of parsingcommand. -
Uses of ServerCommandSource in net.minecraft.server.rcon
Methods in net.minecraft.server.rcon that return ServerCommandSource -
Uses of ServerCommandSource in net.minecraft.text
Methods in net.minecraft.text with parameters of type ServerCommandSourceModifier and TypeMethodDescriptionBlockNbtDataSource.get(ServerCommandSource source) EntityNbtDataSource.get(ServerCommandSource source) NbtDataSource.get(ServerCommandSource source) StorageNbtDataSource.get(ServerCommandSource source) private MutableTextScoreTextContent.getScore(ScoreHolder scoreHolder, ServerCommandSource source) private ScoreHolderScoreTextContent.getScoreHolder(ServerCommandSource source) NbtTextContent.parse(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth) Parses this content into a basic mutable text without custom style or siblings.ScoreTextContent.parse(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth) Parses this content into a basic mutable text without custom style or siblings.SelectorTextContent.parse(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth) Parses this content into a basic mutable text without custom style or siblings.default MutableTextTextContent.parse(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth) Parses this content into a basic mutable text without custom style or siblings.static Optional<MutableText> Texts.parse(@Nullable ServerCommandSource source, Optional<Text> text, @Nullable Entity sender, int depth) static MutableTextTranslatableTextContent.parse(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth) Parses this content into a basic mutable text without custom style or siblings.private static StyleTexts.parseStyle(@Nullable ServerCommandSource source, Style style, @Nullable Entity sender, int depth) -
Uses of ServerCommandSource in net.minecraft.world
Methods in net.minecraft.world that return ServerCommandSourceMethods in net.minecraft.world that return types with arguments of type ServerCommandSourceModifier and TypeMethodDescriptioncom.mojang.brigadier.builder.RequiredArgumentBuilder<ServerCommandSource, ?> Method parameters in net.minecraft.world with type arguments of type ServerCommandSourceModifier and TypeMethodDescriptionvoidGameRules.Rule.set(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) protected voidGameRules.BooleanRule.setFromArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) protected voidGameRules.IntRule.setFromArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) protected abstract voidGameRules.Rule.setFromArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)