Uses of Class
net.minecraft.server.command.ServerCommandSource
Packages that use ServerCommandSource
Package
Description
The base package for all Minecraft classes.
-
Uses of ServerCommandSource in net.minecraft
Methods in net.minecraft with parameters of type ServerCommandSourceModifier and TypeMethodDescriptionprivate static intclass_6413.method_37333(ServerCommandSource serverCommandSource)private static voidclass_6413.method_37334(ServerCommandSource serverCommandSource, ProfileResult profileResult)private static voidclass_6413.method_37335(ServerCommandSource serverCommandSource, Path path, MinecraftServer minecraftServer)private static intclass_6413.method_37338(ServerCommandSource serverCommandSource)Method parameters in net.minecraft with type arguments of type ServerCommandSourceModifier and TypeMethodDescriptionstatic voidclass_6413.method_37331(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> commandDispatcher) -
Uses of ServerCommandSource in net.minecraft.block.entity
Methods in net.minecraft.block.entity that return ServerCommandSourceModifier and TypeMethodDescriptionprivate ServerCommandSourceLecternBlockEntity.getCommandSource(@Nullable PlayerEntity player)SignBlockEntity.getCommandSource(@Nullable ServerPlayerEntity player) -
Uses of ServerCommandSource in net.minecraft.command
Fields in net.minecraft.command with type parameters of type ServerCommandSourceModifier and TypeFieldDescription(package private) static com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>StorageDataObject.SUGGESTION_PROVIDERMethods in net.minecraft.command with parameters of type ServerCommandSourceModifier and TypeMethodDescriptionprivate voidEntitySelector.checkSourcePermission(ServerCommandSource serverCommandSource)EntitySelector.getEntities(ServerCommandSource serverCommandSource)EntitySelector.getEntity(ServerCommandSource serverCommandSource)EntitySelector.getPlayer(ServerCommandSource serverCommandSource)EntitySelector.getPlayers(ServerCommandSource serverCommandSource)Method parameters in net.minecraft.command with type arguments of type ServerCommandSourceModifier and TypeMethodDescription(package private) static DataCommandStorageStorageDataObject.of(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext) -
Uses of ServerCommandSource in net.minecraft.command.argument
Fields in net.minecraft.command.argument with type parameters of type ServerCommandSourceModifier and TypeFieldDescriptionstatic com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>ScoreHolderArgumentType.SUGGESTION_PROVIDERMethods in net.minecraft.command.argument with parameters of type ServerCommandSourceModifier and TypeMethodDescriptionMessageArgumentType.MessageFormat.format(ServerCommandSource source, boolean bool)MessageArgumentType.MessageSelector.format(ServerCommandSource source)floatAngleArgumentType.Angle.getAngle(ServerCommandSource source)Collection<com.mojang.authlib.GameProfile>GameProfileArgumentType.GameProfileArgument.getNames(ServerCommandSource serverCommandSource)Collection<com.mojang.authlib.GameProfile>GameProfileArgumentType.SelectorBacked.getNames(ServerCommandSource serverCommandSource)ScoreHolderArgumentType.ScoreHolder.getNames(ServerCommandSource source, Supplier<Collection<String>> supplier)ScoreHolderArgumentType.SelectorScoreHolder.getNames(ServerCommandSource source, Supplier<Collection<String>> supplier)EntityAnchorArgumentType.EntityAnchor.positionAt(ServerCommandSource serverCommandSource)default BlockPosPosArgument.toAbsoluteBlockPos(ServerCommandSource source)DefaultPosArgument.toAbsolutePos(ServerCommandSource source)LookingPosArgument.toAbsolutePos(ServerCommandSource source)PosArgument.toAbsolutePos(ServerCommandSource source)DefaultPosArgument.toAbsoluteRotation(ServerCommandSource source)LookingPosArgument.toAbsoluteRotation(ServerCommandSource source)PosArgument.toAbsoluteRotation(ServerCommandSource source)Method parameters in net.minecraft.command.argument with type arguments of type ServerCommandSourceModifier and TypeMethodDescriptionItemPredicateArgumentType.ItemPredicateArgument.create(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext)static AdvancementIdentifierArgumentType.getAdvancementArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName)static floatAngleArgumentType.getAngle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static EntityAttributeIdentifierArgumentType.getAttributeArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName)static BlockPosBlockPosArgumentType.getBlockPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static Predicate<CachedBlockPosition>BlockPredicateArgumentType.getBlockPredicate(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static BlockStateArgumentBlockStateArgumentType.getBlockState(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static FormattingColorArgumentType.getColor(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static ColumnPosColumnPosArgumentType.getColumnPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static ScoreboardCriterionScoreboardCriterionArgumentType.getCriterion(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)static ServerWorldDimensionArgumentType.getDimensionArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static EnchantmentEnchantmentArgumentType.getEnchantment(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static Collection<? extends Entity>EntityArgumentType.getEntities(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static EntityEntityArgumentType.getEntity(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)EntityAnchorArgumentType.getEntityAnchor(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)static IdentifierEntitySummonArgumentType.getEntitySummon(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)(package private) static CommandFunctionCommandFunctionArgumentType.getFunction(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier id)static TestFunctionTestFunctionArgumentType.getFunction(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)com.mojang.datafixers.util.Pair<Identifier,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>>CommandFunctionArgumentType.FunctionArgument.getFunctionOrTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext)static com.mojang.datafixers.util.Pair<Identifier,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>>CommandFunctionArgumentType.getFunctionOrTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)CommandFunctionArgumentType.FunctionArgument.getFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext)static Collection<CommandFunction>CommandFunctionArgumentType.getFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)(package private) static Tag<CommandFunction>CommandFunctionArgumentType.getFunctionTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier id)static IdentifierIdentifierArgumentType.getIdentifier(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static LootFunctionIdentifierArgumentType.getItemModifierArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName)ItemPredicateArgumentType.getItemPredicate(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static intItemSlotArgumentType.getItemSlot(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static BlockPosBlockPosArgumentType.getLoadedBlockPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static TextMessageArgumentType.getMessage(com.mojang.brigadier.context.CommandContext<ServerCommandSource> command, String name)static NbtPathArgumentType.NbtPathNbtPathArgumentType.getNbtPath(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static ScoreboardObjectiveScoreboardObjectiveArgumentType.getObjective(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)OperationArgumentType.getOperation(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)static Collection<? extends Entity>EntityArgumentType.getOptionalEntities(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)static Collection<ServerPlayerEntity>EntityArgumentType.getOptionalPlayers(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)static ParticleEffectParticleEffectArgumentType.getParticle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static ServerPlayerEntityEntityArgumentType.getPlayer(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)static Collection<ServerPlayerEntity>EntityArgumentType.getPlayers(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)static PosArgumentVec3ArgumentType.getPosArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)static LootConditionIdentifierArgumentType.getPredicateArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName)static Collection<com.mojang.authlib.GameProfile>GameProfileArgumentType.getProfileArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)static NumberRange.FloatRangeNumberRangeArgumentType.FloatRangeArgumentType.getRangeArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static NumberRange.IntRangeNumberRangeArgumentType.IntRangeArgumentType.getRangeArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static Recipe<?>IdentifierArgumentType.getRecipeArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName)static PosArgumentRotationArgumentType.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 intScoreboardSlotArgumentType.getScoreboardSlot(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static StringScoreHolderArgumentType.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 StatusEffectStatusEffectArgumentType.getStatusEffect(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)static EnumSet<Direction.Axis>SwizzleArgumentType.getSwizzle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)static TeamTeamArgumentType.getTeam(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static StringTestClassArgumentType.getTestClass(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static TextTextArgumentType.getTextArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static UUIDUuidArgumentType.getUuid(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static Vec2fVec2ArgumentType.getVec2(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static Vec3dVec3ArgumentType.getVec3(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static ScoreboardObjectiveScoreboardObjectiveArgumentType.getWritableObjective(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) -
Uses of ServerCommandSource in net.minecraft.command.suggestion
Fields in net.minecraft.command.suggestion with type parameters of type ServerCommandSourceModifier and TypeFieldDescriptionstatic com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>SuggestionProviders.ALL_BIOMESstatic com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>SuggestionProviders.ALL_RECIPESstatic com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>SuggestionProviders.AVAILABLE_SOUNDSstatic com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>SuggestionProviders.SUMMONABLE_ENTITIES -
Uses of ServerCommandSource in net.minecraft.entity
Methods in net.minecraft.entity that return ServerCommandSourceModifier and TypeMethodDescriptionEntity.getCommandSource()Creates a command source which represents this entity. -
Uses of ServerCommandSource in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle that return ServerCommandSource -
Uses of ServerCommandSource in net.minecraft.item
Methods in net.minecraft.item with parameters of type ServerCommandSourceModifier and TypeMethodDescriptionprivate static StringWrittenBookItem.method_33826(@Nullable ServerCommandSource serverCommandSource, @Nullable PlayerEntity playerEntity, String string)static booleanWrittenBookItem.resolve(ItemStack book, @Nullable ServerCommandSource commandSource, @Nullable PlayerEntity player) -
Uses of ServerCommandSource in net.minecraft.server
Methods in net.minecraft.server that return ServerCommandSourceModifier and TypeMethodDescriptionMinecraftServer.getCommandSource()Creates a command source which represents this Minecraft server instance.Methods in net.minecraft.server with parameters of type ServerCommandSourceModifier and TypeMethodDescriptionvoidMinecraftServer.kickNonWhitelistedPlayers(ServerCommandSource source) -
Uses of ServerCommandSource in net.minecraft.server.command
Fields in net.minecraft.server.command with type parameters of type ServerCommandSourceModifier and TypeFieldDescriptionprivate static BinaryOperator<com.mojang.brigadier.ResultConsumer<ServerCommandSource>>ExecuteCommand.BINARY_RESULT_CONSUMERprivate static com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>DatapackCommand.DISABLED_CONTAINERS_SUGGESTION_PROVIDERprivate com.mojang.brigadier.CommandDispatcher<ServerCommandSource>CommandManager.dispatcherprivate static com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>DatapackCommand.ENABLED_CONTAINERS_SUGGESTION_PROVIDERprivate static com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>ExecuteCommand.LOOT_CONDITIONSprivate static com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>ItemCommand.MODIFIER_SUGGESTION_PROVIDERprivate com.mojang.brigadier.ResultConsumer<ServerCommandSource>ServerCommandSource.resultConsumerprivate static com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>AdvancementCommand.SUGGESTION_PROVIDERprivate static com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>AttributeCommand.SUGGESTION_PROVIDERstatic com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>BossBarCommand.SUGGESTION_PROVIDERstatic com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>FunctionCommand.SUGGESTION_PROVIDERstatic com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>LootCommand.SUGGESTION_PROVIDERprivate static com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>ScheduleCommand.SUGGESTION_PROVIDERMethods in net.minecraft.server.command with type parameters of type ServerCommandSourceModifier and TypeMethodDescriptionprivate static <T extends com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, T>>
TLootCommand.addTargetArguments(T rootArgument, LootCommand.SourceConstructor sourceConstructor)Methods in net.minecraft.server.command that return ServerCommandSourceModifier and TypeMethodDescriptionprivate static ServerCommandSourceExecuteCommand.executeStoreBossbar(ServerCommandSource source, CommandBossBar bossBar, boolean storeInValue, boolean requestResult)private static ServerCommandSourceExecuteCommand.executeStoreData(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path, IntFunction<NbtElement> nbtSetter, boolean requestResult)private static ServerCommandSourceExecuteCommand.executeStoreScore(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, boolean requestResult)ServerCommandSource.mergeConsumers(com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer, BinaryOperator<com.mojang.brigadier.ResultConsumer<ServerCommandSource>> binaryOperator)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.withRotation(Vec2f rotation)ServerCommandSource.withSilent()ServerCommandSource.withWorld(ServerWorld world)Methods in net.minecraft.server.command that return types with arguments of type ServerCommandSourceModifier and TypeMethodDescriptioncom.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?>DataCommand.ObjectType.addArgumentsToBuilder(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> argument, Function<com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?>,com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?>> argumentAdder)private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?>ExecuteCommand.addBlocksConditionLogic(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> root, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> builder, boolean positive, boolean masked)private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?>ExecuteCommand.addConditionArguments(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> root, com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> argumentBuilder, boolean positive)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.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)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()Methods in net.minecraft.server.command with parameters of type ServerCommandSourceModifier and TypeMethodDescriptionprivate static intBossBarCommand.addBossBar(ServerCommandSource source, Identifier name, Text displayName)private static intScheduleCommand.clearEvent(ServerCommandSource source, String eventName)private static intClearCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Predicate<ItemStack> item, int maxCount)private static intCloneCommand.execute(ServerCommandSource source, BlockPos begin, BlockPos end, BlockPos destination, Predicate<CachedBlockPosition> filter, CloneCommand.Mode mode)intCommandManager.execute(ServerCommandSource commandSource, String command)private static intDebugMobSpawningCommand.execute(ServerCommandSource source, SpawnGroup group, BlockPos pos)private static intDebugPathCommand.execute(ServerCommandSource source, BlockPos pos)private static intDefaultGameModeCommand.execute(ServerCommandSource source, GameMode defaultGameMode)static intDifficultyCommand.execute(ServerCommandSource source, Difficulty difficulty)private static intEnchantCommand.execute(ServerCommandSource source, Collection<? extends Entity> targets, Enchantment enchantment, int level)private static intFillCommand.execute(ServerCommandSource source, BlockBox range, BlockStateArgument block, FillCommand.Mode mode, @Nullable Predicate<CachedBlockPosition> filter)private static intFunctionCommand.execute(ServerCommandSource source, Collection<CommandFunction> functions)private static intGiveCommand.execute(ServerCommandSource source, ItemStackArgument item, Collection<ServerPlayerEntity> targets, int count)private static intKickCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text reason)private static intKillCommand.execute(ServerCommandSource source, Collection<? extends Entity> targets)private static intListCommand.execute(ServerCommandSource source, Function<ServerPlayerEntity,Text> nameProvider)private static intLocateBiomeCommand.execute(ServerCommandSource source, Identifier id)private static intLocateCommand.execute(ServerCommandSource source, StructureFeature<?> structure)private static intMessageCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text message)private static intParticleCommand.execute(ServerCommandSource source, ParticleEffect parameters, Vec3d pos, Vec3d delta, float speed, int count, boolean force, Collection<ServerPlayerEntity> viewers)private static intPlaySoundCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch, float minVolume)private static intPublishCommand.execute(ServerCommandSource source, int port)private static intScheduleCommand.execute(ServerCommandSource source, com.mojang.datafixers.util.Pair<Identifier,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>> function, int time, boolean replace)private static intSetBlockCommand.execute(ServerCommandSource source, BlockPos pos, BlockStateArgument block, SetBlockCommand.Mode mode, @Nullable Predicate<CachedBlockPosition> condition)private static intSetWorldSpawnCommand.execute(ServerCommandSource source, BlockPos pos, float angle)private static intSpawnPointCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, BlockPos pos, float angle)private static intSpectateCommand.execute(ServerCommandSource source, @Nullable Entity entity, ServerPlayerEntity player)private static intSpreadPlayersCommand.execute(ServerCommandSource source, Vec2f center, float spreadDistance, float maxRange, int maxY, boolean respectTeams, Collection<? extends Entity> players)private static intStopSoundCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, @Nullable SoundCategory category, @Nullable Identifier sound)private static intSummonCommand.execute(ServerCommandSource source, Identifier entity, Vec3d pos, NbtCompound nbt, boolean initialize)private static intTeamMsgCommand.execute(ServerCommandSource source, Text message)private static intTeleportCommand.execute(ServerCommandSource source, Collection<? extends Entity> targets, Entity destination)private static intTeleportCommand.execute(ServerCommandSource source, Collection<? extends Entity> targets, ServerWorld world, PosArgument location, @Nullable PosArgument rotation, @Nullable TeleportCommand.LookTarget facingLocation)private static intExperienceCommand.executeAdd(ServerCommandSource source, Collection<? extends ServerPlayerEntity> targets, int amount, ExperienceCommand.Component component)private static intScoreboardCommand.executeAdd(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score)private static intTagCommand.executeAdd(ServerCommandSource source, Collection<? extends Entity> targets, String tag)private static intTeamCommand.executeAdd(ServerCommandSource source, String team)private static intTeamCommand.executeAdd(ServerCommandSource source, String team, Text displayName)static intTimeCommand.executeAdd(ServerCommandSource source, int time)private static intTriggerCommand.executeAdd(ServerCommandSource source, ScoreboardPlayerScore score, int value)private static intScoreboardCommand.executeAddObjective(ServerCommandSource source, String objective, ScoreboardCriterion criteria, Text displayName)private static intAdvancementCommand.executeAdvancement(ServerCommandSource source, Collection<ServerPlayerEntity> targets, AdvancementCommand.Operation operation, Collection<Advancement> selection)private static intAttributeCommand.executeBaseValueGet(ServerCommandSource source, Entity target, EntityAttribute attribute, double multiplier)private static intAttributeCommand.executeBaseValueSet(ServerCommandSource source, Entity target, EntityAttribute attribute, double value)private static intLootCommand.executeBlock(ServerCommandSource source, BlockPos targetPos, int slot, int stackCount, List<ItemStack> stacks, LootCommand.FeedbackMessage messageSender)private static intItemCommand.executeBlockCopyBlock(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, BlockPos pos, int slot)private static intItemCommand.executeBlockCopyBlock(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, BlockPos pos, int slot, LootFunction modifier)private static intItemCommand.executeBlockCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot)private static intItemCommand.executeBlockCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot, LootFunction modifier)private static intItemCommand.executeBlockModify(ServerCommandSource source, BlockPos pos, int slot, LootFunction modifier)private static intItemCommand.executeBlockReplace(ServerCommandSource source, BlockPos pos, int slot, ItemStack stack)private static intWorldBorderCommand.executeBuffer(ServerCommandSource source, float distance)private static intWorldBorderCommand.executeCenter(ServerCommandSource source, Vec2f pos)private static intForceLoadCommand.executeChange(ServerCommandSource source, ColumnPos from, ColumnPos to, boolean forceLoaded)private static intRaidCommand.executeCheck(ServerCommandSource source)private static intEffectCommand.executeClear(ServerCommandSource source, Collection<? extends Entity> targets)private static intEffectCommand.executeClear(ServerCommandSource source, Collection<? extends Entity> targets, StatusEffect effect)private static intTitleCommand.executeClear(ServerCommandSource source, Collection<ServerPlayerEntity> targets)private static intWeatherCommand.executeClear(ServerCommandSource source, int duration)private static intTestCommand.executeClearAll(ServerCommandSource source, int radius)private static intScoreboardCommand.executeClearDisplay(ServerCommandSource source, int slot)private static intTestCommand.executeCreate(ServerCommandSource source, String structure, int x, int y, int z)private static intAdvancementCommand.executeCriterion(ServerCommandSource source, Collection<ServerPlayerEntity> targets, AdvancementCommand.Operation operation, Advancement advancement, String criterion)private static intWorldBorderCommand.executeDamage(ServerCommandSource source, float damagePerBlock)private static intDatapackCommand.executeDisable(ServerCommandSource source, ResourcePackProfile container)private static intTeamCommand.executeEmpty(ServerCommandSource source, Team team)private static intDatapackCommand.executeEnable(ServerCommandSource source, ResourcePackProfile container, DatapackCommand.PackAdder packAdder)private static intScoreboardCommand.executeEnable(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective)private static intItemCommand.executeEntityCopyBlock(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targets, int slot)private static intItemCommand.executeEntityCopyBlock(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targets, int slot, LootFunction modifier)private static intItemCommand.executeEntityCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targets, int slot)private static intItemCommand.executeEntityCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targets, int slot, LootFunction modifier)private static intItemCommand.executeEntityModify(ServerCommandSource source, Collection<? extends Entity> targets, int slot, LootFunction modifier)private static intItemCommand.executeEntityReplace(ServerCommandSource source, Collection<? extends Entity> targets, int slot, ItemStack stack)private static intTestCommand.executeExport(ServerCommandSource source)private static intTestCommand.executeExport(ServerCommandSource source, String structure)private static intDebugCommand.executeFunction(ServerCommandSource source, Collection<CommandFunction> functions)private static intDataCommand.executeGet(ServerCommandSource source, DataCommandObject object)private static intDataCommand.executeGet(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path)private static intDataCommand.executeGet(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path, double scale)private static intScoreboardCommand.executeGet(ServerCommandSource source, String target, ScoreboardObjective objective)private static intWorldBorderCommand.executeGet(ServerCommandSource source)private static intEffectCommand.executeGive(ServerCommandSource source, Collection<? extends Entity> targets, StatusEffect effect, @Nullable Integer seconds, int amplifier, boolean showParticles)private static intRecipeCommand.executeGive(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Collection<Recipe<?>> recipes)private static intRaidCommand.executeGlow(ServerCommandSource source)private static intTestCommand.executeImport(ServerCommandSource source, String structure)private static intLootCommand.executeInsert(ServerCommandSource source, BlockPos targetPos, List<ItemStack> stacks, LootCommand.FeedbackMessage messageSender)private static intTeamCommand.executeJoin(ServerCommandSource source, Team team, Collection<String> members)private static intTeamCommand.executeLeave(ServerCommandSource source, Collection<String> members)private static intDatapackCommand.executeList(ServerCommandSource source)private static intTagCommand.executeList(ServerCommandSource source, Collection<? extends Entity> targets)private static intDatapackCommand.executeListAvailable(ServerCommandSource source)private static intDatapackCommand.executeListEnabled(ServerCommandSource source)private static intTeamCommand.executeListMembers(ServerCommandSource source, Team team)private static intScoreboardCommand.executeListObjectives(ServerCommandSource source)private static intScoreboardCommand.executeListPlayers(ServerCommandSource source)private static intScoreboardCommand.executeListScores(ServerCommandSource source, String target)private static intTeamCommand.executeListTeams(ServerCommandSource source)private static intDataCommand.executeMerge(ServerCommandSource source, DataCommandObject object, NbtCompound nbt)private static intAttributeCommand.executeModifierAdd(ServerCommandSource source, Entity target, EntityAttribute attribute, UUID uuid, String name, double value, EntityAttributeModifier.Operation operation)private static intAttributeCommand.executeModifierRemove(ServerCommandSource source, Entity target, EntityAttribute attribute, UUID uuid)private static intAttributeCommand.executeModifierValueGet(ServerCommandSource source, Entity target, EntityAttribute attribute, UUID uuid, double multiplier)private static intTeamCommand.executeModifyCollisionRule(ServerCommandSource source, Team team, AbstractTeam.CollisionRule collisionRule)private static intTeamCommand.executeModifyColor(ServerCommandSource source, Team team, Formatting color)private static intTeamCommand.executeModifyDeathMessageVisibility(ServerCommandSource source, Team team, AbstractTeam.VisibilityRule visibility)private static intTeamCommand.executeModifyDisplayName(ServerCommandSource source, Team team, Text displayName)private static intTeamCommand.executeModifyFriendlyFire(ServerCommandSource source, Team team, boolean allowed)private static intTeamCommand.executeModifyNametagVisibility(ServerCommandSource source, Team team, AbstractTeam.VisibilityRule visibility)private static intScoreboardCommand.executeModifyObjective(ServerCommandSource source, ScoreboardObjective objective, Text displayName)private static intTeamCommand.executeModifyPrefix(ServerCommandSource source, Team team, Text prefix)private static intScoreboardCommand.executeModifyRenderType(ServerCommandSource source, ScoreboardObjective objective, ScoreboardCriterion.RenderType type)private static intTeamCommand.executeModifySeeFriendlyInvisibles(ServerCommandSource source, Team team, boolean allowed)private static intTeamCommand.executeModifySuffix(ServerCommandSource source, Team team, Text suffix)private static intListCommand.executeNames(ServerCommandSource source)private static intScoreboardCommand.executeOperation(ServerCommandSource source, Collection<String> targets, ScoreboardObjective targetObjective, OperationArgumentType.Operation operation, Collection<String> sources, ScoreboardObjective sourceObjectives)private static intTestCommand.executePos(ServerCommandSource source, String variableName)private static intExperienceCommand.executeQuery(ServerCommandSource source, ServerPlayerEntity player, ExperienceCommand.Component component)private static intForceLoadCommand.executeQuery(ServerCommandSource source)private static intForceLoadCommand.executeQuery(ServerCommandSource source, ColumnPos pos)(package private) static <T extends GameRules.Rule<T>>
intGameRuleCommand.executeQuery(ServerCommandSource source, GameRules.Key<T> key)private static intTimeCommand.executeQuery(ServerCommandSource source, int time)private static intWeatherCommand.executeRain(ServerCommandSource source, int duration)private static intDataCommand.executeRemove(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path)private static intScoreboardCommand.executeRemove(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score)private static intTagCommand.executeRemove(ServerCommandSource source, Collection<? extends Entity> targets, String tag)private static intTeamCommand.executeRemove(ServerCommandSource source, Team team)private static intForceLoadCommand.executeRemoveAll(ServerCommandSource source)private static intScoreboardCommand.executeRemoveObjective(ServerCommandSource source, ScoreboardObjective objective)private static intTestCommand.executeRerunFailed(ServerCommandSource source, boolean requiredOnly, int rotationSteps, int sizeZ)private static intScoreboardCommand.executeReset(ServerCommandSource source, Collection<String> targets)private static intScoreboardCommand.executeReset(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective)private static intTitleCommand.executeReset(ServerCommandSource source, Collection<ServerPlayerEntity> targets)private static intTestCommand.executeRun(ServerCommandSource source, TestFunction testFunction, int rotationSteps)private static intTestCommand.executeRunAll(ServerCommandSource source, int rotationSteps, int sizeZ)private static intTestCommand.executeRunAll(ServerCommandSource source, String testClass, int rotationSteps, int sizeZ)private static intTestCommand.executeRunThese(ServerCommandSource source)private static intTestCommand.executeRunThis(ServerCommandSource source)private static intExperienceCommand.executeSet(ServerCommandSource source, Collection<? extends ServerPlayerEntity> targets, int amount, ExperienceCommand.Component component)private static intScoreboardCommand.executeSet(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score)static intTimeCommand.executeSet(ServerCommandSource source, int time)private static intTriggerCommand.executeSet(ServerCommandSource source, ScoreboardPlayerScore score, int value)private static intWorldBorderCommand.executeSet(ServerCommandSource source, double distance, long time)private static intScoreboardCommand.executeSetDisplay(ServerCommandSource source, int slot, ScoreboardObjective objective)private static intRaidCommand.executeSetOmen(ServerCommandSource source, int level)private static intTriggerCommand.executeSimple(ServerCommandSource source, ScoreboardPlayerScore score)private static intRaidCommand.executeSound(ServerCommandSource source, Text type)private static intLootCommand.executeSpawn(ServerCommandSource source, Vec3d pos, List<ItemStack> stacks, LootCommand.FeedbackMessage messageSender)private static intRaidCommand.executeSpawnLeader(ServerCommandSource source)private static intDebugCommand.executeStart(ServerCommandSource source)private static intRaidCommand.executeStart(ServerCommandSource source, int level)private static intDebugCommand.executeStop(ServerCommandSource source)private static intRaidCommand.executeStop(ServerCommandSource source)private static ServerCommandSourceExecuteCommand.executeStoreBossbar(ServerCommandSource source, CommandBossBar bossBar, boolean storeInValue, boolean requestResult)private static ServerCommandSourceExecuteCommand.executeStoreData(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path, IntFunction<NbtElement> nbtSetter, boolean requestResult)private static ServerCommandSourceExecuteCommand.executeStoreScore(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, boolean requestResult)private static intRecipeCommand.executeTake(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Collection<Recipe<?>> recipes)private static intWeatherCommand.executeThunder(ServerCommandSource source, int duration)private static intTitleCommand.executeTimes(ServerCommandSource source, Collection<ServerPlayerEntity> targets, int fadeIn, int stay, int fadeOut)private static intTitleCommand.executeTitle(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text title, String titleType, Function<Text,Packet<?>> constructor)private static intListCommand.executeUuids(ServerCommandSource source)private static intAttributeCommand.executeValueGet(ServerCommandSource source, Entity target, EntityAttribute attribute, double multiplier)private static intWorldBorderCommand.executeWarningDistance(ServerCommandSource source, int distance)private static intWorldBorderCommand.executeWarningTime(ServerCommandSource source, int time)private static InventoryLootCommand.getBlockInventory(ServerCommandSource source, BlockPos pos)private static ItemStackLootCommand.getHeldItem(ServerCommandSource source, EquipmentSlot slot)private static InventoryItemCommand.getInventoryAtPos(ServerCommandSource source, BlockPos pos, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType exception)private static intBossBarCommand.getMaxValue(ServerCommandSource source, CommandBossBar bossBar)private static intBossBarCommand.getPlayers(ServerCommandSource source, CommandBossBar bossBar)private static ItemStackItemCommand.getStackInSlotFromInventoryAt(ServerCommandSource source, BlockPos pos, int slotId)private static ItemStackItemCommand.getStackWithModifier(ServerCommandSource source, LootFunction modifier, ItemStack stack)private static intBossBarCommand.getValue(ServerCommandSource source, CommandBossBar bossBar)private static intBossBarCommand.isVisible(ServerCommandSource source, CommandBossBar bossBar)private static intBossBarCommand.listBossBars(ServerCommandSource source)voidTeleportCommand.LookTarget.look(ServerCommandSource source, Entity entity)private voidCommandManager.makeTreeForSource(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> tree, com.mojang.brigadier.tree.CommandNode<CommandSource> result, ServerCommandSource source, Map<com.mojang.brigadier.tree.CommandNode<ServerCommandSource>,com.mojang.brigadier.tree.CommandNode<CommandSource>> resultNodes)private static intBossBarCommand.removeBossBar(ServerCommandSource source, CommandBossBar bossBar)private static voidTestCommand.run(ServerCommandSource source, Collection<TestFunction> testFunctions, int rotationSteps, int int2)static intLocateCommand.sendCoordinates(ServerCommandSource source, String structure, BlockPos sourcePos, BlockPos structurePos, String successMessage)private static voidLootCommand.sendDroppedFeedback(ServerCommandSource source, List<ItemStack> stacks)private static voidLootCommand.sendDroppedFeedback(ServerCommandSource source, List<ItemStack> stacks, Identifier lootTable)private static voidGameModeCommand.sendFeedback(ServerCommandSource source, ServerPlayerEntity player, GameMode gameMode)private static voidTestCommand.sendMessage(ServerCommandSource source, String message)private static intBossBarCommand.setColor(ServerCommandSource source, CommandBossBar bossBar, BossBar.Color color)private static intBossBarCommand.setMaxValue(ServerCommandSource source, CommandBossBar bossBar, int value)private static intBossBarCommand.setName(ServerCommandSource source, CommandBossBar bossBar, Text name)private static intBossBarCommand.setPlayers(ServerCommandSource source, CommandBossBar bossBar, Collection<ServerPlayerEntity> players)private static intBossBarCommand.setStyle(ServerCommandSource source, CommandBossBar bossBar, BossBar.Style style)private static intBossBarCommand.setValue(ServerCommandSource source, CommandBossBar bossBar, int value)private static intBossBarCommand.setVisible(ServerCommandSource source, CommandBossBar bossBar, boolean visible)private static 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 voidTeleportCommand.teleport(ServerCommandSource source, Entity target, ServerWorld world, double x, double y, double z, Set<PlayerPositionLookS2CPacket.Flag> movementFlags, float yaw, float pitch, @Nullable TeleportCommand.LookTarget facingLocation)private static booleanExecuteCommand.testLootCondition(ServerCommandSource source, LootCondition condition)static voidReloadCommand.tryReloadDataPacks(Collection<String> dataPacks, ServerCommandSource source)Method parameters in net.minecraft.server.command with type arguments of type ServerCommandSourceModifier and TypeMethodDescriptionintLootCommand.Target.accept(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, List<ItemStack> items, LootCommand.FeedbackMessage messageSender)com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?>DataCommand.ObjectType.addArgumentsToBuilder(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> argument, Function<com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?>,com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?>> argumentAdder)com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?>DataCommand.ObjectType.addArgumentsToBuilder(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> argument, Function<com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?>,com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?>> argumentAdder)com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?>DataCommand.ObjectType.addArgumentsToBuilder(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> argument, Function<com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?>,com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?>> argumentAdder)private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?>ExecuteCommand.addBlocksConditionLogic(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> root, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> builder, boolean positive, boolean masked)private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?>ExecuteCommand.addBlocksConditionLogic(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> root, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> builder, boolean positive, boolean masked)private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?>ExecuteCommand.addConditionArguments(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> root, com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> argumentBuilder, boolean positive)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)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.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 intGameModeCommand.execute(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Collection<ServerPlayerEntity> targets, GameMode gameMode)private static intLootCommand.executeFish(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier lootTable, BlockPos pos, ItemStack stack, LootCommand.Target constructor)private static intLootCommand.executeKill(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Entity entity, LootCommand.Target constructor)private static intLootCommand.executeLoot(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier lootTable, LootCommand.Target constructor)private static intLootCommand.executeMine(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, BlockPos pos, ItemStack stack, LootCommand.Target constructor)private static intDataCommand.executeModify(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, DataCommand.ObjectType objectType, DataCommand.ModifyOperation modifier, List<NbtElement> elements)private static intExecuteCommand.executeNegativeBlockCondition(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, boolean masked)private static intExecuteCommand.executePositiveBlockCondition(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, boolean masked)(package private) static <T extends GameRules.Rule<T>>
intGameRuleCommand.executeSet(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, GameRules.Key<T> key)static CommandBossBarBossBarCommand.getBossBar(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context)private static TextMeCommand.getEmoteText(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String arg)private static intLootCommand.getFeedbackMessageSingle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier lootTable, LootContext lootContext, LootCommand.Target constructor)DataCommand.ObjectType.getObject(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context)private static ResourcePackProfileDatapackCommand.getPackContainer(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, boolean enable)private static Collection<ServerCommandSource>ExecuteCommand.getSourceOrEmptyForConditionFork(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, boolean positive, boolean value)private voidCommandManager.makeTreeForSource(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> tree, com.mojang.brigadier.tree.CommandNode<CommandSource> result, ServerCommandSource source, Map<com.mojang.brigadier.tree.CommandNode<ServerCommandSource>,com.mojang.brigadier.tree.CommandNode<CommandSource>> resultNodes)private voidCommandManager.makeTreeForSource(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> tree, com.mojang.brigadier.tree.CommandNode<CommandSource> result, ServerCommandSource source, Map<com.mojang.brigadier.tree.CommandNode<ServerCommandSource>,com.mojang.brigadier.tree.CommandNode<CommandSource>> resultNodes)ServerCommandSource.mergeConsumers(com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer, BinaryOperator<com.mojang.brigadier.ResultConsumer<ServerCommandSource>> binaryOperator)ServerCommandSource.mergeConsumers(com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer, BinaryOperator<com.mojang.brigadier.ResultConsumer<ServerCommandSource>> binaryOperator)intDataCommand.ModifyOperation.modify(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, NbtCompound sourceNbt, NbtPathArgumentType.NbtPath path, List<NbtElement> elements)voidServerCommandSource.onCommandComplete(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, boolean success, int result)static voidAdvancementCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidAttributeCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidBossBarCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidClearCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidCloneCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidDataCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidDatapackCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidDebugCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidDebugMobSpawningCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidDebugPathCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidDefaultGameModeCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidDifficultyCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidEffectCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidEnchantCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidExecuteCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidExperienceCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidFillCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidForceLoadCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidFunctionCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidGameModeCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidGameRuleCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidGiveCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidHelpCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidItemCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidKickCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidKillCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidListCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidLocateBiomeCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidLocateCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidLootCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidMeCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidMessageCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidParticleCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidPlaySoundCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidPublishCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidRaidCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidRecipeCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidReloadCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidSayCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidScheduleCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidScoreboardCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidSeedCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, boolean dedicated)static voidSetBlockCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidSetWorldSpawnCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidSpawnPointCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidSpectateCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidSpreadPlayersCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidStopSoundCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidSummonCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidTagCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidTeamCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidTeamMsgCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidTeleportCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidTellRawCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidTestCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidTimeCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidTitleCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidTriggerCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidWeatherCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidWorldBorderCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)booleanExecuteCommand.Condition.test(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context)intExecuteCommand.ExistsCondition.test(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context)private static OptionalIntExecuteCommand.testBlocksCondition(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, boolean masked)private static booleanExecuteCommand.testScoreCondition(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, BiPredicate<Integer,Integer> condition)private static booleanExecuteCommand.testScoreMatch(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, NumberRange.IntRange range)ServerCommandSource.withConsumer(com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer)Constructor parameters in net.minecraft.server.command with type arguments of type ServerCommandSourceModifierConstructorDescriptionprotectedServerCommandSource(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String simpleName, Text name, MinecraftServer server, @Nullable Entity entity, boolean silent, com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer, EntityAnchorArgumentType.EntityAnchor entityAnchor) -
Uses of ServerCommandSource in net.minecraft.server.dedicated
Fields in net.minecraft.server.dedicated declared as ServerCommandSourceMethods in net.minecraft.server.dedicated with parameters of type ServerCommandSourceModifier and TypeMethodDescriptionvoidMinecraftDedicatedServer.enqueueCommand(String command, ServerCommandSource commandSource)Constructors in net.minecraft.server.dedicated with parameters of type ServerCommandSourceModifierConstructorDescriptionPendingServerCommand(String command, ServerCommandSource commandSource) -
Uses of ServerCommandSource in net.minecraft.server.dedicated.command
Methods in net.minecraft.server.dedicated.command with parameters of type ServerCommandSourceModifier and TypeMethodDescriptionprivate static intBanCommand.ban(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets, @Nullable Text reason)private static intBanIpCommand.banIp(ServerCommandSource source, String targetIp, @Nullable Text reason)private static intBanIpCommand.checkIp(ServerCommandSource source, String target, @Nullable Text reason)private static intDeOpCommand.deop(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets)private static intBanListCommand.execute(ServerCommandSource source, Collection<? extends BanEntry<?>> targets)private static intSetIdleTimeoutCommand.execute(ServerCommandSource source, int minutes)private static intWhitelistCommand.executeAdd(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets)private static intWhitelistCommand.executeList(ServerCommandSource source)private static intWhitelistCommand.executeOff(ServerCommandSource source)private static intWhitelistCommand.executeOn(ServerCommandSource source)private static intWhitelistCommand.executeReload(ServerCommandSource source)private static intWhitelistCommand.executeRemove(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets)private static intOpCommand.op(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets)private static intPardonCommand.pardon(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets)private static intPardonIpCommand.pardonIp(ServerCommandSource source, String target)private static intSaveAllCommand.saveAll(ServerCommandSource source, boolean flush)Method parameters in net.minecraft.server.dedicated.command with type arguments of type ServerCommandSourceModifier and TypeMethodDescriptionstatic voidBanCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidBanIpCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidBanListCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidDeOpCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidOpCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidPardonCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidPardonIpCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidSaveAllCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidSaveOffCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidSaveOnCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidSetIdleTimeoutCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidStopCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)static voidWhitelistCommand.register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) -
Uses of ServerCommandSource in net.minecraft.server.function
Fields in net.minecraft.server.function declared as ServerCommandSourceFields in net.minecraft.server.function with type parameters of type ServerCommandSourceModifier and TypeFieldDescriptionprivate com.mojang.brigadier.CommandDispatcher<ServerCommandSource>FunctionLoader.commandDispatcherprivate com.mojang.brigadier.ParseResults<ServerCommandSource>CommandFunction.CommandElement.parsedMethods in net.minecraft.server.function that return ServerCommandSourceMethods in net.minecraft.server.function that return types with arguments of type ServerCommandSourceModifier and TypeMethodDescriptioncom.mojang.brigadier.CommandDispatcher<ServerCommandSource>CommandFunctionManager.getDispatcher()Methods in net.minecraft.server.function with parameters of type ServerCommandSourceModifier and TypeMethodDescriptionstatic CommandFunctionCommandFunction.create(Identifier id, com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, ServerCommandSource source, List<String> lines)Parses a function in the context ofsource.private intCommandFunction.CommandElement.execute(CommandFunctionManager manager, ServerCommandSource source)voidCommandFunction.CommandElement.execute(CommandFunctionManager manager, ServerCommandSource source, Deque<CommandFunctionManager.Entry> entries, int maxChainLength, int depth, CommandFunctionManager.Tracer tracer)voidCommandFunction.Element.execute(CommandFunctionManager manager, ServerCommandSource source, Deque<CommandFunctionManager.Entry> entries, int maxChainLength, int depth, CommandFunctionManager.Tracer tracer)voidCommandFunction.FunctionElement.execute(CommandFunctionManager manager, ServerCommandSource source, Deque<CommandFunctionManager.Entry> entries, int maxChainLength, int depth, CommandFunctionManager.Tracer tracer)intCommandFunctionManager.execute(CommandFunction function, ServerCommandSource source)intCommandFunctionManager.execute(CommandFunction function, ServerCommandSource source, @Nullable CommandFunctionManager.Tracer tracer)(package private) voidCommandFunctionManager.class_6345.method_36343(CommandFunction function, ServerCommandSource source)(package private) intCommandFunctionManager.class_6345.method_36346(CommandFunction function, ServerCommandSource source)Method parameters in net.minecraft.server.function with type arguments of type ServerCommandSourceModifier and TypeMethodDescriptionstatic CommandFunctionCommandFunction.create(Identifier id, com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, ServerCommandSource source, List<String> lines)Parses a function in the context ofsource.Constructors in net.minecraft.server.function with parameters of type ServerCommandSourceModifierConstructorDescriptionEntry(ServerCommandSource source, int depth, CommandFunction.Element element)Constructor parameters in net.minecraft.server.function with type arguments of type ServerCommandSourceModifierConstructorDescriptionCommandElement(com.mojang.brigadier.ParseResults<ServerCommandSource> parsed)FunctionLoader(int level, com.mojang.brigadier.CommandDispatcher<ServerCommandSource> commandDispatcher) -
Uses of ServerCommandSource in net.minecraft.server.rcon
Methods in net.minecraft.server.rcon that return ServerCommandSource -
Uses of ServerCommandSource in net.minecraft.text
Methods in net.minecraft.text with parameters of type ServerCommandSourceModifier and TypeMethodDescriptionprivate StringScoreText.getPlayerName(ServerCommandSource source)private StringScoreText.getScore(String playerName, ServerCommandSource source)NbtText.parse(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth)ParsableText.parse(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth)ScoreText.parse(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth)SelectorText.parse(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth)static Optional<MutableText>Texts.parse(@Nullable ServerCommandSource source, Optional<Text> text, @Nullable Entity sender, int depth)static MutableTextTranslatableText.parse(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth)private static StyleTexts.parseStyle(@Nullable ServerCommandSource source, Style style, @Nullable Entity sender, int depth)protected Stream<NbtCompound>NbtText.BlockNbtText.toNbt(ServerCommandSource source)protected Stream<NbtCompound>NbtText.EntityNbtText.toNbt(ServerCommandSource source)protected Stream<NbtCompound>NbtText.StorageNbtText.toNbt(ServerCommandSource source)protected abstract Stream<NbtCompound>NbtText.toNbt(ServerCommandSource source) -
Uses of ServerCommandSource in net.minecraft.world
Methods in net.minecraft.world that return ServerCommandSourceMethods in net.minecraft.world that return types with arguments of type ServerCommandSourceModifier and TypeMethodDescriptioncom.mojang.brigadier.builder.RequiredArgumentBuilder<ServerCommandSource,?>Method parameters in net.minecraft.world with type arguments of type ServerCommandSourceModifier and TypeMethodDescriptionvoidGameRules.Rule.set(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)protected voidGameRules.BooleanRule.setFromArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)protected voidGameRules.IntRule.setFromArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)protected abstract voidGameRules.Rule.setFromArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)