Uses of Class
net.minecraft.server.command.ServerCommandSource
Package
Description
-
Uses of ServerCommandSource in net.minecraft.block.entity
Modifier and TypeMethodDescriptionprivate static ServerCommandSource
SignBlockEntity.createCommandSource
(@Nullable PlayerEntity player, World world, BlockPos pos) private ServerCommandSource
LecternBlockEntity.getCommandSource
(@Nullable PlayerEntity player) -
Uses of ServerCommandSource in net.minecraft.command
Modifier and TypeFieldDescription(package private) static final com.mojang.brigadier.suggestion.SuggestionProvider
<ServerCommandSource> StorageDataObject.SUGGESTION_PROVIDER
Modifier and TypeMethodDescriptionprivate void
EntitySelector.checkSourcePermission
(ServerCommandSource source) EntitySelector.getEntities
(ServerCommandSource source) EntitySelector.getEntity
(ServerCommandSource source) EntitySelector.getPlayer
(ServerCommandSource source) EntitySelector.getPlayers
(ServerCommandSource source) EntitySelector.getUnfilteredEntities
(ServerCommandSource source) Modifier and TypeMethodDescription(package private) static DataCommandStorage
StorageDataObject.of
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) -
Uses of ServerCommandSource in net.minecraft.command.argument
Modifier and TypeFieldDescriptionstatic final com.mojang.brigadier.suggestion.SuggestionProvider
<ServerCommandSource> ScoreHolderArgumentType.SUGGESTION_PROVIDER
Modifier 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) Modifier and TypeMethodDescriptionprivate static void
MessageArgumentType.chain
(Consumer<SignedMessage> callback, ServerCommandSource source, SignedMessage message) private static void
MessageArgumentType.chainUnsigned
(Consumer<SignedMessage> callback, ServerCommandSource source, SignedMessage message) private static CompletableFuture
<FilteredMessage> MessageArgumentType.filterText
(ServerCommandSource source, SignedMessage message) (package private) Text
MessageArgumentType.MessageFormat.format
(ServerCommandSource source) MessageArgumentType.MessageFormat.format
(ServerCommandSource source, boolean canUseSelectors) MessageArgumentType.MessageSelector.format
(ServerCommandSource source) float
AngleArgumentType.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 BlockPos
PosArgument.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) Modifier and TypeMethodDescriptionstatic AdvancementEntry
IdentifierArgumentType.getAdvancementArgument
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName) static float
AngleArgumentType.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 BlockMirror
BlockMirrorArgumentType.getBlockMirror
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String id) static BlockPos
BlockPosArgumentType.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 BlockRotation
BlockRotationArgumentType.getBlockRotation
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String id) static BlockStateArgument
BlockStateArgumentType.getBlockState
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static Formatting
ColorArgumentType.getColor
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static ColumnPos
ColumnPosArgumentType.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 ScoreboardCriterion
ScoreboardCriterionArgumentType.getCriterion
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static ServerWorld
DimensionArgumentType.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 Entity
EntityArgumentType.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 TestFunction
TestFunctionArgumentType.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 GameMode
GameModeArgumentType.getGameMode
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static Heightmap.Type
HeightmapArgumentType.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 Identifier
IdentifierArgumentType.getIdentifier
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static int
ItemSlotArgumentType.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 BlockPos
BlockPosArgumentType.getLoadedBlockPos
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static BlockPos
BlockPosArgumentType.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 Text
MessageArgumentType.getMessage
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static NbtPathArgumentType.NbtPath
NbtPathArgumentType.getNbtPath
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static ScoreboardObjective
ScoreboardObjectiveArgumentType.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 ParticleEffect
ParticleEffectArgumentType.getParticle
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static ServerPlayerEntity
EntityArgumentType.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 PosArgument
Vec3ArgumentType.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.DoubleRange
NumberRangeArgumentType.FloatRangeArgumentType.getRangeArgument
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static NumberRange.IntRange
NumberRangeArgumentType.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 PosArgument
RotationArgumentType.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 ScoreboardDisplaySlot
ScoreboardSlotArgumentType.getScoreboardSlot
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static ScoreHolder
ScoreHolderArgumentType.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 void
MessageArgumentType.getSignedMessage
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, Consumer<SignedMessage> callback) static SlotRange
SlotRangeArgumentType.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 Style
StyleArgumentType.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 Team
TeamArgumentType.getTeam
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static String
TestClassArgumentType.getTestClass
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static Text
TextArgumentType.getTextArgument
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static UUID
UuidArgumentType.getUuid
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static BlockPos
BlockPosArgumentType.getValidBlockPos
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static Vec2f
Vec2ArgumentType.getVec2
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static Vec3d
Vec3ArgumentType.getVec3
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static ScoreboardObjective
ScoreboardObjectiveArgumentType.getWritableObjective
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) -
Uses of ServerCommandSource in net.minecraft.command.suggestion
Modifier and TypeFieldDescriptionstatic final com.mojang.brigadier.suggestion.SuggestionProvider
<ServerCommandSource> SuggestionProviders.ALL_RECIPES
static final com.mojang.brigadier.suggestion.SuggestionProvider
<ServerCommandSource> SuggestionProviders.AVAILABLE_SOUNDS
static final com.mojang.brigadier.suggestion.SuggestionProvider
<ServerCommandSource> SuggestionProviders.SUMMONABLE_ENTITIES
-
Uses of ServerCommandSource in net.minecraft.component.type
Modifier 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
Modifier and TypeMethodDescriptionEntity.getCommandSource()
Returns a command source which represents this entity. -
Uses of ServerCommandSource in net.minecraft.entity.vehicle
-
Uses of ServerCommandSource in net.minecraft.item
Modifier and TypeMethodDescriptionstatic boolean
WrittenBookItem.resolve
(ItemStack book, ServerCommandSource commandSource, @Nullable PlayerEntity player) -
Uses of ServerCommandSource in net.minecraft.network.message
Modifier and TypeMethodDescriptionstatic MessageType.Parameters
MessageType.params
(RegistryKey<MessageType> typeKey, ServerCommandSource source) -
Uses of ServerCommandSource in net.minecraft.server
Modifier and TypeMethodDescriptionMinecraftServer.getCommandSource()
Creates a command source which represents this Minecraft server instance.Modifier and TypeMethodDescriptionvoid
PlayerManager.broadcast
(SignedMessage message, ServerCommandSource source, MessageType.Parameters params) Broadcasts a chat message to all players and the server console.void
MinecraftServer.kickNonWhitelistedPlayers
(ServerCommandSource source) -
Uses of ServerCommandSource in net.minecraft.server.command
Modifier and TypeFieldDescriptionprivate final ServerCommandSource
TestFinder.commandSource
private final ServerCommandSource
TestCommand.ReportingBatchListener.source
The field for thesource
record component.Modifier and TypeFieldDescriptionprivate static final ThreadLocal
<CommandExecutionContext<ServerCommandSource>> CommandManager.CURRENT_CONTEXT
private static final com.mojang.brigadier.suggestion.SuggestionProvider
<ServerCommandSource> DatapackCommand.DISABLED_CONTAINERS_SUGGESTION_PROVIDER
private final com.mojang.brigadier.CommandDispatcher
<ServerCommandSource> CommandManager.dispatcher
private static final com.mojang.brigadier.suggestion.SuggestionProvider
<ServerCommandSource> DatapackCommand.ENABLED_CONTAINERS_SUGGESTION_PROVIDER
private static final com.mojang.brigadier.suggestion.SuggestionProvider
<ServerCommandSource> ExecuteCommand.LOOT_CONDITIONS
private static final com.mojang.brigadier.suggestion.SuggestionProvider
<ServerCommandSource> ItemCommand.MODIFIER_SUGGESTION_PROVIDER
(package private) static final FunctionCommand.ResultConsumer
<ServerCommandSource> FunctionCommand.RESULT_REPORTER
private static final com.mojang.brigadier.suggestion.SuggestionProvider
<ServerCommandSource> AdvancementCommand.SUGGESTION_PROVIDER
static final com.mojang.brigadier.suggestion.SuggestionProvider
<ServerCommandSource> BossBarCommand.SUGGESTION_PROVIDER
static final com.mojang.brigadier.suggestion.SuggestionProvider
<ServerCommandSource> FunctionCommand.SUGGESTION_PROVIDER
static final com.mojang.brigadier.suggestion.SuggestionProvider
<ServerCommandSource> LootCommand.SUGGESTION_PROVIDER
private static final com.mojang.brigadier.suggestion.SuggestionProvider
<ServerCommandSource> PlaceCommand.SUGGESTION_PROVIDER
private static final com.mojang.brigadier.suggestion.SuggestionProvider
<ServerCommandSource> ScheduleCommand.SUGGESTION_PROVIDER
Modifier and TypeMethodDescriptionprivate static <T extends com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,
T>>
TLootCommand.addTargetArguments
(T rootArgument, LootCommand.SourceConstructor sourceConstructor) Modifier and TypeMethodDescriptionstatic ServerCommandSource
FunctionCommand.createFunctionCommandSource
(ServerCommandSource source) private static ServerCommandSource
ExecuteCommand.executeStoreBossbar
(ServerCommandSource source, CommandBossBar bossBar, boolean storeInValue, boolean requestResult) private static ServerCommandSource
ExecuteCommand.executeStoreData
(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path, IntFunction<NbtElement> nbtSetter, boolean requestResult) private static ServerCommandSource
ExecuteCommand.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 thesource
record component.private static ServerCommandSource
ExecuteCommand.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) Modifier 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) Modifier and TypeMethodDescriptionprivate static int
BossBarCommand.addBossBar
(ServerCommandSource source, Identifier name, Text displayName) static void
CommandManager.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 int
ScheduleCommand.clearEvent
(ServerCommandSource source, String eventName) private static int
WardenSpawnTrackerCommand.clearTracker
(ServerCommandSource source, Collection<? extends PlayerEntity> players) private static int
ExecuteCommand.countMatchingItems
(ServerCommandSource source, BlockPos pos, SlotRange slotRange, Predicate<ItemStack> predicate) static ServerCommandSource
FunctionCommand.createFunctionCommandSource
(ServerCommandSource source) private T
TestFinder.Runners.createRunner
(ServerCommandSource source, TestFunctionFinder testFunctionFinder, StructureBlockFinder structureBlockFinder) private static int
ClearCommand.execute
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Predicate<ItemStack> item) private static int
ClearCommand.execute
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Predicate<ItemStack> item, int maxCount) private static int
CloneCommand.execute
(ServerCommandSource source, CloneCommand.DimensionalPos begin, CloneCommand.DimensionalPos end, CloneCommand.DimensionalPos destination, Predicate<CachedBlockPosition> filter, CloneCommand.Mode mode) private static int
DamageCommand.execute
(ServerCommandSource source, Entity target, float amount, DamageSource damageSource) private static int
DebugMobSpawningCommand.execute
(ServerCommandSource source, SpawnGroup group, BlockPos pos) private static int
DebugPathCommand.execute
(ServerCommandSource source, BlockPos pos) private static int
DefaultGameModeCommand.execute
(ServerCommandSource source, GameMode defaultGameMode) static int
DifficultyCommand.execute
(ServerCommandSource source, Difficulty difficulty) private static int
EnchantCommand.execute
(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<Enchantment> enchantment, int level) void
ExecuteCommand.IfUnlessRedirector.execute
(ServerCommandSource serverCommandSource, List<ServerCommandSource> list, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, ExecutionFlags executionFlags, ExecutionControl<ServerCommandSource> executionControl) private static int
FillBiomeCommand.execute
(ServerCommandSource source, BlockPos from, BlockPos to, RegistryEntry.Reference<Biome> biome, Predicate<RegistryEntry<Biome>> filter) private static int
FillCommand.execute
(ServerCommandSource source, BlockBox range, BlockStateArgument block, FillCommand.Mode mode, @Nullable Predicate<CachedBlockPosition> filter) private static int
GiveCommand.execute
(ServerCommandSource source, ItemStackArgument item, Collection<ServerPlayerEntity> targets, int count) private static int
KickCommand.execute
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text reason) private static int
KillCommand.execute
(ServerCommandSource source, Collection<? extends Entity> targets) private static int
ListCommand.execute
(ServerCommandSource source, Function<ServerPlayerEntity, Text> nameProvider) private static void
MessageCommand.execute
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, SignedMessage message) private static int
ParticleCommand.execute
(ServerCommandSource source, ParticleEffect parameters, Vec3d pos, Vec3d delta, float speed, int count, boolean force, Collection<ServerPlayerEntity> viewers) private static int
PlaySoundCommand.execute
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch, float minVolume) private static int
PublishCommand.execute
(ServerCommandSource source, int port, boolean allowCommands, @Nullable GameMode gameMode) private static int
RandomCommand.execute
(ServerCommandSource source, NumberRange.IntRange range, @Nullable Identifier sequenceId, boolean roll) private static int
ScheduleCommand.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 int
SetBlockCommand.execute
(ServerCommandSource source, BlockPos pos, BlockStateArgument block, SetBlockCommand.Mode mode, @Nullable Predicate<CachedBlockPosition> condition) private static int
SetWorldSpawnCommand.execute
(ServerCommandSource source, BlockPos pos, float angle) private static int
SpawnArmorTrimsCommand.execute
(ServerCommandSource source, PlayerEntity player) private static int
SpawnPointCommand.execute
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, BlockPos pos, float angle) private static int
SpectateCommand.execute
(ServerCommandSource source, @Nullable Entity entity, ServerPlayerEntity player) private static int
SpreadPlayersCommand.execute
(ServerCommandSource source, Vec2f center, float spreadDistance, float maxRange, int maxY, boolean respectTeams, Collection<? extends Entity> players) private static int
StopSoundCommand.execute
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, @Nullable SoundCategory category, @Nullable Identifier sound) private static int
SummonCommand.execute
(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType, Vec3d pos, NbtCompound nbt, boolean initialize) private static void
TeamMsgCommand.execute
(ServerCommandSource source, Entity entity, Team team, List<ServerPlayerEntity> recipients, SignedMessage message) private static int
TeleportCommand.execute
(ServerCommandSource source, Collection<? extends Entity> targets, Entity destination) private static int
TeleportCommand.execute
(ServerCommandSource source, Collection<? extends Entity> targets, ServerWorld world, PosArgument location, @Nullable PosArgument rotation, @Nullable TeleportCommand.LookTarget facingLocation) private static int
ExperienceCommand.executeAdd
(ServerCommandSource source, Collection<? extends ServerPlayerEntity> targets, int amount, ExperienceCommand.Component component) private static int
ScoreboardCommand.executeAdd
(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, int score) private static int
TagCommand.executeAdd
(ServerCommandSource source, Collection<? extends Entity> targets, String tag) private static int
TeamCommand.executeAdd
(ServerCommandSource source, String team) private static int
TeamCommand.executeAdd
(ServerCommandSource source, String team, Text displayName) static int
TimeCommand.executeAdd
(ServerCommandSource source, int time) private static int
TriggerCommand.executeAdd
(ServerCommandSource source, ServerPlayerEntity player, ScoreboardObjective objective, int amount) private static int
ScoreboardCommand.executeAddObjective
(ServerCommandSource source, String objective, ScoreboardCriterion criteria, Text displayName) private static int
AdvancementCommand.executeAdvancement
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, AdvancementCommand.Operation operation, Collection<AdvancementEntry> selection) private static int
AttributeCommand.executeBaseValueGet
(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, double multiplier) private static int
AttributeCommand.executeBaseValueSet
(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, double value) private static int
LootCommand.executeBlock
(ServerCommandSource source, BlockPos targetPos, int slot, int stackCount, List<ItemStack> stacks, LootCommand.FeedbackMessage messageSender) private static int
ItemCommand.executeBlockCopyBlock
(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, BlockPos pos, int slot) private static int
ItemCommand.executeBlockCopyBlock
(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, BlockPos pos, int slot, RegistryEntry<LootFunction> lootFunction) private static int
ItemCommand.executeBlockCopyEntity
(ServerCommandSource source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot) private static int
ItemCommand.executeBlockCopyEntity
(ServerCommandSource source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot, RegistryEntry<LootFunction> lootFunction) private static int
ItemCommand.executeBlockModify
(ServerCommandSource source, BlockPos pos, int slot, RegistryEntry<LootFunction> lootFunction) private static int
ItemCommand.executeBlockReplace
(ServerCommandSource source, BlockPos pos, int slot, ItemStack stack) private static int
WorldBorderCommand.executeBuffer
(ServerCommandSource source, float distance) private static int
WorldBorderCommand.executeCenter
(ServerCommandSource source, Vec2f pos) private static int
ForceLoadCommand.executeChange
(ServerCommandSource source, ColumnPos from, ColumnPos to, boolean forceLoaded) private static int
RaidCommand.executeCheck
(ServerCommandSource source) private static int
EffectCommand.executeClear
(ServerCommandSource source, Collection<? extends Entity> targets) private static int
EffectCommand.executeClear
(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<StatusEffect> statusEffect) private static int
TitleCommand.executeClear
(ServerCommandSource source, Collection<ServerPlayerEntity> targets) private static int
WeatherCommand.executeClear
(ServerCommandSource source, int duration) private static int
ScoreboardCommand.executeClearDisplay
(ServerCommandSource source, ScoreboardDisplaySlot slot) private static int
DebugConfigCommand.executeConfig
(ServerCommandSource source, ServerPlayerEntity player) private static int
TestCommand.executeCreate
(ServerCommandSource source, String testName, int x, int y, int z) private static int
AdvancementCommand.executeCriterion
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, AdvancementCommand.Operation operation, AdvancementEntry advancement, String criterion) private static int
WorldBorderCommand.executeDamage
(ServerCommandSource source, float damagePerBlock) private static int
DatapackCommand.executeDisable
(ServerCommandSource source, ResourcePackProfile container) private static int
RideCommand.executeDismount
(ServerCommandSource source, Entity rider) private static int
TeamCommand.executeEmpty
(ServerCommandSource source, Team team) private static int
DatapackCommand.executeEnable
(ServerCommandSource source, ResourcePackProfile container, DatapackCommand.PackAdder packAdder) private static int
ScoreboardCommand.executeEnable
(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective) private static int
ItemCommand.executeEntityCopyBlock
(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targets, int slot) private static int
ItemCommand.executeEntityCopyBlock
(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targets, int slot, RegistryEntry<LootFunction> lootFunction) private static int
ItemCommand.executeEntityCopyEntity
(ServerCommandSource source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targets, int slot) private static int
ItemCommand.executeEntityCopyEntity
(ServerCommandSource source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targets, int slot, RegistryEntry<LootFunction> lootFunction) private static int
ItemCommand.executeEntityModify
(ServerCommandSource source, Collection<? extends Entity> targets, int slot, RegistryEntry<LootFunction> lootFunction) private static int
ItemCommand.executeEntityReplace
(ServerCommandSource source, Collection<? extends Entity> targets, int slot, ItemStack stack) private static int
TestCommand.executeExport
(ServerCommandSource source, String testName) private static int
TickCommand.executeFreeze
(ServerCommandSource source, boolean frozen) private static int
DataCommand.executeGet
(ServerCommandSource source, DataCommandObject object) private static int
DataCommand.executeGet
(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path) private static int
DataCommand.executeGet
(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path, double scale) private static int
ScoreboardCommand.executeGet
(ServerCommandSource source, ScoreHolder scoreHolder, ScoreboardObjective objective) private static int
WorldBorderCommand.executeGet
(ServerCommandSource source) private static int
EffectCommand.executeGive
(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<StatusEffect> statusEffect, @Nullable Integer seconds, int amplifier, boolean showParticles) private static int
RecipeCommand.executeGive
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Collection<RecipeEntry<?>> recipes) private static int
RaidCommand.executeGlow
(ServerCommandSource source) private static int
TestCommand.executeImport
(ServerCommandSource source, String testName) void
DebugCommand.Command.executeInner
(ServerCommandSource serverCommandSource, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, ExecutionFlags executionFlags, ExecutionControl<ServerCommandSource> executionControl) void
FunctionCommand.Command.executeInner
(ServerCommandSource serverCommandSource, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, ExecutionFlags executionFlags, ExecutionControl<ServerCommandSource> executionControl) private static int
LootCommand.executeInsert
(ServerCommandSource source, BlockPos targetPos, List<ItemStack> stacks, LootCommand.FeedbackMessage messageSender) private static int
TeamCommand.executeJoin
(ServerCommandSource source, Team team, Collection<ScoreHolder> members) private static int
TeamCommand.executeLeave
(ServerCommandSource source, Collection<ScoreHolder> members) private static int
DatapackCommand.executeList
(ServerCommandSource source) private static int
TagCommand.executeList
(ServerCommandSource source, Collection<? extends Entity> targets) private static int
DatapackCommand.executeListAvailable
(ServerCommandSource source) private static int
DatapackCommand.executeListEnabled
(ServerCommandSource source) private static int
TeamCommand.executeListMembers
(ServerCommandSource source, Team team) private static int
ScoreboardCommand.executeListObjectives
(ServerCommandSource source) private static int
ScoreboardCommand.executeListPlayers
(ServerCommandSource source) private static int
ScoreboardCommand.executeListScores
(ServerCommandSource source, ScoreHolder scoreHolder) private static int
TeamCommand.executeListTeams
(ServerCommandSource source) private static int
LocateCommand.executeLocateBiome
(ServerCommandSource source, RegistryEntryPredicateArgumentType.EntryPredicate<Biome> predicate) private static int
LocateCommand.executeLocatePoi
(ServerCommandSource source, RegistryEntryPredicateArgumentType.EntryPredicate<PointOfInterestType> predicate) private static int
LocateCommand.executeLocateStructure
(ServerCommandSource source, RegistryPredicateArgumentType.RegistryPredicate<Structure> predicate) private static int
DataCommand.executeMerge
(ServerCommandSource source, DataCommandObject object, NbtCompound nbt) private static int
AttributeCommand.executeModifierAdd
(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, UUID uuid, String name, double value, EntityAttributeModifier.Operation operation) private static int
AttributeCommand.executeModifierRemove
(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, UUID uuid) private static int
AttributeCommand.executeModifierValueGet
(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, UUID uuid, double multiplier) private static int
TeamCommand.executeModifyCollisionRule
(ServerCommandSource source, Team team, AbstractTeam.CollisionRule collisionRule) private static int
TeamCommand.executeModifyColor
(ServerCommandSource source, Team team, Formatting color) private static int
TeamCommand.executeModifyDeathMessageVisibility
(ServerCommandSource source, Team team, AbstractTeam.VisibilityRule visibility) private static int
ScoreboardCommand.executeModifyDisplayAutoUpdate
(ServerCommandSource source, ScoreboardObjective objective, boolean enable) private static int
TeamCommand.executeModifyDisplayName
(ServerCommandSource source, Team team, Text displayName) private static int
TeamCommand.executeModifyFriendlyFire
(ServerCommandSource source, Team team, boolean allowed) private static int
TeamCommand.executeModifyNametagVisibility
(ServerCommandSource source, Team team, AbstractTeam.VisibilityRule visibility) private static int
ScoreboardCommand.executeModifyObjective
(ServerCommandSource source, ScoreboardObjective objective, Text displayName) private static int
ScoreboardCommand.executeModifyObjectiveFormat
(ServerCommandSource source, ScoreboardObjective objective, @Nullable NumberFormat format) private static int
TeamCommand.executeModifyPrefix
(ServerCommandSource source, Team team, Text prefix) private static int
ScoreboardCommand.executeModifyRenderType
(ServerCommandSource source, ScoreboardObjective objective, ScoreboardCriterion.RenderType type) private static int
TeamCommand.executeModifySeeFriendlyInvisibles
(ServerCommandSource source, Team team, boolean allowed) private static int
TeamCommand.executeModifySuffix
(ServerCommandSource source, Team team, Text suffix) private static int
RideCommand.executeMount
(ServerCommandSource source, Entity rider, Entity vehicle) private static int
ListCommand.executeNames
(ServerCommandSource source) private static int
ScoreboardCommand.executeOperation
(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective targetObjective, OperationArgumentType.Operation operation, Collection<ScoreHolder> sources, ScoreboardObjective sourceObjectives) static int
PlaceCommand.executePlaceFeature
(ServerCommandSource source, RegistryEntry.Reference<ConfiguredFeature<?, ?>> feature, BlockPos pos) static int
PlaceCommand.executePlaceJigsaw
(ServerCommandSource source, RegistryEntry<StructurePool> structurePool, Identifier id, int maxDepth, BlockPos pos) static int
PlaceCommand.executePlaceStructure
(ServerCommandSource source, RegistryEntry.Reference<Structure> structure, BlockPos pos) static int
PlaceCommand.executePlaceTemplate
(ServerCommandSource source, Identifier id, BlockPos pos, BlockRotation rotation, BlockMirror mirror, float integrity, int seed) private static int
ServerPackCommand.executePop
(ServerCommandSource source, UUID uuid) private static int
TestCommand.executePos
(ServerCommandSource source, String variableName) private static int
ServerPackCommand.executePush
(ServerCommandSource source, String url, Optional<UUID> uuid, Optional<String> hash) private static int
ExperienceCommand.executeQuery
(ServerCommandSource source, ServerPlayerEntity player, ExperienceCommand.Component component) private static int
ForceLoadCommand.executeQuery
(ServerCommandSource source) private static int
ForceLoadCommand.executeQuery
(ServerCommandSource source, ColumnPos pos) (package private) static <T extends GameRules.Rule<T>>
intGameRuleCommand.executeQuery
(ServerCommandSource source, GameRules.Key<T> key) private static int
TickCommand.executeQuery
(ServerCommandSource source) private static int
TimeCommand.executeQuery
(ServerCommandSource source, int time) private static int
WeatherCommand.executeRain
(ServerCommandSource source, int duration) private static int
TickCommand.executeRate
(ServerCommandSource source, float rate) private static int
DataCommand.executeRemove
(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path) private static int
ScoreboardCommand.executeRemove
(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, int score) private static int
TagCommand.executeRemove
(ServerCommandSource source, Collection<? extends Entity> targets, String tag) private static int
TeamCommand.executeRemove
(ServerCommandSource source, Team team) private static int
ForceLoadCommand.executeRemoveAll
(ServerCommandSource source) private static int
ScoreboardCommand.executeRemoveObjective
(ServerCommandSource source, ScoreboardObjective objective) private static int
RandomCommand.executeReset
(ServerCommandSource source) private static int
RandomCommand.executeReset
(ServerCommandSource source, int salt, boolean includeWorldSeed, boolean includeSequenceId) private static int
RandomCommand.executeReset
(ServerCommandSource source, Identifier sequenceId) private static int
RandomCommand.executeReset
(ServerCommandSource source, Identifier sequenceId, int salt, boolean includeWorldSeed, boolean includeSequenceId) private static int
ScoreboardCommand.executeReset
(ServerCommandSource source, Collection<ScoreHolder> targets) private static int
ScoreboardCommand.executeReset
(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective) private static int
TitleCommand.executeReset
(ServerCommandSource source, Collection<ServerPlayerEntity> targets) private static int
ExperienceCommand.executeSet
(ServerCommandSource source, Collection<? extends ServerPlayerEntity> targets, int amount, ExperienceCommand.Component component) private static int
ScoreboardCommand.executeSet
(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, int score) static int
TimeCommand.executeSet
(ServerCommandSource source, int time) private static int
TriggerCommand.executeSet
(ServerCommandSource source, ServerPlayerEntity player, ScoreboardObjective objective, int value) private static int
WorldBorderCommand.executeSet
(ServerCommandSource source, double distance, long time) private static int
ScoreboardCommand.executeSetDisplay
(ServerCommandSource source, ScoreboardDisplaySlot slot, ScoreboardObjective objective) private static int
ScoreboardCommand.executeSetDisplayName
(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, @Nullable Text displayName) private static int
ScoreboardCommand.executeSetNumberFormat
(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, @Nullable NumberFormat numberFormat) private static int
RaidCommand.executeSetOmen
(ServerCommandSource source, int level) private static int
TriggerCommand.executeSimple
(ServerCommandSource source, ServerPlayerEntity player, ScoreboardObjective objective) private static int
RaidCommand.executeSound
(ServerCommandSource source, @Nullable Text type) private static int
LootCommand.executeSpawn
(ServerCommandSource source, Vec3d pos, List<ItemStack> stacks, LootCommand.FeedbackMessage messageSender) private static int
RaidCommand.executeSpawnLeader
(ServerCommandSource source) private static int
TickCommand.executeSprint
(ServerCommandSource source, int ticks) private static int
DebugCommand.executeStart
(ServerCommandSource source) private static int
JfrCommand.executeStart
(ServerCommandSource source) private static int
RaidCommand.executeStart
(ServerCommandSource source, int level) private static int
TickCommand.executeStep
(ServerCommandSource source, int steps) private static int
DebugCommand.executeStop
(ServerCommandSource source) private static int
JfrCommand.executeStop
(ServerCommandSource source) private static int
RaidCommand.executeStop
(ServerCommandSource source) private static int
TickCommand.executeStopSprint
(ServerCommandSource source) private static int
TickCommand.executeStopStep
(ServerCommandSource source) private static ServerCommandSource
ExecuteCommand.executeStoreBossbar
(ServerCommandSource source, CommandBossBar bossBar, boolean storeInValue, boolean requestResult) private static ServerCommandSource
ExecuteCommand.executeStoreData
(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path, IntFunction<NbtElement> nbtSetter, boolean requestResult) private static ServerCommandSource
ExecuteCommand.executeStoreScore
(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, boolean requestResult) private static int
RecipeCommand.executeTake
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Collection<RecipeEntry<?>> recipes) private static int
WeatherCommand.executeThunder
(ServerCommandSource source, int duration) private static int
TitleCommand.executeTimes
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, int fadeIn, int stay, int fadeOut) private static int
TitleCommand.executeTitle
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text title, String titleType, Function<Text, Packet<?>> constructor) private static int
DebugConfigCommand.executeUnconfig
(ServerCommandSource source, UUID uuid) private static int
ListCommand.executeUuids
(ServerCommandSource source) private static int
AttributeCommand.executeValueGet
(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, double multiplier) private static int
WorldBorderCommand.executeWarningDistance
(ServerCommandSource source, int distance) private static int
WorldBorderCommand.executeWarningTime
(ServerCommandSource source, int time) void
CommandManager.executeWithPrefix
(ServerCommandSource source, String command) Executescommand
.(package private) static int
TestCommand.export
(ServerCommandSource source, StructureBlockBlockEntity blockEntity) private static Inventory
LootCommand.getBlockInventory
(ServerCommandSource source, BlockPos pos) private static ItemStack
LootCommand.getHeldItem
(ServerCommandSource source, EquipmentSlot slot) (package private) static Inventory
ItemCommand.getInventoryAtPos
(ServerCommandSource source, BlockPos pos, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType exception) private static int
BossBarCommand.getMaxValue
(ServerCommandSource source, CommandBossBar bossBar) private static int
BossBarCommand.getPlayers
(ServerCommandSource source, CommandBossBar bossBar) private static ItemStack
ItemCommand.getStackInSlotFromInventoryAt
(ServerCommandSource source, BlockPos pos, int slotId) private static ItemStack
ItemCommand.getStackWithModifier
(ServerCommandSource source, RegistryEntry<LootFunction> lootFunction, ItemStack stack) (package private) static BlockPos
TestCommand.getStructurePos
(ServerCommandSource source) private static int
BossBarCommand.getValue
(ServerCommandSource source, CommandBossBar bossBar) private static boolean
ChaseCommand.isRunning
(ServerCommandSource source) private static int
BossBarCommand.isVisible
(ServerCommandSource source, CommandBossBar bossBar) private static int
BossBarCommand.listBossBars
(ServerCommandSource source) void
TeleportCommand.LookAtEntity.look
(ServerCommandSource source, Entity entity) void
TeleportCommand.LookAtPosition.look
(ServerCommandSource source, Entity entity) void
TeleportCommand.LookTarget.look
(ServerCommandSource source, Entity entity) private void
CommandManager.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 int
WeatherCommand.processDuration
(ServerCommandSource source, int duration, IntProvider provider) private static int
BossBarCommand.removeBossBar
(ServerCommandSource source, CommandBossBar bossBar) static int
LocateCommand.sendCoordinates
(ServerCommandSource source, RegistryEntryPredicateArgumentType.EntryPredicate<?> predicate, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result, String successMessage, boolean includeY, Duration timeTaken) static int
LocateCommand.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 int
LocateCommand.sendCoordinates
(ServerCommandSource source, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result, String successMessage, boolean includeY, String entryString, Duration timeTaken) private static void
LootCommand.sendDroppedFeedback
(ServerCommandSource source, List<ItemStack> stacks) private static void
LootCommand.sendDroppedFeedback
(ServerCommandSource source, List<ItemStack> stacks, RegistryKey<LootTable> lootTable) private static void
GameModeCommand.sendFeedback
(ServerCommandSource source, ServerPlayerEntity player, GameMode gameMode) (package private) static void
TestCommand.sendMessage
(ServerCommandSource source, String message) private static void
ServerPackCommand.sendToAll
(ServerCommandSource source, Packet<?> packet) private static int
BossBarCommand.setColor
(ServerCommandSource source, CommandBossBar bossBar, BossBar.Color color) private static int
BossBarCommand.setMaxValue
(ServerCommandSource source, CommandBossBar bossBar, int value) private static int
BossBarCommand.setName
(ServerCommandSource source, CommandBossBar bossBar, Text name) private static int
BossBarCommand.setPlayers
(ServerCommandSource source, CommandBossBar bossBar, Collection<ServerPlayerEntity> players) private static int
BossBarCommand.setStyle
(ServerCommandSource source, CommandBossBar bossBar, BossBar.Style style) private static int
BossBarCommand.setValue
(ServerCommandSource source, CommandBossBar bossBar, int value) private static int
BossBarCommand.setVisible
(ServerCommandSource source, CommandBossBar bossBar, boolean visible) private static int
WardenSpawnTrackerCommand.setWarningLevel
(ServerCommandSource source, Collection<? extends PlayerEntity> players, int warningCount) (package private) static int
TestCommand.start
(ServerCommandSource source, ServerWorld world, TestRunContext context) private static int
ChaseCommand.startClient
(ServerCommandSource source, String ip, int port) private static int
ChaseCommand.startServer
(ServerCommandSource source, String ip, int port) private static int
ChaseCommand.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 ServerCommandSource
ExecuteCommand.summon
(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType) static Entity
SummonCommand.summon
(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType, Vec3d pos, NbtCompound nbt, boolean initialize) private static void
TeleportCommand.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 boolean
ExecuteCommand.testLootCondition
(ServerCommandSource source, RegistryEntry<LootCondition> lootCondition) static void
ReloadCommand.tryReloadDataPacks
(Collection<String> dataPacks, ServerCommandSource source) Modifier and TypeMethodDescriptionint
LootCommand.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 void
CommandManager.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.DimensionalPos
CloneCommand.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) void
CommandManager.execute
(com.mojang.brigadier.ParseResults<ServerCommandSource> parseResults, String command) Executescommand
.void
ExecuteCommand.IfUnlessRedirector.execute
(ServerCommandSource serverCommandSource, List<ServerCommandSource> list, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, ExecutionFlags executionFlags, ExecutionControl<ServerCommandSource> executionControl) void
ExecuteCommand.IfUnlessRedirector.execute
(ServerCommandSource serverCommandSource, List<ServerCommandSource> list, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, ExecutionFlags executionFlags, ExecutionControl<ServerCommandSource> executionControl) void
ExecuteCommand.IfUnlessRedirector.execute
(ServerCommandSource serverCommandSource, List<ServerCommandSource> list, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, ExecutionFlags executionFlags, ExecutionControl<ServerCommandSource> executionControl) private static int
GameModeCommand.execute
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Collection<ServerPlayerEntity> targets, GameMode gameMode) private static int
ScheduleCommand.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 int
ScheduleCommand.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 int
LootCommand.executeFish
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryEntry<LootTable> lootTable, BlockPos pos, ItemStack stack, LootCommand.Target constructor) void
DebugCommand.Command.executeInner
(ServerCommandSource serverCommandSource, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, ExecutionFlags executionFlags, ExecutionControl<ServerCommandSource> executionControl) void
DebugCommand.Command.executeInner
(ServerCommandSource serverCommandSource, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, ExecutionFlags executionFlags, ExecutionControl<ServerCommandSource> executionControl) void
FunctionCommand.Command.executeInner
(ServerCommandSource serverCommandSource, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, ExecutionFlags executionFlags, ExecutionControl<ServerCommandSource> executionControl) void
FunctionCommand.Command.executeInner
(ServerCommandSource serverCommandSource, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, ExecutionFlags executionFlags, ExecutionControl<ServerCommandSource> executionControl) private static int
LootCommand.executeKill
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Entity entity, LootCommand.Target constructor) private static int
LootCommand.executeLoot
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryEntry<LootTable> lootTable, LootCommand.Target constructor) private static int
LootCommand.executeMine
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, BlockPos pos, ItemStack stack, LootCommand.Target constructor) private static int
DataCommand.executeModify
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, DataCommand.ObjectType objectType, DataCommand.ModifyOperation modifier, List<NbtElement> elements) private static int
ExecuteCommand.executeNegativeBlockCondition
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, boolean masked) private static int
ExecuteCommand.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 NbtCompound
FunctionCommand.Command.getArguments
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) static CommandBossBar
BossBarCommand.getBossBar
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) private static int
LootCommand.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 ResourcePackProfile
DatapackCommand.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 void
CommandManager.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 void
CommandManager.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) int
DataCommand.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 void
AdvancementCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
AttributeCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static void
BossBarCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static void
ChaseCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
ClearCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static void
CloneCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static void
DamageCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static void
DataCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
DatapackCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
DebugCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
DebugConfigCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
DebugMobSpawningCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
DebugPathCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
DefaultGameModeCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
DifficultyCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
EffectCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static void
EnchantCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static void
ExecuteCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static void
ExperienceCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
FillBiomeCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static void
FillCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static void
ForceLoadCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
FunctionCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
GameModeCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
GameRuleCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
GiveCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static void
HelpCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
ItemCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static void
JfrCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
KickCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
KillCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
ListCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
LocateCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static void
LootCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static void
MeCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
MessageCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
ParticleCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static void
PlaceCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
PlaySoundCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
PublishCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
RaidCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static void
RandomCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
RecipeCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
ReloadCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
RideCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
SayCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
ScheduleCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
ScoreboardCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static void
SeedCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, boolean dedicated) static void
ServerPackCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
SetBlockCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) static void
SetWorldSpawnCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
SpawnArmorTrimsCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
SpawnPointCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
SpectateCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
SpreadPlayersCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
StopSoundCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
SummonCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static void
TagCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
TeamCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static void
TeamMsgCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
TeleportCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
TellRawCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static void
TestCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
TickCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
TimeCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
TitleCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static void
TriggerCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
WardenSpawnTrackerCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
WeatherCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
WorldBorderCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) int
ScoreboardCommand.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) boolean
ExecuteCommand.Condition.test
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) int
ExecuteCommand.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 OptionalInt
ExecuteCommand.testBlocksCondition
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, boolean masked) private static boolean
ExecuteCommand.testScoreCondition
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, ExecuteCommand.ScoreComparisonPredicate predicate) private static boolean
ExecuteCommand.testScoreMatch
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, NumberRange.IntRange range) ModifierConstructorDescription(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
Modifier and TypeMethodDescriptionvoid
MinecraftDedicatedServer.enqueueCommand
(String command, ServerCommandSource commandSource) ModifierConstructorDescriptionPendingServerCommand
(String command, ServerCommandSource commandSource) -
Uses of ServerCommandSource in net.minecraft.server.dedicated.command
Modifier and TypeMethodDescriptionprivate static int
BanCommand.ban
(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets, @Nullable Text reason) private static int
BanIpCommand.banIp
(ServerCommandSource source, String targetIp, @Nullable Text reason) private static int
BanIpCommand.checkIp
(ServerCommandSource source, String target, @Nullable Text reason) private static int
DeOpCommand.deop
(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets) private static int
BanListCommand.execute
(ServerCommandSource source, Collection<? extends BanEntry<?>> targets) private static int
SetIdleTimeoutCommand.execute
(ServerCommandSource source, int minutes) private static int
WhitelistCommand.executeAdd
(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets) private static int
WhitelistCommand.executeList
(ServerCommandSource source) private static int
WhitelistCommand.executeOff
(ServerCommandSource source) private static int
WhitelistCommand.executeOn
(ServerCommandSource source) private static int
WhitelistCommand.executeReload
(ServerCommandSource source) private static int
WhitelistCommand.executeRemove
(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets) private static int
PerfCommand.executeStart
(ServerCommandSource source) private static int
PerfCommand.executeStop
(ServerCommandSource source) private static int
TransferCommand.executeTransfer
(ServerCommandSource source, String host, int port, Collection<ServerPlayerEntity> players) private static int
OpCommand.op
(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets) private static int
PardonCommand.pardon
(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets) private static int
PardonIpCommand.pardonIp
(ServerCommandSource source, String target) private static int
SaveAllCommand.saveAll
(ServerCommandSource source, boolean flush) private static void
PerfCommand.saveReport
(ServerCommandSource source, Path tempProfilingDirectory, MinecraftServer server) private static void
PerfCommand.sendProfilingStoppedMessage
(ServerCommandSource source, ProfileResult result) Modifier and TypeMethodDescriptionstatic void
BanCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
BanIpCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
BanListCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
DeOpCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
OpCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
PardonCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
PardonIpCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
PerfCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
SaveAllCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
SaveOffCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
SaveOnCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
SetIdleTimeoutCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
StopCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
TransferCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
WhitelistCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) -
Uses of ServerCommandSource in net.minecraft.server.function
Modifier and TypeFieldDescriptionprivate final com.mojang.brigadier.CommandDispatcher
<ServerCommandSource> FunctionLoader.commandDispatcher
private Optional
<CommandFunction<ServerCommandSource>> LazyContainer.function
private Map
<Identifier, CommandFunction<ServerCommandSource>> FunctionLoader.functions
private final TagGroupLoader
<CommandFunction<ServerCommandSource>> FunctionLoader.tagLoader
private Map
<Identifier, Collection<CommandFunction<ServerCommandSource>>> FunctionLoader.tags
private List
<CommandFunction<ServerCommandSource>> CommandFunctionManager.tickFunctions
A list ofminecraft:tick
tag functions to run on every tick.Modifier and TypeMethodDescriptionCommandFunctionManager.getScheduledCommandSource()
Returns the command source to execute scheduled functions.Modifier 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) Modifier and TypeMethodDescriptionvoid
CommandFunctionManager.execute
(CommandFunction<ServerCommandSource> function, ServerCommandSource source) Executes a function.Modifier and TypeMethodDescriptionvoid
CommandFunctionManager.execute
(CommandFunction<ServerCommandSource> function, ServerCommandSource source) Executes a function.private void
CommandFunctionManager.executeAll
(Collection<CommandFunction<ServerCommandSource>> functions, Identifier label) ModifierConstructorDescriptionFunctionLoader
(int level, com.mojang.brigadier.CommandDispatcher<ServerCommandSource> commandDispatcher) -
Uses of ServerCommandSource in net.minecraft.server.network
Modifier and TypeMethodDescriptionprivate com.mojang.brigadier.ParseResults
<ServerCommandSource> Returns the result of parsingcommand
. -
Uses of ServerCommandSource in net.minecraft.server.rcon
-
Uses of ServerCommandSource in net.minecraft.text
Modifier and TypeMethodDescriptionBlockNbtDataSource.get
(ServerCommandSource source) EntityNbtDataSource.get
(ServerCommandSource source) NbtDataSource.get
(ServerCommandSource source) StorageNbtDataSource.get
(ServerCommandSource source) private MutableText
ScoreTextContent.getScore
(ScoreHolder scoreHolder, ServerCommandSource source) private ScoreHolder
ScoreTextContent.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 MutableText
TextContent.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 MutableText
TranslatableTextContent.parse
(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth) Parses this content into a basic mutable text without custom style or siblings.private static Style
Texts.parseStyle
(@Nullable ServerCommandSource source, Style style, @Nullable Entity sender, int depth) -
Uses of ServerCommandSource in net.minecraft.world
Modifier and TypeMethodDescriptioncom.mojang.brigadier.builder.RequiredArgumentBuilder
<ServerCommandSource, ?> Modifier and TypeMethodDescriptionvoid
GameRules.Rule.set
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) protected void
GameRules.BooleanRule.setFromArgument
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) protected void
GameRules.IntRule.setFromArgument
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) protected abstract void
GameRules.Rule.setFromArgument
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)