Uses of Class
net.minecraft.command.CommandSource
-
-
Uses of CommandSource in net.minecraft.advancements
Fields in net.minecraft.advancements declared as CommandSource Modifier and Type Field Description private CommandSource
FunctionManager.QueuedCommand. sender
Methods in net.minecraft.advancements that return CommandSource Modifier and Type Method Description CommandSource
FunctionManager. getGameLoopSender()
Methods in net.minecraft.advancements that return types with arguments of type CommandSource Modifier and Type Method Description com.mojang.brigadier.CommandDispatcher<CommandSource>
FunctionManager. getDispatcher()
Methods in net.minecraft.advancements with parameters of type CommandSource Modifier and Type Method Description int
FunctionManager. execute(FunctionObject p_195447_1_, CommandSource p_195447_2_)
Constructors in net.minecraft.advancements with parameters of type CommandSource Constructor Description QueuedCommand(FunctionManager p_i48018_1_, CommandSource p_i48018_2_, FunctionObject.IEntry p_i48018_3_)
-
Uses of CommandSource in net.minecraft.command
Fields in net.minecraft.command with type parameters of type CommandSource Modifier and Type Field Description private com.mojang.brigadier.ResultConsumer<CommandSource>
CommandSource. consumer
private com.mojang.brigadier.CommandDispatcher<CommandSource>
Commands. dispatcher
private com.mojang.brigadier.ParseResults<CommandSource>
FunctionObject.CommandEntry. parse
Methods in net.minecraft.command that return CommandSource Modifier and Type Method Description CommandSource
CommandSource. facing(Entity p_201006_1_, EntityAnchorArgument.Type p_201006_2_)
CommandSource
CommandSource. facing(Vector3d p_201005_1_)
CommandSource
CommandSource. withAnchor(EntityAnchorArgument.Type p_201010_1_)
CommandSource
CommandSource. withCallback(com.mojang.brigadier.ResultConsumer<CommandSource> p_197029_1_)
CommandSource
CommandSource. withCallback(com.mojang.brigadier.ResultConsumer<CommandSource> p_209550_1_, java.util.function.BinaryOperator<com.mojang.brigadier.ResultConsumer<CommandSource>> p_209550_2_)
CommandSource
CommandSource. withEntity(Entity p_197024_1_)
CommandSource
CommandSource. withLevel(ServerWorld p_201003_1_)
CommandSource
CommandSource. withMaximumPermission(int p_197026_1_)
CommandSource
CommandSource. withPermission(int p_197033_1_)
CommandSource
CommandSource. withPosition(Vector3d p_201009_1_)
CommandSource
CommandSource. withRotation(Vector2f p_201007_1_)
CommandSource
CommandSource. withSuppressedOutput()
Methods in net.minecraft.command that return types with arguments of type CommandSource Modifier and Type Method Description static <T> com.mojang.brigadier.builder.RequiredArgumentBuilder<CommandSource,T>
Commands. argument(java.lang.String p_197056_0_, com.mojang.brigadier.arguments.ArgumentType<T> p_197056_1_)
com.mojang.brigadier.CommandDispatcher<CommandSource>
Commands. getDispatcher()
static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSource>
Commands. literal(java.lang.String p_197057_0_)
Methods in net.minecraft.command with parameters of type CommandSource Modifier and Type Method Description void
FunctionObject.CommandEntry. execute(FunctionManager p_196998_1_, CommandSource p_196998_2_, java.util.ArrayDeque<FunctionManager.QueuedCommand> p_196998_3_, int p_196998_4_)
void
FunctionObject.FunctionEntry. execute(FunctionManager p_196998_1_, CommandSource p_196998_2_, java.util.ArrayDeque<FunctionManager.QueuedCommand> p_196998_3_, int p_196998_4_)
void
FunctionObject.IEntry. execute(FunctionManager p_196998_1_, CommandSource p_196998_2_, java.util.ArrayDeque<FunctionManager.QueuedCommand> p_196998_3_, int p_196998_4_)
private void
Commands. fillUsableCommands(com.mojang.brigadier.tree.CommandNode<CommandSource> p_197052_1_, com.mojang.brigadier.tree.CommandNode<ISuggestionProvider> p_197052_2_, CommandSource p_197052_3_, java.util.Map<com.mojang.brigadier.tree.CommandNode<CommandSource>,com.mojang.brigadier.tree.CommandNode<ISuggestionProvider>> p_197052_4_)
static FunctionObject
FunctionObject. fromLines(ResourceLocation p_237140_0_, com.mojang.brigadier.CommandDispatcher<CommandSource> p_237140_1_, CommandSource p_237140_2_, java.util.List<java.lang.String> p_237140_3_)
int
Commands. performCommand(CommandSource p_197059_1_, java.lang.String p_197059_2_)
Method parameters in net.minecraft.command with type arguments of type CommandSource Modifier and Type Method Description private void
Commands. fillUsableCommands(com.mojang.brigadier.tree.CommandNode<CommandSource> p_197052_1_, com.mojang.brigadier.tree.CommandNode<ISuggestionProvider> p_197052_2_, CommandSource p_197052_3_, java.util.Map<com.mojang.brigadier.tree.CommandNode<CommandSource>,com.mojang.brigadier.tree.CommandNode<ISuggestionProvider>> p_197052_4_)
private void
Commands. fillUsableCommands(com.mojang.brigadier.tree.CommandNode<CommandSource> p_197052_1_, com.mojang.brigadier.tree.CommandNode<ISuggestionProvider> p_197052_2_, CommandSource p_197052_3_, java.util.Map<com.mojang.brigadier.tree.CommandNode<CommandSource>,com.mojang.brigadier.tree.CommandNode<ISuggestionProvider>> p_197052_4_)
static FunctionObject
FunctionObject. fromLines(ResourceLocation p_237140_0_, com.mojang.brigadier.CommandDispatcher<CommandSource> p_237140_1_, CommandSource p_237140_2_, java.util.List<java.lang.String> p_237140_3_)
void
CommandSource. onCommandComplete(com.mojang.brigadier.context.CommandContext<CommandSource> p_197038_1_, boolean p_197038_2_, int p_197038_3_)
CommandSource
CommandSource. withCallback(com.mojang.brigadier.ResultConsumer<CommandSource> p_197029_1_)
CommandSource
CommandSource. withCallback(com.mojang.brigadier.ResultConsumer<CommandSource> p_209550_1_, java.util.function.BinaryOperator<com.mojang.brigadier.ResultConsumer<CommandSource>> p_209550_2_)
CommandSource
CommandSource. withCallback(com.mojang.brigadier.ResultConsumer<CommandSource> p_209550_1_, java.util.function.BinaryOperator<com.mojang.brigadier.ResultConsumer<CommandSource>> p_209550_2_)
Constructor parameters in net.minecraft.command with type arguments of type CommandSource Constructor Description CommandEntry(com.mojang.brigadier.ParseResults<CommandSource> p_i47816_1_)
CommandSource(ICommandSource p_i49553_1_, Vector3d p_i49553_2_, Vector2f p_i49553_3_, ServerWorld p_i49553_4_, int p_i49553_5_, java.lang.String p_i49553_6_, ITextComponent p_i49553_7_, MinecraftServer p_i49553_8_, Entity p_i49553_9_, boolean p_i49553_10_, com.mojang.brigadier.ResultConsumer<CommandSource> p_i49553_11_, EntityAnchorArgument.Type p_i49553_12_)
-
Uses of CommandSource in net.minecraft.command.arguments
Fields in net.minecraft.command.arguments with type parameters of type CommandSource Modifier and Type Field Description static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
SuggestionProviders. ALL_RECIPES
static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
SuggestionProviders. AVAILABLE_BIOMES
static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
SuggestionProviders. AVAILABLE_SOUNDS
static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
ScoreHolderArgument. SUGGEST_SCORE_HOLDERS
static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
SuggestionProviders. SUMMONABLE_ENTITIES
Methods in net.minecraft.command.arguments with parameters of type CommandSource Modifier and Type Method Description Vector3d
EntityAnchorArgument.Type. apply(CommandSource p_201015_1_)
private void
EntitySelector. checkPermissions(CommandSource p_210324_1_)
java.util.List<? extends Entity>
EntitySelector. findEntities(CommandSource p_197341_1_)
java.util.List<ServerPlayerEntity>
EntitySelector. findPlayers(CommandSource p_197342_1_)
Entity
EntitySelector. findSingleEntity(CommandSource p_197340_1_)
ServerPlayerEntity
EntitySelector. findSinglePlayer(CommandSource p_197347_1_)
float
AngleArgument.Result. getAngle(CommandSource p_242995_1_)
default BlockPos
ILocationArgument. getBlockPos(CommandSource p_197280_1_)
java.util.Collection<com.mojang.authlib.GameProfile>
GameProfileArgument.IProfileProvider. getNames(CommandSource p_getNames_1_)
java.util.Collection<com.mojang.authlib.GameProfile>
GameProfileArgument.ProfileProvider. getNames(CommandSource p_getNames_1_)
java.util.Collection<java.lang.String>
ScoreHolderArgument.INameProvider. getNames(CommandSource p_getNames_1_, java.util.function.Supplier<java.util.Collection<java.lang.String>> p_getNames_2_)
java.util.Collection<java.lang.String>
ScoreHolderArgument.NameProvider. getNames(CommandSource p_getNames_1_, java.util.function.Supplier<java.util.Collection<java.lang.String>> p_getNames_2_)
Vector3d
ILocationArgument. getPosition(CommandSource p_197281_1_)
Vector3d
LocalLocationArgument. getPosition(CommandSource p_197281_1_)
Vector3d
LocationInput. getPosition(CommandSource p_197281_1_)
Vector2f
ILocationArgument. getRotation(CommandSource p_197282_1_)
Vector2f
LocalLocationArgument. getRotation(CommandSource p_197282_1_)
Vector2f
LocationInput. getRotation(CommandSource p_197282_1_)
ITextComponent
MessageArgument.Message. toComponent(CommandSource p_201312_1_, boolean p_201312_2_)
ITextComponent
MessageArgument.Part. toComponent(CommandSource p_197116_1_)
Method parameters in net.minecraft.command.arguments with type arguments of type CommandSource Modifier and Type Method Description java.util.Collection<FunctionObject>
FunctionArgument.IResult. create(com.mojang.brigadier.context.CommandContext<CommandSource> p_223252_1_)
java.util.function.Predicate<ItemStack>
ItemPredicateArgument.IResult. create(com.mojang.brigadier.context.CommandContext<CommandSource> p_create_1_)
static Advancement
ResourceLocationArgument. getAdvancement(com.mojang.brigadier.context.CommandContext<CommandSource> p_197198_0_, java.lang.String p_197198_1_)
static EntityAnchorArgument.Type
EntityAnchorArgument. getAnchor(com.mojang.brigadier.context.CommandContext<CommandSource> p_201023_0_, java.lang.String p_201023_1_)
static float
AngleArgument. getAngle(com.mojang.brigadier.context.CommandContext<CommandSource> p_242992_0_, java.lang.String p_242992_1_)
static Attribute
ResourceLocationArgument. getAttribute(com.mojang.brigadier.context.CommandContext<CommandSource> p_239094_0_, java.lang.String p_239094_1_)
static BlockStateInput
BlockStateArgument. getBlock(com.mojang.brigadier.context.CommandContext<CommandSource> p_197238_0_, java.lang.String p_197238_1_)
static java.util.function.Predicate<CachedBlockInfo>
BlockPredicateArgument. getBlockPredicate(com.mojang.brigadier.context.CommandContext<CommandSource> p_199825_0_, java.lang.String p_199825_1_)
static TextFormatting
ColorArgument. getColor(com.mojang.brigadier.context.CommandContext<CommandSource> p_197064_0_, java.lang.String p_197064_1_)
static ColumnPos
ColumnPosArgument. getColumnPos(com.mojang.brigadier.context.CommandContext<CommandSource> p_218101_0_, java.lang.String p_218101_1_)
static ITextComponent
ComponentArgument. getComponent(com.mojang.brigadier.context.CommandContext<CommandSource> p_197068_0_, java.lang.String p_197068_1_)
static ILocationArgument
Vec3Argument. getCoordinates(com.mojang.brigadier.context.CommandContext<CommandSource> p_200385_0_, java.lang.String p_200385_1_)
static ScoreCriteria
ObjectiveCriteriaArgument. getCriteria(com.mojang.brigadier.context.CommandContext<CommandSource> p_197161_0_, java.lang.String p_197161_1_)
static ServerWorld
DimensionArgument. getDimension(com.mojang.brigadier.context.CommandContext<CommandSource> p_212592_0_, java.lang.String p_212592_1_)
static int
ScoreboardSlotArgument. getDisplaySlot(com.mojang.brigadier.context.CommandContext<CommandSource> p_197217_0_, java.lang.String p_197217_1_)
static Effect
PotionArgument. getEffect(com.mojang.brigadier.context.CommandContext<CommandSource> p_197125_0_, java.lang.String p_197125_1_)
static Enchantment
EnchantmentArgument. getEnchantment(com.mojang.brigadier.context.CommandContext<CommandSource> p_201944_0_, java.lang.String p_201944_1_)
static java.util.Collection<? extends Entity>
EntityArgument. getEntities(com.mojang.brigadier.context.CommandContext<CommandSource> p_197097_0_, java.lang.String p_197097_1_)
static Entity
EntityArgument. getEntity(com.mojang.brigadier.context.CommandContext<CommandSource> p_197088_0_, java.lang.String p_197088_1_)
private static FunctionObject
FunctionArgument. getFunction(com.mojang.brigadier.context.CommandContext<CommandSource> p_218108_0_, ResourceLocation p_218108_1_)
static com.mojang.datafixers.util.Pair<ResourceLocation,com.mojang.datafixers.util.Either<FunctionObject,ITag<FunctionObject>>>
FunctionArgument. getFunctionOrTag(com.mojang.brigadier.context.CommandContext<CommandSource> p_218110_0_, java.lang.String p_218110_1_)
static java.util.Collection<FunctionObject>
FunctionArgument. getFunctions(com.mojang.brigadier.context.CommandContext<CommandSource> p_200022_0_, java.lang.String p_200022_1_)
private static ITag<FunctionObject>
FunctionArgument. getFunctionTag(com.mojang.brigadier.context.CommandContext<CommandSource> p_218111_0_, ResourceLocation p_218111_1_)
static java.util.Collection<com.mojang.authlib.GameProfile>
GameProfileArgument. getGameProfiles(com.mojang.brigadier.context.CommandContext<CommandSource> p_197109_0_, java.lang.String p_197109_1_)
static ResourceLocation
ResourceLocationArgument. getId(com.mojang.brigadier.context.CommandContext<CommandSource> p_197195_0_, java.lang.String p_197195_1_)
static java.util.function.Predicate<ItemStack>
ItemPredicateArgument. getItemPredicate(com.mojang.brigadier.context.CommandContext<CommandSource> p_199847_0_, java.lang.String p_199847_1_)
static BlockPos
BlockPosArgument. getLoadedBlockPos(com.mojang.brigadier.context.CommandContext<CommandSource> p_197273_0_, java.lang.String p_197273_1_)
static ITextComponent
MessageArgument. getMessage(com.mojang.brigadier.context.CommandContext<CommandSource> p_197124_0_, java.lang.String p_197124_1_)
static java.lang.String
ScoreHolderArgument. getName(com.mojang.brigadier.context.CommandContext<CommandSource> p_197211_0_, java.lang.String p_197211_1_)
static java.util.Collection<java.lang.String>
ScoreHolderArgument. getNames(com.mojang.brigadier.context.CommandContext<CommandSource> p_197213_0_, java.lang.String p_197213_1_)
static java.util.Collection<java.lang.String>
ScoreHolderArgument. getNames(com.mojang.brigadier.context.CommandContext<CommandSource> p_197210_0_, java.lang.String p_197210_1_, java.util.function.Supplier<java.util.Collection<java.lang.String>> p_197210_2_)
static java.util.Collection<java.lang.String>
ScoreHolderArgument. getNamesWithDefaultWildcard(com.mojang.brigadier.context.CommandContext<CommandSource> p_211707_0_, java.lang.String p_211707_1_)
static ScoreObjective
ObjectiveArgument. getObjective(com.mojang.brigadier.context.CommandContext<CommandSource> p_197158_0_, java.lang.String p_197158_1_)
static OperationArgument.IOperation
OperationArgument. getOperation(com.mojang.brigadier.context.CommandContext<CommandSource> p_197179_0_, java.lang.String p_197179_1_)
static java.util.Collection<? extends Entity>
EntityArgument. getOptionalEntities(com.mojang.brigadier.context.CommandContext<CommandSource> p_197087_0_, java.lang.String p_197087_1_)
static java.util.Collection<ServerPlayerEntity>
EntityArgument. getOptionalPlayers(com.mojang.brigadier.context.CommandContext<CommandSource> p_201309_0_, java.lang.String p_201309_1_)
static BlockPos
BlockPosArgument. getOrLoadBlockPos(com.mojang.brigadier.context.CommandContext<CommandSource> p_197274_0_, java.lang.String p_197274_1_)
static IParticleData
ParticleArgument. getParticle(com.mojang.brigadier.context.CommandContext<CommandSource> p_197187_0_, java.lang.String p_197187_1_)
static NBTPathArgument.NBTPath
NBTPathArgument. getPath(com.mojang.brigadier.context.CommandContext<CommandSource> p_197148_0_, java.lang.String p_197148_1_)
static ServerPlayerEntity
EntityArgument. getPlayer(com.mojang.brigadier.context.CommandContext<CommandSource> p_197089_0_, java.lang.String p_197089_1_)
static java.util.Collection<ServerPlayerEntity>
EntityArgument. getPlayers(com.mojang.brigadier.context.CommandContext<CommandSource> p_197090_0_, java.lang.String p_197090_1_)
static ILootCondition
ResourceLocationArgument. getPredicate(com.mojang.brigadier.context.CommandContext<CommandSource> p_228259_0_, java.lang.String p_228259_1_)
static MinMaxBounds.IntBound
IRangeArgument.IntRange. getRange(com.mojang.brigadier.context.CommandContext<CommandSource> p_211372_0_, java.lang.String p_211372_1_)
static IRecipe<?>
ResourceLocationArgument. getRecipe(com.mojang.brigadier.context.CommandContext<CommandSource> p_197194_0_, java.lang.String p_197194_1_)
static ILocationArgument
RotationArgument. getRotation(com.mojang.brigadier.context.CommandContext<CommandSource> p_200384_0_, java.lang.String p_200384_1_)
static int
SlotArgument. getSlot(com.mojang.brigadier.context.CommandContext<CommandSource> p_197221_0_, java.lang.String p_197221_1_)
static ResourceLocation
EntitySummonArgument. getSummonableEntity(com.mojang.brigadier.context.CommandContext<CommandSource> p_211368_0_, java.lang.String p_211368_1_)
static java.util.EnumSet<Direction.Axis>
SwizzleArgument. getSwizzle(com.mojang.brigadier.context.CommandContext<CommandSource> p_197291_0_, java.lang.String p_197291_1_)
static ScorePlayerTeam
TeamArgument. getTeam(com.mojang.brigadier.context.CommandContext<CommandSource> p_197228_0_, java.lang.String p_197228_1_)
static java.util.UUID
UUIDArgument. getUuid(com.mojang.brigadier.context.CommandContext<CommandSource> p_239195_0_, java.lang.String p_239195_1_)
static Vector2f
Vec2Argument. getVec2(com.mojang.brigadier.context.CommandContext<CommandSource> p_197295_0_, java.lang.String p_197295_1_)
static Vector3d
Vec3Argument. getVec3(com.mojang.brigadier.context.CommandContext<CommandSource> p_197300_0_, java.lang.String p_197300_1_)
static ScoreObjective
ObjectiveArgument. getWritableObjective(com.mojang.brigadier.context.CommandContext<CommandSource> p_197156_0_, java.lang.String p_197156_1_)
com.mojang.datafixers.util.Pair<ResourceLocation,com.mojang.datafixers.util.Either<FunctionObject,ITag<FunctionObject>>>
FunctionArgument.IResult. unwrap(com.mojang.brigadier.context.CommandContext<CommandSource> p_218102_1_)
-
Uses of CommandSource in net.minecraft.command.impl
Fields in net.minecraft.command.impl with type parameters of type CommandSource Modifier and Type Field Description private static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
AttributeCommand. AVAILABLE_ATTRIBUTES
private static java.util.function.BinaryOperator<com.mojang.brigadier.ResultConsumer<CommandSource>>
ExecuteCommand. CALLBACK_CHAINER
private static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
DataPackCommand. SELECTED_PACKS
private static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
AdvancementCommand. SUGGEST_ADVANCEMENTS
static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
BossBarCommand. SUGGEST_BOSS_BAR
static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
FunctionCommand. SUGGEST_FUNCTION
static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
LootCommand. SUGGEST_LOOT_TABLE
private static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
ExecuteCommand. SUGGEST_PREDICATE
private static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
ScheduleCommand. SUGGEST_SCHEDULE
private static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
DataPackCommand. UNSELECTED_PACKS
Methods in net.minecraft.command.impl with type parameters of type CommandSource Modifier and Type Method Description private static <T extends com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,T>>
TLootCommand. addTargets(T p_218868_0_, LootCommand.ISourceArgumentBuilder p_218868_1_)
Methods in net.minecraft.command.impl that return CommandSource Modifier and Type Method Description private static CommandSource
ExecuteCommand. storeData(CommandSource p_198397_0_, IDataAccessor p_198397_1_, NBTPathArgument.NBTPath p_198397_2_, java.util.function.IntFunction<INBT> p_198397_3_, boolean p_198397_4_)
private static CommandSource
ExecuteCommand. storeValue(CommandSource p_209930_0_, java.util.Collection<java.lang.String> p_209930_1_, ScoreObjective p_209930_2_, boolean p_209930_3_)
private static CommandSource
ExecuteCommand. storeValue(CommandSource p_209952_0_, CustomServerBossInfo p_209952_1_, boolean p_209952_2_, boolean p_209952_3_)
Methods in net.minecraft.command.impl that return types with arguments of type CommandSource Modifier and Type Method Description private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
ExecuteCommand. addConditional(com.mojang.brigadier.tree.CommandNode<CommandSource> p_210415_0_, com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> p_210415_1_, boolean p_210415_2_, ExecuteCommand.IBooleanTest p_210415_3_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
ExecuteCommand. addConditionals(com.mojang.brigadier.tree.CommandNode<CommandSource> p_198394_0_, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSource> p_198394_1_, boolean p_198394_2_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
ExecuteCommand. addIfBlocksConditional(com.mojang.brigadier.tree.CommandNode<CommandSource> p_212178_0_, com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> p_212178_1_, boolean p_212178_2_, boolean p_212178_3_)
com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
LootCommand.ISourceArgumentBuilder. construct(com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> p_construct_1_, LootCommand.ITargetHandler p_construct_2_)
private static com.mojang.brigadier.Command<CommandSource>
ExecuteCommand. createNumericConditionalHandler(boolean p_218834_0_, ExecuteCommand.INumericTest p_218834_1_)
private static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSource>
ScoreboardCommand. createRenderTypeModify()
private static java.util.Collection<CommandSource>
ExecuteCommand. expect(com.mojang.brigadier.context.CommandContext<CommandSource> p_198411_0_, boolean p_198411_1_, boolean p_198411_2_)
private static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSource>
PlaySoundCommand. source(SoundCategory p_198577_0_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
ExecuteCommand. wrapStores(com.mojang.brigadier.tree.LiteralCommandNode<CommandSource> p_198392_0_, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSource> p_198392_1_, boolean p_198392_2_)
Methods in net.minecraft.command.impl with parameters of type CommandSource Modifier and Type Method Description private static int
ExperienceCommand. addExperience(CommandSource p_198448_0_, java.util.Collection<? extends ServerPlayerEntity> p_198448_1_, int p_198448_2_, ExperienceCommand.Type p_198448_3_)
private static int
AttributeCommand. addModifier(CommandSource p_241010_0_, Entity p_241010_1_, Attribute p_241010_2_, java.util.UUID p_241010_3_, java.lang.String p_241010_4_, double p_241010_5_, AttributeModifier.Operation p_241010_7_)
private static int
ScoreboardCommand. addObjective(CommandSource p_198629_0_, java.lang.String p_198629_1_, ScoreCriteria p_198629_2_, ITextComponent p_198629_3_)
private static int
WhitelistCommand. addPlayers(CommandSource p_198880_0_, java.util.Collection<com.mojang.authlib.GameProfile> p_198880_1_)
private static int
ScoreboardCommand. addScore(CommandSource p_198633_0_, java.util.Collection<java.lang.String> p_198633_1_, ScoreObjective p_198633_2_, int p_198633_3_)
private static int
TagCommand. addTag(CommandSource p_198749_0_, java.util.Collection<? extends Entity> p_198749_1_, java.lang.String p_198749_2_)
static int
TimeCommand. addTime(CommandSource p_198826_0_, int p_198826_1_)
private static int
TriggerCommand. addValue(CommandSource p_201479_0_, Score p_201479_1_, int p_201479_2_)
private static int
BanIpCommand. banIp(CommandSource p_198224_0_, java.lang.String p_198224_1_, ITextComponent p_198224_2_)
private static int
BanIpCommand. banIpOrName(CommandSource p_198223_0_, java.lang.String p_198223_1_, ITextComponent p_198223_2_)
private static int
BanCommand. banPlayers(CommandSource p_198236_0_, java.util.Collection<com.mojang.authlib.GameProfile> p_198236_1_, ITextComponent p_198236_2_)
private static int
LootCommand. blockDistribute(CommandSource p_218900_0_, BlockPos p_218900_1_, java.util.List<ItemStack> p_218900_2_, LootCommand.ISuccessListener p_218900_3_)
private static int
LootCommand. blockReplace(CommandSource p_218894_0_, BlockPos p_218894_1_, int p_218894_2_, int p_218894_3_, java.util.List<ItemStack> p_218894_4_, LootCommand.ISuccessListener p_218894_5_)
private static void
LootCommand. callback(CommandSource p_218875_0_, java.util.List<ItemStack> p_218875_1_)
private static void
LootCommand. callback(CommandSource p_218860_0_, java.util.List<ItemStack> p_218860_1_, ResourceLocation p_218860_2_)
private static int
ForceLoadCommand. changeForceLoad(CommandSource p_212719_0_, ColumnPos p_212719_1_, ColumnPos p_212719_2_, boolean p_212719_3_)
private static boolean
ExecuteCommand. checkCustomPredicate(CommandSource p_229767_0_, ILootCondition p_229767_1_)
private static int
ScoreboardCommand. clearDisplaySlot(CommandSource p_198632_0_, int p_198632_1_)
private static int
EffectCommand. clearEffect(CommandSource p_198355_0_, java.util.Collection<? extends Entity> p_198355_1_, Effect p_198355_2_)
private static int
EffectCommand. clearEffects(CommandSource p_198354_0_, java.util.Collection<? extends Entity> p_198354_1_)
private static int
ClearCommand. clearInventory(CommandSource p_198244_0_, java.util.Collection<ServerPlayerEntity> p_198244_1_, java.util.function.Predicate<ItemStack> p_198244_2_, int p_198244_3_)
private static int
TitleCommand. clearTitle(CommandSource p_198840_0_, java.util.Collection<ServerPlayerEntity> p_198840_1_)
private static int
CloneCommand. clone(CommandSource p_198274_0_, BlockPos p_198274_1_, BlockPos p_198274_2_, BlockPos p_198274_3_, java.util.function.Predicate<CachedBlockInfo> p_198274_4_, CloneCommand.Mode p_198274_5_)
private static int
BossBarCommand. createBar(CommandSource p_201400_0_, ResourceLocation p_201400_1_, ITextComponent p_201400_2_)
private static int
TeamCommand. createTeam(CommandSource p_211916_0_, java.lang.String p_211916_1_)
private static int
TeamCommand. createTeam(CommandSource p_211917_0_, java.lang.String p_211917_1_, ITextComponent p_211917_2_)
private static int
TeamCommand. deleteTeam(CommandSource p_198784_0_, ScorePlayerTeam p_198784_1_)
private static int
DeOpCommand. deopPlayers(CommandSource p_198322_0_, java.util.Collection<com.mojang.authlib.GameProfile> p_198322_1_)
private static int
DataPackCommand. disablePack(CommandSource p_198312_0_, ResourcePackInfo p_198312_1_)
private static int
WhitelistCommand. disableWhitelist(CommandSource p_198885_0_)
private static int
LootCommand. dropInWorld(CommandSource p_218881_0_, Vector3d p_218881_1_, java.util.List<ItemStack> p_218881_2_, LootCommand.ISuccessListener p_218881_3_)
private static int
TeamCommand. emptyTeam(CommandSource p_198788_0_, ScorePlayerTeam p_198788_1_)
private static int
DataPackCommand. enablePack(CommandSource p_198297_0_, ResourcePackInfo p_198297_1_, DataPackCommand.IHandler p_198297_2_)
private static int
ScoreboardCommand. enableTrigger(CommandSource p_198644_0_, java.util.Collection<java.lang.String> p_198644_1_, ScoreObjective p_198644_2_)
private static int
WhitelistCommand. enableWhitelist(CommandSource p_198884_0_)
private static int
EnchantCommand. enchant(CommandSource p_202651_0_, java.util.Collection<? extends Entity> p_202651_1_, Enchantment p_202651_2_, int p_202651_3_)
private static int
FillCommand. fillBlocks(CommandSource p_198463_0_, MutableBoundingBox p_198463_1_, BlockStateInput p_198463_2_, FillCommand.Mode p_198463_3_, java.util.function.Predicate<CachedBlockInfo> p_198463_4_)
private static int
ListCommand. format(CommandSource p_208200_0_, java.util.function.Function<ServerPlayerEntity,ITextComponent> p_208200_1_)
private static int
AttributeCommand. getAttributeBase(CommandSource p_241016_0_, Entity p_241016_1_, Attribute p_241016_2_, double p_241016_3_)
private static int
AttributeCommand. getAttributeModifier(CommandSource p_241009_0_, Entity p_241009_1_, Attribute p_241009_2_, java.util.UUID p_241009_3_, double p_241009_4_)
private static int
AttributeCommand. getAttributeValue(CommandSource p_241007_0_, Entity p_241007_1_, Attribute p_241007_2_, double p_241007_3_)
private static IInventory
LootCommand. getContainer(CommandSource p_218862_0_, BlockPos p_218862_1_)
private static int
BossBarCommand. getMax(CommandSource p_201402_0_, CustomServerBossInfo p_201402_1_)
private static int
BossBarCommand. getPlayers(CommandSource p_201425_0_, CustomServerBossInfo p_201425_1_)
private static int
ScoreboardCommand. getScore(CommandSource p_198634_0_, java.lang.String p_198634_1_, ScoreObjective p_198634_2_)
private static int
WorldBorderCommand. getSize(CommandSource p_198910_0_)
private static ItemStack
LootCommand. getSourceHandItem(CommandSource p_218872_0_, EquipmentSlotType p_218872_1_)
private static int
BossBarCommand. getValue(CommandSource p_201414_0_, CustomServerBossInfo p_201414_1_)
private static int
BossBarCommand. getVisible(CommandSource p_201389_0_, CustomServerBossInfo p_201389_1_)
private static int
EffectCommand. giveEffect(CommandSource p_198360_0_, java.util.Collection<? extends Entity> p_198360_1_, Effect p_198360_2_, java.lang.Integer p_198360_3_, int p_198360_4_, boolean p_198360_5_)
private static int
GiveCommand. giveItem(CommandSource p_198497_0_, ItemInput p_198497_1_, java.util.Collection<ServerPlayerEntity> p_198497_2_, int p_198497_3_)
private static int
RecipeCommand. giveRecipes(CommandSource p_198594_0_, java.util.Collection<ServerPlayerEntity> p_198594_1_, java.util.Collection<IRecipe<?>> p_198594_2_)
private static int
TeamCommand. joinTeam(CommandSource p_198768_0_, ScorePlayerTeam p_198768_1_, java.util.Collection<java.lang.String> p_198768_2_)
private static int
KickCommand. kickPlayers(CommandSource p_198515_0_, java.util.Collection<ServerPlayerEntity> p_198515_1_, ITextComponent p_198515_2_)
private static int
KillCommand. kill(CommandSource p_198519_0_, java.util.Collection<? extends Entity> p_198519_1_)
private static int
TeamCommand. leaveTeam(CommandSource p_198786_0_, java.util.Collection<java.lang.String> p_198786_1_)
private static int
DataPackCommand. listAvailablePacks(CommandSource p_198314_0_)
private static int
BossBarCommand. listBars(CommandSource p_201428_0_)
private static int
DataPackCommand. listEnabledPacks(CommandSource p_198315_0_)
private static int
ForceLoadCommand. listForceLoad(CommandSource p_212721_0_)
private static int
TeamCommand. listMembers(CommandSource p_198782_0_, ScorePlayerTeam p_198782_1_)
private static int
ScoreboardCommand. listObjectives(CommandSource p_198662_0_)
private static int
DataPackCommand. listPacks(CommandSource p_198313_0_)
private static int
ListCommand. listPlayers(CommandSource p_198524_0_)
private static int
ListCommand. listPlayersWithUuids(CommandSource p_208201_0_)
private static int
TagCommand. listTags(CommandSource p_198744_0_, java.util.Collection<? extends Entity> p_198744_1_)
private static int
TeamCommand. listTeams(CommandSource p_198792_0_)
private static int
ScoreboardCommand. listTrackedPlayers(CommandSource p_198661_0_)
private static int
ScoreboardCommand. listTrackedPlayerScores(CommandSource p_198643_0_, java.lang.String p_198643_1_)
private static int
LocateCommand. locate(CommandSource p_241053_0_, Structure<?> p_241053_1_)
private static int
LocateBiomeCommand. locateBiome(CommandSource p_241049_0_, ResourceLocation p_241049_1_)
private static void
GameModeCommand. logGamemodeChange(CommandSource p_208517_0_, ServerPlayerEntity p_208517_1_, GameType p_208517_2_)
private static int
OpCommand. opPlayers(CommandSource p_198542_0_, java.util.Collection<com.mojang.authlib.GameProfile> p_198542_1_)
private static int
PardonCommand. pardonPlayers(CommandSource p_198548_0_, java.util.Collection<com.mojang.authlib.GameProfile> p_198548_1_)
private static int
AdvancementCommand. perform(CommandSource p_198214_0_, java.util.Collection<ServerPlayerEntity> p_198214_1_, AdvancementCommand.Action p_198214_2_, java.util.Collection<Advancement> p_198214_3_)
void
TeleportCommand.Facing. perform(CommandSource p_201124_1_, Entity p_201124_2_)
private static int
AdvancementCommand. performCriterion(CommandSource p_198203_0_, java.util.Collection<ServerPlayerEntity> p_198203_1_, AdvancementCommand.Action p_198203_2_, Advancement p_198203_3_, java.lang.String p_198203_4_)
private static int
ScoreboardCommand. performOperation(CommandSource p_198658_0_, java.util.Collection<java.lang.String> p_198658_1_, ScoreObjective p_198658_2_, OperationArgument.IOperation p_198658_3_, java.util.Collection<java.lang.String> p_198658_4_, ScoreObjective p_198658_5_)
private static void
TeleportCommand. performTeleport(CommandSource p_201127_0_, Entity p_201127_1_, ServerWorld p_201127_2_, double p_201127_3_, double p_201127_5_, double p_201127_7_, java.util.Set<SPlayerPositionLookPacket.Flags> p_201127_9_, float p_201127_10_, float p_201127_11_, TeleportCommand.Facing p_201127_12_)
private static int
PlaySoundCommand. playSound(CommandSource p_198573_0_, java.util.Collection<ServerPlayerEntity> p_198573_1_, ResourceLocation p_198573_2_, SoundCategory p_198573_3_, Vector3d p_198573_4_, float p_198573_5_, float p_198573_6_, float p_198573_7_)
private static int
PublishCommand. publish(CommandSource p_198584_0_, int p_198584_1_)
private static int
ExperienceCommand. queryExperience(CommandSource p_198443_0_, ServerPlayerEntity p_198443_1_, ExperienceCommand.Type p_198443_2_)
private static int
ForceLoadCommand. queryForceLoad(CommandSource p_212713_0_, ColumnPos p_212713_1_)
private static <T extends GameRules.RuleValue<T>>
intGameRuleCommand. queryRule(CommandSource p_223486_0_, GameRules.RuleKey<T> p_223486_1_)
private static int
TimeCommand. queryTime(CommandSource p_198824_0_, int p_198824_1_)
private static int
WhitelistCommand. reload(CommandSource p_198883_0_)
static void
ReloadCommand. reloadPacks(java.util.Collection<java.lang.String> p_241062_0_, CommandSource p_241062_1_)
private static int
ScheduleCommand. remove(CommandSource p_229817_0_, java.lang.String p_229817_1_)
private static int
ForceLoadCommand. removeAll(CommandSource p_212722_0_)
private static int
BossBarCommand. removeBar(CommandSource p_201407_0_, CustomServerBossInfo p_201407_1_)
private static int
AttributeCommand. removeModifier(CommandSource p_241008_0_, Entity p_241008_1_, Attribute p_241008_2_, java.util.UUID p_241008_3_)
private static int
ScoreboardCommand. removeObjective(CommandSource p_198637_0_, ScoreObjective p_198637_1_)
private static int
WhitelistCommand. removePlayers(CommandSource p_198876_0_, java.util.Collection<com.mojang.authlib.GameProfile> p_198876_1_)
private static int
ScoreboardCommand. removeScore(CommandSource p_198651_0_, java.util.Collection<java.lang.String> p_198651_1_, ScoreObjective p_198651_2_, int p_198651_3_)
private static int
TagCommand. removeTag(CommandSource p_198750_0_, java.util.Collection<? extends Entity> p_198750_1_, java.lang.String p_198750_2_)
private static int
DebugCommand. report(CommandSource p_225389_0_)
private static int
ScoreboardCommand. resetScore(CommandSource p_198656_0_, java.util.Collection<java.lang.String> p_198656_1_, ScoreObjective p_198656_2_)
private static int
ScoreboardCommand. resetScores(CommandSource p_198654_0_, java.util.Collection<java.lang.String> p_198654_1_)
private static int
TitleCommand. resetTitle(CommandSource p_198844_0_, java.util.Collection<ServerPlayerEntity> p_198844_1_)
private static int
FunctionCommand. runFunction(CommandSource p_200025_0_, java.util.Collection<FunctionObject> p_200025_1_)
private static int
SaveAllCommand. saveAll(CommandSource p_198614_0_, boolean p_198614_1_)
private static int
ScheduleCommand. schedule(CommandSource p_241063_0_, com.mojang.datafixers.util.Pair<ResourceLocation,com.mojang.datafixers.util.Either<FunctionObject,ITag<FunctionObject>>> p_241063_1_, int p_241063_2_, boolean p_241063_3_)
private static int
MessageCommand. sendMessage(CommandSource p_198538_0_, java.util.Collection<ServerPlayerEntity> p_198538_1_, ITextComponent p_198538_2_)
private static int
TeamMsgCommand. sendMessage(CommandSource p_218917_0_, ITextComponent p_218917_1_)
private static int
ParticleCommand. sendParticles(CommandSource p_198564_0_, IParticleData p_198564_1_, Vector3d p_198564_2_, Vector3d p_198564_3_, float p_198564_4_, int p_198564_5_, boolean p_198564_6_, java.util.Collection<ServerPlayerEntity> p_198564_7_)
private static int
AttributeCommand. setAttributeBase(CommandSource p_241019_0_, Entity p_241019_1_, Attribute p_241019_2_, double p_241019_3_)
private static int
SetBlockCommand. setBlock(CommandSource p_198683_0_, BlockPos p_198683_1_, BlockStateInput p_198683_2_, SetBlockCommand.Mode p_198683_3_, java.util.function.Predicate<CachedBlockInfo> p_198683_4_)
private static int
ReplaceItemCommand. setBlockItem(CommandSource p_198603_0_, BlockPos p_198603_1_, int p_198603_2_, ItemStack p_198603_3_)
private static int
WorldBorderCommand. setCenter(CommandSource p_198896_0_, Vector2f p_198896_1_)
private static int
WeatherCommand. setClear(CommandSource p_198869_0_, int p_198869_1_)
private static int
TeamCommand. setCollision(CommandSource p_198787_0_, ScorePlayerTeam p_198787_1_, Team.CollisionRule p_198787_2_)
private static int
BossBarCommand. setColor(CommandSource p_201415_0_, CustomServerBossInfo p_201415_1_, BossInfo.Color p_201415_2_)
private static int
TeamCommand. setColor(CommandSource p_198757_0_, ScorePlayerTeam p_198757_1_, TextFormatting p_198757_2_)
private static int
WorldBorderCommand. setDamageAmount(CommandSource p_198904_0_, float p_198904_1_)
private static int
WorldBorderCommand. setDamageBuffer(CommandSource p_198898_0_, float p_198898_1_)
private static int
TeamCommand. setDeathMessageVisibility(CommandSource p_198776_0_, ScorePlayerTeam p_198776_1_, Team.Visible p_198776_2_)
static int
DifficultyCommand. setDifficulty(CommandSource p_198345_0_, Difficulty p_198345_1_)
private static int
ScoreboardCommand. setDisplayName(CommandSource p_211749_0_, ScoreObjective p_211749_1_, ITextComponent p_211749_2_)
private static int
TeamCommand. setDisplayName(CommandSource p_211920_0_, ScorePlayerTeam p_211920_1_, ITextComponent p_211920_2_)
private static int
ScoreboardCommand. setDisplaySlot(CommandSource p_198659_0_, int p_198659_1_, ScoreObjective p_198659_2_)
private static int
ReplaceItemCommand. setEntityItem(CommandSource p_198604_0_, java.util.Collection<? extends Entity> p_198604_1_, int p_198604_2_, ItemStack p_198604_3_)
private static int
ExperienceCommand. setExperience(CommandSource p_198438_0_, java.util.Collection<? extends ServerPlayerEntity> p_198438_1_, int p_198438_2_, ExperienceCommand.Type p_198438_3_)
private static int
TeamCommand. setFriendlyFire(CommandSource p_198781_0_, ScorePlayerTeam p_198781_1_, boolean p_198781_2_)
private static int
TeamCommand. setFriendlySight(CommandSource p_198783_0_, ScorePlayerTeam p_198783_1_, boolean p_198783_2_)
private static int
SetIdleTimeoutCommand. setIdleTimeout(CommandSource p_198693_0_, int p_198693_1_)
private static int
BossBarCommand. setMax(CommandSource p_201394_0_, CustomServerBossInfo p_201394_1_, int p_201394_2_)
private static int
DefaultGameModeCommand. setMode(CommandSource p_198341_0_, GameType p_198341_1_)
private static int
BossBarCommand. setName(CommandSource p_201420_0_, CustomServerBossInfo p_201420_1_, ITextComponent p_201420_2_)
private static int
TeamCommand. setNametagVisibility(CommandSource p_198777_0_, ScorePlayerTeam p_198777_1_, Team.Visible p_198777_2_)
private static int
BossBarCommand. setPlayers(CommandSource p_201405_0_, CustomServerBossInfo p_201405_1_, java.util.Collection<ServerPlayerEntity> p_201405_2_)
private static int
TeamCommand. setPrefix(CommandSource p_207515_0_, ScorePlayerTeam p_207515_1_, ITextComponent p_207515_2_)
private static int
WeatherCommand. setRain(CommandSource p_198865_0_, int p_198865_1_)
private static int
ScoreboardCommand. setRenderType(CommandSource p_211910_0_, ScoreObjective p_211910_1_, ScoreCriteria.RenderType p_211910_2_)
private static int
ScoreboardCommand. setScore(CommandSource p_198653_0_, java.util.Collection<java.lang.String> p_198653_1_, ScoreObjective p_198653_2_, int p_198653_3_)
private static int
WorldBorderCommand. setSize(CommandSource p_198895_0_, double p_198895_1_, long p_198895_3_)
private static int
SetWorldSpawnCommand. setSpawn(CommandSource p_198701_0_, BlockPos p_198701_1_, float p_198701_2_)
private static int
SpawnPointCommand. setSpawn(CommandSource p_198696_0_, java.util.Collection<ServerPlayerEntity> p_198696_1_, BlockPos p_198696_2_, float p_198696_3_)
private static int
BossBarCommand. setStyle(CommandSource p_201390_0_, CustomServerBossInfo p_201390_1_, BossInfo.Overlay p_201390_2_)
private static int
TeamCommand. setSuffix(CommandSource p_207517_0_, ScorePlayerTeam p_207517_1_, ITextComponent p_207517_2_)
private static int
WeatherCommand. setThunder(CommandSource p_198863_0_, int p_198863_1_)
static int
TimeCommand. setTime(CommandSource p_198829_0_, int p_198829_1_)
private static int
TitleCommand. setTimes(CommandSource p_198845_0_, java.util.Collection<ServerPlayerEntity> p_198845_1_, int p_198845_2_, int p_198845_3_, int p_198845_4_)
private static int
BossBarCommand. setValue(CommandSource p_201397_0_, CustomServerBossInfo p_201397_1_, int p_201397_2_)
private static int
TriggerCommand. setValue(CommandSource p_201478_0_, Score p_201478_1_, int p_201478_2_)
private static int
BossBarCommand. setVisible(CommandSource p_201410_0_, CustomServerBossInfo p_201410_1_, boolean p_201410_2_)
private static int
WorldBorderCommand. setWarningDistance(CommandSource p_198899_0_, int p_198899_1_)
private static int
WorldBorderCommand. setWarningTime(CommandSource p_198902_0_, int p_198902_1_)
private static int
BanListCommand. showList(CommandSource p_198230_0_, java.util.Collection<? extends BanEntry<?>> p_198230_1_)
private static int
WhitelistCommand. showList(CommandSource p_198886_0_)
static int
LocateCommand. showLocateResult(CommandSource p_241054_0_, java.lang.String p_241054_1_, BlockPos p_241054_2_, BlockPos p_241054_3_, java.lang.String p_241054_4_)
private static int
TitleCommand. showTitle(CommandSource p_198846_0_, java.util.Collection<ServerPlayerEntity> p_198846_1_, ITextComponent p_198846_2_, STitlePacket.Type p_198846_3_)
private static int
TriggerCommand. simpleTrigger(CommandSource p_201477_0_, Score p_201477_1_)
private static int
SummonCommand. spawnEntity(CommandSource p_198737_0_, ResourceLocation p_198737_1_, Vector3d p_198737_2_, CompoundNBT p_198737_3_, boolean p_198737_4_)
private static int
SpectateCommand. spectate(CommandSource p_229829_0_, Entity p_229829_1_, ServerPlayerEntity p_229829_2_)
private static int
SpreadPlayersCommand. spreadPlayers(CommandSource p_241070_0_, Vector2f p_241070_1_, float p_241070_2_, float p_241070_3_, int p_241070_4_, boolean p_241070_5_, java.util.Collection<? extends Entity> p_241070_6_)
private static int
DebugCommand. start(CommandSource p_198335_0_)
private static int
DebugCommand. stop(CommandSource p_198336_0_)
private static int
StopSoundCommand. stopSound(CommandSource p_198733_0_, java.util.Collection<ServerPlayerEntity> p_198733_1_, SoundCategory p_198733_2_, ResourceLocation p_198733_3_)
private static CommandSource
ExecuteCommand. storeData(CommandSource p_198397_0_, IDataAccessor p_198397_1_, NBTPathArgument.NBTPath p_198397_2_, java.util.function.IntFunction<INBT> p_198397_3_, boolean p_198397_4_)
private static CommandSource
ExecuteCommand. storeValue(CommandSource p_209930_0_, java.util.Collection<java.lang.String> p_209930_1_, ScoreObjective p_209930_2_, boolean p_209930_3_)
private static CommandSource
ExecuteCommand. storeValue(CommandSource p_209952_0_, CustomServerBossInfo p_209952_1_, boolean p_209952_2_, boolean p_209952_3_)
static java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
TriggerCommand. suggestObjectives(CommandSource p_198850_0_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_198850_1_)
private static java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
ScoreboardCommand. suggestTriggers(CommandSource p_198641_0_, java.util.Collection<java.lang.String> p_198641_1_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_198641_2_)
private static int
RecipeCommand. takeRecipes(CommandSource p_198590_0_, java.util.Collection<ServerPlayerEntity> p_198590_1_, java.util.Collection<IRecipe<?>> p_198590_2_)
private static int
TeleportCommand. teleportToEntity(CommandSource p_201126_0_, java.util.Collection<? extends Entity> p_201126_1_, Entity p_201126_2_)
private static int
TeleportCommand. teleportToPos(CommandSource p_200559_0_, java.util.Collection<? extends Entity> p_200559_1_, ServerWorld p_200559_2_, ILocationArgument p_200559_3_, ILocationArgument p_200559_4_, TeleportCommand.Facing p_200559_5_)
private static int
PardonIpCommand. unban(CommandSource p_198557_0_, java.lang.String p_198557_1_)
Method parameters in net.minecraft.command.impl with type arguments of type CommandSource Modifier and Type Method Description int
LootCommand.ITargetHandler. accept(com.mojang.brigadier.context.CommandContext<CommandSource> p_accept_1_, java.util.List<ItemStack> p_accept_2_, LootCommand.ISuccessListener p_accept_3_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
ExecuteCommand. addConditional(com.mojang.brigadier.tree.CommandNode<CommandSource> p_210415_0_, com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> p_210415_1_, boolean p_210415_2_, ExecuteCommand.IBooleanTest p_210415_3_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
ExecuteCommand. addConditional(com.mojang.brigadier.tree.CommandNode<CommandSource> p_210415_0_, com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> p_210415_1_, boolean p_210415_2_, ExecuteCommand.IBooleanTest p_210415_3_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
ExecuteCommand. addConditionals(com.mojang.brigadier.tree.CommandNode<CommandSource> p_198394_0_, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSource> p_198394_1_, boolean p_198394_2_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
ExecuteCommand. addConditionals(com.mojang.brigadier.tree.CommandNode<CommandSource> p_198394_0_, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSource> p_198394_1_, boolean p_198394_2_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
ExecuteCommand. addIfBlocksConditional(com.mojang.brigadier.tree.CommandNode<CommandSource> p_212178_0_, com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> p_212178_1_, boolean p_212178_2_, boolean p_212178_3_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
ExecuteCommand. addIfBlocksConditional(com.mojang.brigadier.tree.CommandNode<CommandSource> p_212178_0_, com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> p_212178_1_, boolean p_212178_2_, boolean p_212178_3_)
private static int
ExecuteCommand. checkIfRegions(com.mojang.brigadier.context.CommandContext<CommandSource> p_212175_0_, boolean p_212175_1_)
private static java.util.OptionalInt
ExecuteCommand. checkRegions(com.mojang.brigadier.context.CommandContext<CommandSource> p_212169_0_, boolean p_212169_1_)
private static boolean
ExecuteCommand. checkScore(com.mojang.brigadier.context.CommandContext<CommandSource> p_198371_0_, java.util.function.BiPredicate<java.lang.Integer,java.lang.Integer> p_198371_1_)
private static boolean
ExecuteCommand. checkScore(com.mojang.brigadier.context.CommandContext<CommandSource> p_201115_0_, MinMaxBounds.IntBound p_201115_1_)
private static int
ExecuteCommand. checkUnlessRegions(com.mojang.brigadier.context.CommandContext<CommandSource> p_212173_0_, boolean p_212173_1_)
com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
LootCommand.ISourceArgumentBuilder. construct(com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> p_construct_1_, LootCommand.ITargetHandler p_construct_2_)
private static ITextComponent
MeCommand. createMessage(com.mojang.brigadier.context.CommandContext<CommandSource> p_244711_0_, java.lang.String p_244711_1_)
private static int
LootCommand. drop(com.mojang.brigadier.context.CommandContext<CommandSource> p_218871_0_, ResourceLocation p_218871_1_, LootContext p_218871_2_, LootCommand.ITargetHandler p_218871_3_)
private static int
LootCommand. dropBlockLoot(com.mojang.brigadier.context.CommandContext<CommandSource> p_218879_0_, BlockPos p_218879_1_, ItemStack p_218879_2_, LootCommand.ITargetHandler p_218879_3_)
private static int
LootCommand. dropChestLoot(com.mojang.brigadier.context.CommandContext<CommandSource> p_218887_0_, ResourceLocation p_218887_1_, LootCommand.ITargetHandler p_218887_2_)
private static int
LootCommand. dropFishingLoot(com.mojang.brigadier.context.CommandContext<CommandSource> p_218876_0_, ResourceLocation p_218876_1_, BlockPos p_218876_2_, ItemStack p_218876_3_, LootCommand.ITargetHandler p_218876_4_)
private static int
LootCommand. dropKillLoot(com.mojang.brigadier.context.CommandContext<CommandSource> p_218869_0_, Entity p_218869_1_, LootCommand.ITargetHandler p_218869_2_)
private static java.util.Collection<CommandSource>
ExecuteCommand. expect(com.mojang.brigadier.context.CommandContext<CommandSource> p_198411_0_, boolean p_198411_1_, boolean p_198411_2_)
static CustomServerBossInfo
BossBarCommand. getBossBar(com.mojang.brigadier.context.CommandContext<CommandSource> p_201416_0_)
private static ResourcePackInfo
DataPackCommand. getPack(com.mojang.brigadier.context.CommandContext<CommandSource> p_198303_0_, java.lang.String p_198303_1_, boolean p_198303_2_)
static void
AdvancementCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198199_0_)
static void
AttributeCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_241003_0_)
static void
BanCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198235_0_)
static void
BanIpCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198220_0_)
static void
BanListCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198229_0_)
static void
BossBarCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_201413_0_)
static void
ClearCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198243_0_)
static void
CloneCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198265_0_)
static void
DataPackCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198299_0_)
static void
DebugCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198330_0_)
static void
DefaultGameModeCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198340_0_)
static void
DeOpCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198321_0_)
static void
DifficultyCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198344_0_)
static void
EffectCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198353_0_)
static void
EnchantCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_202649_0_)
static void
ExecuteCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198378_0_)
static void
ExperienceCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198437_0_)
static void
FillCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198465_0_)
static void
ForceLoadCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_212712_0_)
static void
FunctionCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198476_0_)
static void
GameModeCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198482_0_)
static void
GameRuleCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198487_0_)
static void
GiveCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198494_0_)
static void
HelpCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198510_0_)
static void
KickCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198514_0_)
static void
KillCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198518_0_)
static void
ListCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198522_0_)
static void
LocateBiomeCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_241046_0_)
static void
LocateCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198528_0_)
static void
LootCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_218886_0_)
static void
MeCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198364_0_)
static void
MessageCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198537_0_)
static void
OpCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198541_0_)
static void
PardonCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198547_0_)
static void
PardonIpCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198553_0_)
static void
ParticleCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198563_0_)
static void
PlaySoundCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198572_0_)
static void
PublishCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198581_0_)
static void
RecipeCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198589_0_)
static void
ReloadCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198597_0_)
static void
ReplaceItemCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198602_0_)
static void
SaveAllCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198611_0_)
static void
SaveOffCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198617_0_)
static void
SaveOnCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198621_0_)
static void
SayCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198625_0_)
static void
ScheduleCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_218909_0_)
static void
ScoreboardCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198647_0_)
static void
SeedCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_241067_0_, boolean p_241067_1_)
static void
SetBlockCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198684_0_)
static void
SetIdleTimeoutCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198690_0_)
static void
SetWorldSpawnCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198702_0_)
static void
SpawnPointCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198695_0_)
static void
SpectateCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_229826_0_)
static void
SpreadPlayersCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198716_0_)
static void
StopCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198725_0_)
static void
StopSoundCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198730_0_)
static void
SummonCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198736_0_)
static void
TagCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198743_0_)
static void
TeamCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198771_0_)
static void
TeamMsgCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_218915_0_)
static void
TeleportCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198809_0_)
static void
TellRawCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198818_0_)
static void
TimeCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198823_0_)
static void
TitleCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198839_0_)
static void
TriggerCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198852_0_)
static void
WeatherCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198862_0_)
static void
WhitelistCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198873_0_)
static void
WorldBorderCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198894_0_)
private static int
GameModeCommand. setMode(com.mojang.brigadier.context.CommandContext<CommandSource> p_198484_0_, java.util.Collection<ServerPlayerEntity> p_198484_1_, GameType p_198484_2_)
private static <T extends GameRules.RuleValue<T>>
intGameRuleCommand. setRule(com.mojang.brigadier.context.CommandContext<CommandSource> p_223485_0_, GameRules.RuleKey<T> p_223485_1_)
boolean
ExecuteCommand.IBooleanTest. test(com.mojang.brigadier.context.CommandContext<CommandSource> p_test_1_)
int
ExecuteCommand.INumericTest. test(com.mojang.brigadier.context.CommandContext<CommandSource> p_test_1_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
ExecuteCommand. wrapStores(com.mojang.brigadier.tree.LiteralCommandNode<CommandSource> p_198392_0_, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSource> p_198392_1_, boolean p_198392_2_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
ExecuteCommand. wrapStores(com.mojang.brigadier.tree.LiteralCommandNode<CommandSource> p_198392_0_, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSource> p_198392_1_, boolean p_198392_2_)
-
Uses of CommandSource in net.minecraft.command.impl.data
Fields in net.minecraft.command.impl.data with type parameters of type CommandSource Modifier and Type Field Description private static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
StorageAccessor. SUGGEST_STORAGE
Methods in net.minecraft.command.impl.data that return types with arguments of type CommandSource Modifier and Type Method Description com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
DataCommand.IModificationSourceArgumentBuilder. create(DataCommand.IModificationType p_create_1_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
DataCommand. decorateModification(java.util.function.BiConsumer<com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>,DataCommand.IModificationSourceArgumentBuilder> p_218935_0_)
com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
DataCommand.IDataProvider. wrap(com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> p_198920_1_, java.util.function.Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>,com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>> p_198920_2_)
Methods in net.minecraft.command.impl.data with parameters of type CommandSource Modifier and Type Method Description private static int
DataCommand. getData(CommandSource p_198947_0_, IDataAccessor p_198947_1_)
private static int
DataCommand. getData(CommandSource p_201228_0_, IDataAccessor p_201228_1_, NBTPathArgument.NBTPath p_201228_2_)
private static int
DataCommand. getNumeric(CommandSource p_198938_0_, IDataAccessor p_198938_1_, NBTPathArgument.NBTPath p_198938_2_, double p_198938_3_)
private static int
DataCommand. mergeData(CommandSource p_198946_0_, IDataAccessor p_198946_1_, CompoundNBT p_198946_2_)
private static int
DataCommand. removeData(CommandSource p_198942_0_, IDataAccessor p_198942_1_, NBTPathArgument.NBTPath p_198942_2_)
Method parameters in net.minecraft.command.impl.data with type arguments of type CommandSource Modifier and Type Method Description IDataAccessor
DataCommand.IDataProvider. access(com.mojang.brigadier.context.CommandContext<CommandSource> p_198919_1_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
DataCommand. decorateModification(java.util.function.BiConsumer<com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>,DataCommand.IModificationSourceArgumentBuilder> p_218935_0_)
private static CommandStorage
StorageAccessor. getGlobalTags(com.mojang.brigadier.context.CommandContext<CommandSource> p_229840_0_)
private static int
DataCommand. manipulateData(com.mojang.brigadier.context.CommandContext<CommandSource> p_218933_0_, DataCommand.IDataProvider p_218933_1_, DataCommand.IModificationType p_218933_2_, java.util.List<INBT> p_218933_3_)
int
DataCommand.IModificationType. modify(com.mojang.brigadier.context.CommandContext<CommandSource> p_modify_1_, CompoundNBT p_modify_2_, NBTPathArgument.NBTPath p_modify_3_, java.util.List<INBT> p_modify_4_)
static void
DataCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198937_0_)
com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
DataCommand.IDataProvider. wrap(com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> p_198920_1_, java.util.function.Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>,com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>> p_198920_2_)
com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
DataCommand.IDataProvider. wrap(com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> p_198920_1_, java.util.function.Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>,com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>> p_198920_2_)
com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
DataCommand.IDataProvider. wrap(com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> p_198920_1_, java.util.function.Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>,com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>> p_198920_2_)
-
Uses of CommandSource in net.minecraft.entity
Methods in net.minecraft.entity that return CommandSource Modifier and Type Method Description CommandSource
Entity. createCommandSourceStack()
-
Uses of CommandSource in net.minecraft.entity.item.minecart
Methods in net.minecraft.entity.item.minecart that return CommandSource Modifier and Type Method Description CommandSource
CommandBlockMinecartEntity.MinecartCommandLogic. createCommandSourceStack()
-
Uses of CommandSource in net.minecraft.item
Methods in net.minecraft.item with parameters of type CommandSource Modifier and Type Method Description static boolean
WrittenBookItem. resolveBookComponents(ItemStack p_220050_0_, CommandSource p_220050_1_, PlayerEntity p_220050_2_)
-
Uses of CommandSource in net.minecraft.network.rcon
Methods in net.minecraft.network.rcon that return CommandSource Modifier and Type Method Description CommandSource
RConConsoleSource. createCommandSourceStack()
-
Uses of CommandSource in net.minecraft.resources
Fields in net.minecraft.resources with type parameters of type CommandSource Modifier and Type Field Description private com.mojang.brigadier.CommandDispatcher<CommandSource>
FunctionReloader. dispatcher
Constructor parameters in net.minecraft.resources with type arguments of type CommandSource Constructor Description FunctionReloader(int p_i232596_1_, com.mojang.brigadier.CommandDispatcher<CommandSource> p_i232596_2_)
-
Uses of CommandSource in net.minecraft.server
Methods in net.minecraft.server that return CommandSource Modifier and Type Method Description CommandSource
MinecraftServer. createCommandSourceStack()
Methods in net.minecraft.server with parameters of type CommandSource Modifier and Type Method Description void
MinecraftServer. kickUnlistedPlayers(CommandSource p_205743_1_)
-
Uses of CommandSource in net.minecraft.server.dedicated
Fields in net.minecraft.server.dedicated declared as CommandSource Modifier and Type Field Description CommandSource
PendingCommand. source
Methods in net.minecraft.server.dedicated with parameters of type CommandSource Modifier and Type Method Description void
DedicatedServer. handleConsoleInput(java.lang.String p_195581_1_, CommandSource p_195581_2_)
Constructors in net.minecraft.server.dedicated with parameters of type CommandSource Constructor Description PendingCommand(java.lang.String p_i48147_1_, CommandSource p_i48147_2_)
-
Uses of CommandSource in net.minecraft.test
Methods in net.minecraft.test with parameters of type CommandSource Modifier and Type Method Description private static int
TestCommand. clearAllTests(CommandSource p_229616_0_, int p_229616_1_)
private static int
TestCommand. createNewStructure(CommandSource p_229618_0_, java.lang.String p_229618_1_, int p_229618_2_, int p_229618_3_, int p_229618_4_)
private static int
TestCommand. exportNearestTestStructure(CommandSource p_240581_0_)
private static int
TestCommand. exportTestStructure(CommandSource p_229636_0_, java.lang.String p_229636_1_)
private static int
TestCommand. importTestStructure(CommandSource p_229638_0_, java.lang.String p_229638_1_)
private static int
TestCommand. runAllNearbyTests(CommandSource p_229629_0_)
private static int
TestCommand. runAllTests(CommandSource p_229633_0_, int p_229633_1_, int p_229633_2_)
private static int
TestCommand. runAllTestsInClass(CommandSource p_229630_0_, java.lang.String p_229630_1_, int p_229630_2_, int p_229630_3_)
private static int
TestCommand. runLastFailedTests(CommandSource p_240574_0_, boolean p_240574_1_, int p_240574_2_, int p_240574_3_)
private static int
TestCommand. runNearbyTest(CommandSource p_229615_0_)
private static int
TestCommand. runTest(CommandSource p_229620_0_, TestFunctionInfo p_229620_1_, int p_229620_2_)
private static void
TestCommand. runTests(CommandSource p_229619_0_, java.util.Collection<TestFunctionInfo> p_229619_1_, int p_229619_2_, int p_229619_3_)
private static void
TestCommand. say(CommandSource p_229634_0_, java.lang.String p_229634_1_)
private static int
TestCommand. showPos(CommandSource p_229617_0_, java.lang.String p_229617_1_)
Method parameters in net.minecraft.test with type arguments of type CommandSource Modifier and Type Method Description static java.lang.String
TestTypeArgument. getTestClassName(com.mojang.brigadier.context.CommandContext<CommandSource> p_229612_0_, java.lang.String p_229612_1_)
static TestFunctionInfo
TestArgArgument. getTestFunction(com.mojang.brigadier.context.CommandContext<CommandSource> p_229666_0_, java.lang.String p_229666_1_)
static void
TestCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_229613_0_)
-
Uses of CommandSource in net.minecraft.tileentity
Methods in net.minecraft.tileentity that return CommandSource Modifier and Type Method Description abstract CommandSource
CommandBlockLogic. createCommandSourceStack()
private CommandSource
LecternTileEntity. createCommandSourceStack(PlayerEntity p_214039_1_)
CommandSource
SignTileEntity. createCommandSourceStack(ServerPlayerEntity p_195539_1_)
-
Uses of CommandSource in net.minecraft.util.text
Methods in net.minecraft.util.text with parameters of type CommandSource Modifier and Type Method Description private java.lang.String
ScoreTextComponent. findTargetName(CommandSource p_240705_1_)
protected java.util.stream.Stream<CompoundNBT>
NBTTextComponent.Block. getData(CommandSource p_218673_1_)
protected java.util.stream.Stream<CompoundNBT>
NBTTextComponent.Entity. getData(CommandSource p_218673_1_)
protected abstract java.util.stream.Stream<CompoundNBT>
NBTTextComponent. getData(CommandSource p_218673_1_)
protected java.util.stream.Stream<CompoundNBT>
NBTTextComponent.Storage. getData(CommandSource p_218673_1_)
private java.lang.String
ScoreTextComponent. getScore(java.lang.String p_240706_1_, CommandSource p_240706_2_)
IFormattableTextComponent
ITargetedTextComponent. resolve(CommandSource p_230535_1_, Entity p_230535_2_, int p_230535_3_)
IFormattableTextComponent
NBTTextComponent. resolve(CommandSource p_230535_1_, Entity p_230535_2_, int p_230535_3_)
IFormattableTextComponent
ScoreTextComponent. resolve(CommandSource p_230535_1_, Entity p_230535_2_, int p_230535_3_)
IFormattableTextComponent
SelectorTextComponent. resolve(CommandSource p_230535_1_, Entity p_230535_2_, int p_230535_3_)
IFormattableTextComponent
TranslationTextComponent. resolve(CommandSource p_230535_1_, Entity p_230535_2_, int p_230535_3_)
private static Style
TextComponentUtils. resolveStyle(CommandSource p_240646_0_, Style p_240646_1_, Entity p_240646_2_, int p_240646_3_)
static IFormattableTextComponent
TextComponentUtils. updateForEntity(CommandSource p_240645_0_, ITextComponent p_240645_1_, Entity p_240645_2_, int p_240645_3_)
-
Uses of CommandSource in net.minecraft.world
Methods in net.minecraft.world that return types with arguments of type CommandSource Modifier and Type Method Description com.mojang.brigadier.builder.RequiredArgumentBuilder<CommandSource,?>
GameRules.RuleType. createArgument(java.lang.String p_223581_1_)
Method parameters in net.minecraft.world with type arguments of type CommandSource Modifier and Type Method Description void
GameRules.RuleValue. setFromArgument(com.mojang.brigadier.context.CommandContext<CommandSource> p_223554_1_, java.lang.String p_223554_2_)
protected void
GameRules.BooleanValue. updateFromArgument(com.mojang.brigadier.context.CommandContext<CommandSource> p_223555_1_, java.lang.String p_223555_2_)
protected void
GameRules.IntegerValue. updateFromArgument(com.mojang.brigadier.context.CommandContext<CommandSource> p_223555_1_, java.lang.String p_223555_2_)
protected abstract void
GameRules.RuleValue. updateFromArgument(com.mojang.brigadier.context.CommandContext<CommandSource> p_223555_1_, java.lang.String p_223555_2_)
-
Uses of CommandSource in net.minecraftforge.event
Fields in net.minecraftforge.event with type parameters of type CommandSource Modifier and Type Field Description private com.mojang.brigadier.CommandDispatcher<CommandSource>
RegisterCommandsEvent. dispatcher
private com.mojang.brigadier.ParseResults<CommandSource>
CommandEvent. parse
Methods in net.minecraftforge.event that return types with arguments of type CommandSource Modifier and Type Method Description com.mojang.brigadier.CommandDispatcher<CommandSource>
RegisterCommandsEvent. getDispatcher()
com.mojang.brigadier.ParseResults<CommandSource>
CommandEvent. getParseResults()
Method parameters in net.minecraftforge.event with type arguments of type CommandSource Modifier and Type Method Description static void
ForgeEventFactory. onCommandRegister(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher, Commands.EnvironmentType environment)
void
CommandEvent. setParseResults(com.mojang.brigadier.ParseResults<CommandSource> parse)
Constructor parameters in net.minecraftforge.event with type arguments of type CommandSource Constructor Description CommandEvent(com.mojang.brigadier.ParseResults<CommandSource> parse)
RegisterCommandsEvent(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher, Commands.EnvironmentType environment)
-
Uses of CommandSource in net.minecraftforge.server.command
Fields in net.minecraftforge.server.command declared as CommandSource Modifier and Type Field Description private CommandSource
ChunkGenWorker. listener
Methods in net.minecraftforge.server.command that return types with arguments of type CommandSource Modifier and Type Method Description (package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
CommandDimensions. register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
CommandEntity.EntityListCommand. register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
CommandEntity. register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
CommandGenerate. register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
CommandModList. register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
CommandSetDimension. register()
Deprecated.(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
CommandTps. register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
CommandTrack. register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
CommandTrack.ResetTrackingCommand. register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
CommandTrack.StartTrackingCommand. register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
CommandTrack.TrackResultsEntity. register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
CommandTrack.TrackResultsTileEntity. register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
ConfigCommand.ShowFile. register()
Methods in net.minecraftforge.server.command with parameters of type CommandSource Modifier and Type Method Description private static int
CommandEntity.EntityListCommand. execute(CommandSource sender, java.lang.String filter, RegistryKey<World> dim)
private static int
CommandGenerate. execute(CommandSource source, BlockPos pos, int count, ServerWorld dim, int interval)
private static <T> int
CommandTrack.TrackResults. execute(CommandSource source, TimeTracker<T> tracker, java.util.function.Function<ForgeTimings<T>,ITextComponent> toString)
TextComponent
ChunkGenWorker. getStartMessage(CommandSource sender)
private static int
CommandTps. sendTime(CommandSource cs, ServerWorld dim)
Method parameters in net.minecraftforge.server.command with type arguments of type CommandSource Modifier and Type Method Description private static int
CommandSetDimension. execute(com.mojang.brigadier.context.CommandContext<CommandSource> ctx, java.util.Collection<? extends Entity> entities, ServerWorld dim, BlockPos pos)
Deprecated.private static int
CommandGenerate. getInt(com.mojang.brigadier.context.CommandContext<CommandSource> ctx, java.lang.String name)
static void
ConfigCommand. register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher)
private static int
ConfigCommand.ShowFile. showFile(com.mojang.brigadier.context.CommandContext<CommandSource> context)
Constructors in net.minecraftforge.server.command with parameters of type CommandSource Constructor Description ChunkGenWorker(CommandSource listener, BlockPos start, int total, ServerWorld dim, int interval)
Constructor parameters in net.minecraftforge.server.command with type arguments of type CommandSource Constructor Description ForgeCommand(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher)
-