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 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) @Nullable Text
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.ScoreHolder.getNames
(ServerCommandSource source, Supplier<Collection<String>> players) ScoreHolderArgumentType.SelectorScoreHolder.getNames
(ServerCommandSource source, Supplier<Collection<String>> players) 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) 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<?,
?>> RegistryEntryArgumentType.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>
RegistryEntryArgumentType.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) RegistryEntryArgumentType.getEntityAttribute
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static RegistryEntry.Reference<EntityType<?>>
RegistryEntryArgumentType.getEntityType
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) (package private) static CommandFunction
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, Collection<CommandFunction>>> CommandFunctionArgumentType.FunctionArgument.getFunctionOrTag
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) static com.mojang.datafixers.util.Pair<Identifier,
com.mojang.datafixers.util.Either<CommandFunction, Collection<CommandFunction>>> CommandFunctionArgumentType.getFunctionOrTag
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) CommandFunctionArgumentType.FunctionArgument.getFunctions
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) static Collection<CommandFunction>
CommandFunctionArgumentType.getFunctions
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) (package private) static Collection<CommandFunction>
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) static Identifier
IdentifierArgumentType.getIdentifier
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static LootFunction
IdentifierArgumentType.getItemModifierArgument
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName) 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 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 LootCondition
IdentifierArgumentType.getPredicateArgument
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName) 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>
RegistryEntryArgumentType.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<String>
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 String
ScoreHolderArgumentType.getScoreHolder
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static Collection<String>
ScoreHolderArgumentType.getScoreHolders
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static Collection<String>
ScoreHolderArgumentType.getScoreHolders
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, Supplier<Collection<String>> players) static void
MessageArgumentType.getSignedMessage
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, Consumer<SignedMessage> callback) static RegistryEntry.Reference<StatusEffect>
RegistryEntryArgumentType.getStatusEffect
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static RegistryEntry.Reference<Structure>
RegistryEntryArgumentType.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 RegistryEntry.Reference<EntityType<?>>
RegistryEntryArgumentType.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.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, @Nullable ServerCommandSource commandSource, @Nullable PlayerEntity player) private static String
WrittenBookItem.textToJson
(@Nullable ServerCommandSource commandSource, @Nullable PlayerEntity player, String text) -
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 static final BinaryOperator<com.mojang.brigadier.ResultConsumer<ServerCommandSource>>
ExecuteCommand.BINARY_RESULT_CONSUMER
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
private final @Nullable com.mojang.brigadier.ResultConsumer<ServerCommandSource>
ServerCommandSource.resultConsumer
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 TypeMethodDescriptionprivate 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<String> targets, ScoreboardObjective objective, boolean requestResult) ServerCommandSource.mergeConsumers
(com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer, BinaryOperator<com.mojang.brigadier.ResultConsumer<ServerCommandSource>> merger) private static ServerCommandSource
ExecuteCommand.summon
(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType) ServerCommandSource.withConsumer
(com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer) 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
(IntConsumer 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> 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()
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.LiteralArgumentBuilder<ServerCommandSource>
ScoreboardCommand.makeRenderTypeArguments()
private static com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource>
Modifier and TypeMethodDescriptionprivate static int
BossBarCommand.addBossBar
(ServerCommandSource source, Identifier name, Text displayName) private static int
ScheduleCommand.clearEvent
(ServerCommandSource source, String eventName) private static int
WardenSpawnTrackerCommand.clearTracker
(ServerCommandSource source, Collection<? extends PlayerEntity> players) 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) 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
FunctionCommand.execute
(ServerCommandSource source, Collection<CommandFunction> functions, @Nullable NbtCompound arguments) FunctionCommand.execute
(ServerCommandSource source, CommandFunction function, @Nullable NbtCompound arguments) 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
ReturnCommand.execute
(ServerCommandSource source, int value) private static int
ScheduleCommand.execute
(ServerCommandSource source, com.mojang.datafixers.util.Pair<Identifier, com.mojang.datafixers.util.Either<CommandFunction, Collection<CommandFunction>>> 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<String> 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, ScoreboardPlayerScore score, int value) 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, LootFunction modifier) 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, LootFunction modifier) private static int
ItemCommand.executeBlockModify
(ServerCommandSource source, BlockPos pos, int slot, LootFunction modifier) 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
TestCommand.executeClearAll
(ServerCommandSource source, int radius) 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<String> 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, LootFunction modifier) 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, LootFunction modifier) private static int
ItemCommand.executeEntityModify
(ServerCommandSource source, Collection<? extends Entity> targets, int slot, LootFunction modifier) private static int
ItemCommand.executeEntityReplace
(ServerCommandSource source, Collection<? extends Entity> targets, int slot, ItemStack stack) private static int
TestCommand.executeExport
(ServerCommandSource source) private static int
TestCommand.executeExport
(ServerCommandSource source, String testName) private static int
TestCommand.executeExportThese
(ServerCommandSource source) private static int
DebugCommand.executeFunction
(ServerCommandSource source, Collection<CommandFunction> functions) 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, String target, 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) 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<String> members) private static int
TeamCommand.executeLeave
(ServerCommandSource source, Collection<String> 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, String target) 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
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
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<String> targets, ScoreboardObjective targetObjective, OperationArgumentType.Operation operation, Collection<String> 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
TestCommand.executePos
(ServerCommandSource source, String variableName) 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
TimeCommand.executeQuery
(ServerCommandSource source, int time) private static int
WeatherCommand.executeRain
(ServerCommandSource source, int duration) private static int
DataCommand.executeRemove
(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path) private static int
ScoreboardCommand.executeRemove
(ServerCommandSource source, Collection<String> 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
TestCommand.executeRerunFailed
(ServerCommandSource source, boolean requiredOnly, int rotationSteps, int sizeZ) 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<String> targets) private static int
ScoreboardCommand.executeReset
(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective) private static int
TitleCommand.executeReset
(ServerCommandSource source, Collection<ServerPlayerEntity> targets) private static int
ResetChunksCommand.executeResetChunks
(ServerCommandSource source, int radius, boolean skipOldChunks) private static int
TestCommand.executeRun
(ServerCommandSource source, TestFunction testFunction, int rotationSteps) private static int
TestCommand.executeRunAll
(ServerCommandSource source, int rotationSteps, int sizeZ) private static int
TestCommand.executeRunAll
(ServerCommandSource source, String testClass, int rotationSteps, int sizeZ) private static int
TestCommand.executeRunThese
(ServerCommandSource source) private static int
TestCommand.executeRunThis
(ServerCommandSource source) private static int
ExperienceCommand.executeSet
(ServerCommandSource source, Collection<? extends ServerPlayerEntity> targets, int amount, ExperienceCommand.Component component) private static int
ScoreboardCommand.executeSet
(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score) static int
TimeCommand.executeSet
(ServerCommandSource source, int time) private static int
TriggerCommand.executeSet
(ServerCommandSource source, ScoreboardPlayerScore score, 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
RaidCommand.executeSetOmen
(ServerCommandSource source, int level) private static int
TriggerCommand.executeSimple
(ServerCommandSource source, ScoreboardPlayerScore score) 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
DebugCommand.executeStart
(ServerCommandSource source) private static int
JfrCommand.executeStart
(ServerCommandSource source) private static int
RaidCommand.executeStart
(ServerCommandSource source, int level) private static int
DebugCommand.executeStop
(ServerCommandSource source) private static int
JfrCommand.executeStop
(ServerCommandSource source) private static int
RaidCommand.executeStop
(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<String> 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) int
CommandManager.executeWithPrefix
(ServerCommandSource source, String command) Executescommand
.private static Inventory
LootCommand.getBlockInventory
(ServerCommandSource source, BlockPos pos) private static ItemStack
LootCommand.getHeldItem
(ServerCommandSource source, EquipmentSlot slot) 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, LootFunction modifier, ItemStack stack) 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.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) private static void
TestCommand.run
(ServerCommandSource source, Collection<TestFunction> testFunctions, int rotationSteps, int int2) 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, Identifier lootTable) private static void
GameModeCommand.sendFeedback
(ServerCommandSource source, ServerPlayerEntity player, GameMode gameMode) private static void
TestCommand.sendMessage
(ServerCommandSource source, String message) 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) 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) private static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
ScoreboardCommand.suggestDisabled
(ServerCommandSource source, Collection<String> 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, LootCondition condition) 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) 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) int
CommandManager.execute
(com.mojang.brigadier.ParseResults<ServerCommandSource> parseResults, String command) Executescommand
.private static int
GameModeCommand.execute
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Collection<ServerPlayerEntity> targets, GameMode gameMode) private static int
LootCommand.executeFish
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier lootTable, BlockPos pos, ItemStack stack, LootCommand.Target constructor) 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, Identifier 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) static CommandBossBar
BossBarCommand.getBossBar
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) private static int
LootCommand.getFeedbackMessageSingle
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier 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) 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) ServerCommandSource.mergeConsumers
(com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer, BinaryOperator<com.mojang.brigadier.ResultConsumer<ServerCommandSource>> merger) ServerCommandSource.mergeConsumers
(com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer, BinaryOperator<com.mojang.brigadier.ResultConsumer<ServerCommandSource>> merger) int
DataCommand.ModifyOperation.modify
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, NbtCompound sourceNbt, NbtPathArgumentType.NbtPath path, List<NbtElement> elements) void
ServerCommandSource.onCommandComplete
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, boolean success, int result) 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) 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) 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
ResetChunksCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static void
ReturnCommand.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) static void
SeedCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, boolean dedicated) 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) 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) static void
TestCommand.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) 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) private static List<AdvancementEntry>
AdvancementCommand.select
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, AdvancementEntry advancement, AdvancementCommand.Selection selection) private static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
RandomCommand.suggestSequences
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder) boolean
ExecuteCommand.Condition.test
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) int
ExecuteCommand.ExistsCondition.test
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) 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, BiPredicate<Integer, Integer> condition) private static boolean
ExecuteCommand.testScoreMatch
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, NumberRange.IntRange range) ServerCommandSource.withConsumer
(com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer) ModifierConstructorDescriptionprotected
ServerCommandSource
(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String name, Text displayName, MinecraftServer server, @Nullable Entity entity, boolean silent, @Nullable com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer, EntityAnchorArgumentType.EntityAnchor entityAnchor, SignedCommandArguments signedArguments, FutureQueue messageChainTaskQueue, IntConsumer returnValueConsumer) -
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
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
WhitelistCommand.register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) -
Uses of ServerCommandSource in net.minecraft.server.function
Modifier and TypeFieldDescriptionprivate final ServerCommandSource
CommandFunctionManager.Entry.source
Modifier and TypeFieldDescriptionprivate final com.mojang.brigadier.CommandDispatcher<ServerCommandSource>
FunctionLoader.commandDispatcher
private final com.mojang.brigadier.ParseResults<ServerCommandSource>
CommandFunction.CommandElement.parsed
Modifier and TypeMethodDescriptionprivate ServerCommandSource
CommandFunctionManager.Execution.addReturnConsumer
(ServerCommandSource source) CommandFunctionManager.getScheduledCommandSource()
Returns the command source to execute scheduled functions.Modifier and TypeMethodDescriptioncom.mojang.brigadier.CommandDispatcher<ServerCommandSource>
CommandFunctionManager.getDispatcher()
Modifier and TypeMethodDescriptionprivate ServerCommandSource
CommandFunctionManager.Execution.addReturnConsumer
(ServerCommandSource source) static CommandFunction
CommandFunction.create
(Identifier id, com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, ServerCommandSource source, List<String> lines) Parses a function in the context ofsource
.private int
CommandFunction.CommandElement.execute
(CommandFunctionManager manager, ServerCommandSource source) void
CommandFunction.CommandElement.execute
(CommandFunctionManager manager, ServerCommandSource source, Deque<CommandFunctionManager.Entry> entries, int maxChainLength, int depth, CommandFunctionManager.Tracer tracer) void
CommandFunction.Element.execute
(CommandFunctionManager manager, ServerCommandSource source, Deque<CommandFunctionManager.Entry> entries, int maxChainLength, int depth, CommandFunctionManager.Tracer tracer) void
CommandFunction.FunctionElement.execute
(CommandFunctionManager manager, ServerCommandSource source, Deque<CommandFunctionManager.Entry> entries, int maxChainLength, int depth, CommandFunctionManager.Tracer tracer) void
CommandFunction.MacroElement.execute
(CommandFunctionManager manager, ServerCommandSource source, Deque<CommandFunctionManager.Entry> entries, int maxChainLength, int depth, CommandFunctionManager.Tracer tracer) int
CommandFunctionManager.execute
(CommandFunction function, ServerCommandSource source) Executes a function.int
CommandFunctionManager.execute
(CommandFunction function, ServerCommandSource source, @Nullable CommandFunctionManager.Tracer tracer, @Nullable NbtCompound arguments) Executes a function.(package private) void
CommandFunctionManager.Execution.recursiveRun
(CommandFunction function, ServerCommandSource source) Handles a recursive case inCommandFunctionManager.execute(CommandFunction, ServerCommandSource, CommandFunctionManager.Tracer, NbtCompound)
.(package private) int
CommandFunctionManager.Execution.run
(CommandFunction function, ServerCommandSource source) private CommandFunction
CommandFunction.Macro.withMacroReplaced
(List<String> arguments, com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, ServerCommandSource source) CommandFunction.Macro.withMacroReplaced
(@Nullable NbtCompound arguments, com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, ServerCommandSource source) CommandFunction.withMacroReplaced
(@Nullable NbtCompound arguments, com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, ServerCommandSource source) Modifier and TypeMethodDescriptionstatic CommandFunction
CommandFunction.create
(Identifier id, com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, ServerCommandSource source, List<String> lines) Parses a function in the context ofsource
.private CommandFunction
CommandFunction.Macro.withMacroReplaced
(List<String> arguments, com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, ServerCommandSource source) CommandFunction.Macro.withMacroReplaced
(@Nullable NbtCompound arguments, com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, ServerCommandSource source) CommandFunction.withMacroReplaced
(@Nullable NbtCompound arguments, com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, ServerCommandSource source) ModifierConstructorDescriptionEntry
(ServerCommandSource source, int depth, CommandFunction.Element element) ModifierConstructorDescriptionCommandElement
(com.mojang.brigadier.ParseResults<ServerCommandSource> parsed) FunctionLoader
(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 String
ScoreTextContent.getPlayerName
(ServerCommandSource source) private String
ScoreTextContent.getScore
(String playerName, 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
Texts.parse
(@Nullable ServerCommandSource source, Text text, @Nullable Entity sender, int depth) 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)