Uses of Class
net.minecraft.commands.CommandSourceStack
Package
Description
-
Uses of CommandSourceStack in net.minecraft.commands
Modifier and TypeFieldDescriptionprivate final com.mojang.brigadier.ResultConsumer<CommandSourceStack>
CommandSourceStack.consumer
private final com.mojang.brigadier.CommandDispatcher<CommandSourceStack>
Commands.dispatcher
private final com.mojang.brigadier.ParseResults<CommandSourceStack>
CommandFunction.CommandEntry.parse
Modifier and TypeMethodDescriptionCommandSourceStack.facing
(Entity p_81332_, EntityAnchorArgument.Anchor p_81333_) CommandSourceStack.withAnchor
(EntityAnchorArgument.Anchor p_81351_) CommandSourceStack.withCallback
(com.mojang.brigadier.ResultConsumer<CommandSourceStack> p_81335_) CommandSourceStack.withCallback
(com.mojang.brigadier.ResultConsumer<CommandSourceStack> p_81337_, BinaryOperator<com.mojang.brigadier.ResultConsumer<CommandSourceStack>> p_81338_) CommandSourceStack.withEntity
(Entity p_81330_) CommandSourceStack.withLevel
(ServerLevel p_81328_) CommandSourceStack.withMaximumPermission
(int p_81359_) CommandSourceStack.withPermission
(int p_81326_) CommandSourceStack.withPosition
(Vec3 p_81349_) CommandSourceStack.withRotation
(Vec2 p_81347_) CommandSourceStack.withSource
(CommandSource p_165485_) CommandSourceStack.withSuppressedOutput()
Modifier and TypeMethodDescriptionstatic <T> com.mojang.brigadier.builder.RequiredArgumentBuilder<CommandSourceStack,
T> com.mojang.brigadier.CommandDispatcher<CommandSourceStack>
Commands.getDispatcher()
static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack>
Modifier and TypeMethodDescriptionprivate int
CommandFunction.CommandEntry.execute
(ServerFunctionManager p_164876_, CommandSourceStack p_164877_) void
CommandFunction.CommandEntry.execute
(ServerFunctionManager p_164879_, CommandSourceStack p_164880_, Deque<ServerFunctionManager.QueuedCommand> p_164881_, int p_164882_, int p_164883_, ServerFunctionManager.TraceCallbacks p_164884_) void
CommandFunction.Entry.execute
(ServerFunctionManager p_164885_, CommandSourceStack p_164886_, Deque<ServerFunctionManager.QueuedCommand> p_164887_, int p_164888_, int p_164889_, ServerFunctionManager.TraceCallbacks p_164890_) void
CommandFunction.FunctionEntry.execute
(ServerFunctionManager p_164902_, CommandSourceStack p_164903_, Deque<ServerFunctionManager.QueuedCommand> p_164904_, int p_164905_, int p_164906_, ServerFunctionManager.TraceCallbacks p_164907_) private void
Commands.fillUsableCommands
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> p_82113_, com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider> p_82114_, CommandSourceStack p_82115_, Map<com.mojang.brigadier.tree.CommandNode<CommandSourceStack>, com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider>> p_82116_) static CommandFunction
CommandFunction.fromLines
(ResourceLocation p_77985_, com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_77986_, CommandSourceStack p_77987_, List<String> p_77988_) int
Commands.performCommand
(CommandSourceStack p_82118_, String p_82119_) Modifier and TypeMethodDescriptionprivate void
Commands.fillUsableCommands
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> p_82113_, com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider> p_82114_, CommandSourceStack p_82115_, Map<com.mojang.brigadier.tree.CommandNode<CommandSourceStack>, com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider>> p_82116_) private void
Commands.fillUsableCommands
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> p_82113_, com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider> p_82114_, CommandSourceStack p_82115_, Map<com.mojang.brigadier.tree.CommandNode<CommandSourceStack>, com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider>> p_82116_) static CommandFunction
CommandFunction.fromLines
(ResourceLocation p_77985_, com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_77986_, CommandSourceStack p_77987_, List<String> p_77988_) void
CommandSourceStack.onCommandComplete
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_81343_, boolean p_81344_, int p_81345_) CommandSourceStack.withCallback
(com.mojang.brigadier.ResultConsumer<CommandSourceStack> p_81335_) CommandSourceStack.withCallback
(com.mojang.brigadier.ResultConsumer<CommandSourceStack> p_81337_, BinaryOperator<com.mojang.brigadier.ResultConsumer<CommandSourceStack>> p_81338_) CommandSourceStack.withCallback
(com.mojang.brigadier.ResultConsumer<CommandSourceStack> p_81337_, BinaryOperator<com.mojang.brigadier.ResultConsumer<CommandSourceStack>> p_81338_) ModifierConstructorDescriptionCommandEntry
(com.mojang.brigadier.ParseResults<CommandSourceStack> p_78006_) protected
CommandSourceStack
(CommandSource p_81312_, Vec3 p_81313_, Vec2 p_81314_, ServerLevel p_81315_, int p_81316_, String p_81317_, Component p_81318_, MinecraftServer p_81319_, Entity p_81320_, boolean p_81321_, com.mojang.brigadier.ResultConsumer<CommandSourceStack> p_81322_, EntityAnchorArgument.Anchor p_81323_) -
Uses of CommandSourceStack in net.minecraft.commands.arguments
Modifier and TypeFieldDescriptionstatic final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
ScoreHolderArgument.SUGGEST_SCORE_HOLDERS
Modifier and TypeMethodDescriptionEntityAnchorArgument.Anchor.apply
(CommandSourceStack p_90380_) float
AngleArgument.SingleAngle.getAngle
(CommandSourceStack p_83826_) Collection<com.mojang.authlib.GameProfile>
GameProfileArgument.Result.getNames
(CommandSourceStack p_94602_) Collection<com.mojang.authlib.GameProfile>
GameProfileArgument.SelectorResult.getNames
(CommandSourceStack p_94607_) ScoreHolderArgument.Result.getNames
(CommandSourceStack p_108252_, Supplier<Collection<String>> p_108253_) ScoreHolderArgument.SelectorResult.getNames
(CommandSourceStack p_108258_, Supplier<Collection<String>> p_108259_) MessageArgument.Message.toComponent
(CommandSourceStack p_96850_, boolean p_96851_) MessageArgument.Part.toComponent
(CommandSourceStack p_96861_) Modifier and TypeMethodDescriptionstatic Advancement
ResourceLocationArgument.getAdvancement
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_106988_, String p_106989_) static EntityAnchorArgument.Anchor
EntityAnchorArgument.getAnchor
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_90354_, String p_90355_) static float
AngleArgument.getAngle
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_83811_, String p_83812_) static Attribute
ResourceKeyArgument.getAttribute
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_212371_, String p_212372_) ResourceOrTagLocationArgument.getBiome
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_210953_, String p_210954_) static ChatFormatting
ColorArgument.getColor
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_85467_, String p_85468_) static Component
ComponentArgument.getComponent
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_87118_, String p_87119_) static Holder<ConfiguredFeature<?,
?>> ResourceKeyArgument.getConfiguredFeature
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_212389_, String p_212390_) static ObjectiveCriteria
ObjectiveCriteriaArgument.getCriteria
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_102566_, String p_102567_) static ServerLevel
DimensionArgument.getDimension
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_88809_, String p_88810_) static int
ScoreboardSlotArgument.getDisplaySlot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_109200_, String p_109201_) static MobEffect
MobEffectArgument.getEffect
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_98430_, String p_98431_) static Enchantment
ItemEnchantmentArgument.getEnchantment
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_95264_, String p_95265_) static Collection<? extends Entity>
EntityArgument.getEntities
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_91462_, String p_91463_) static Entity
EntityArgument.getEntity
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_91453_, String p_91454_) static Collection<com.mojang.authlib.GameProfile>
GameProfileArgument.getGameProfiles
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_94591_, String p_94592_) static ResourceLocation
ResourceLocationArgument.getId
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_107012_, String p_107013_) static LootItemFunction
ResourceLocationArgument.getItemModifier
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_171032_, String p_171033_) static Component
MessageArgument.getMessage
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_96836_, String p_96837_) static String
ScoreHolderArgument.getName
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_108224_, String p_108225_) static Collection<String>
ScoreHolderArgument.getNames
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_108244_, String p_108245_) static Collection<String>
ScoreHolderArgument.getNames
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_108227_, String p_108228_, Supplier<Collection<String>> p_108229_) static Collection<String>
ScoreHolderArgument.getNamesWithDefaultWildcard
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_108247_, String p_108248_) static Objective
ObjectiveArgument.getObjective
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_101961_, String p_101962_) static OperationArgument.Operation
OperationArgument.getOperation
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_103276_, String p_103277_) static Collection<? extends Entity>
EntityArgument.getOptionalEntities
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_91468_, String p_91469_) static Collection<ServerPlayer>
EntityArgument.getOptionalPlayers
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_91472_, String p_91473_) static ParticleOptions
ParticleArgument.getParticle
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_103938_, String p_103939_) static NbtPathArgument.NbtPath
NbtPathArgument.getPath
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_99499_, String p_99500_) static ServerPlayer
EntityArgument.getPlayer
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_91475_, String p_91476_) static Collection<ServerPlayer>
EntityArgument.getPlayers
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_91478_, String p_91479_) static LootItemCondition
ResourceLocationArgument.getPredicate
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_107002_, String p_107003_) static MinMaxBounds.Doubles
RangeArgument.Floats.getRange
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_170805_, String p_170806_) static MinMaxBounds.Ints
RangeArgument.Ints.getRange
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_105420_, String p_105421_) static Recipe<?>
ResourceLocationArgument.getRecipe
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_106995_, String p_106996_) private static <T> Registry<T>
ResourceKeyArgument.getRegistry
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_212379_, ResourceKey<? extends Registry<T>> p_212380_) private static <T> ResourceKey<T>
ResourceKeyArgument.getRegistryType
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_212374_, String p_212375_, ResourceKey<Registry<T>> p_212376_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_212377_) private static <T> ResourceOrTagLocationArgument.Result<T>
ResourceOrTagLocationArgument.getRegistryType
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_210956_, String p_210957_, ResourceKey<Registry<T>> p_210958_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_210959_) static int
SlotArgument.getSlot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_111280_, String p_111281_) ResourceOrTagLocationArgument.getStructureFeature
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_210971_, String p_210972_) static ResourceLocation
EntitySummonArgument.getSummonableEntity
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_93339_, String p_93340_) static PlayerTeam
TeamArgument.getTeam
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_112092_, String p_112093_) static UUID
UuidArgument.getUuid
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_113854_, String p_113855_) static Objective
ObjectiveArgument.getWritableObjective
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_101966_, String p_101967_) -
Uses of CommandSourceStack in net.minecraft.commands.arguments.blocks
Modifier and TypeMethodDescriptionstatic BlockInput
BlockStateArgument.getBlock
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_116124_, String p_116125_) static Predicate<BlockInWorld>
BlockPredicateArgument.getBlockPredicate
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_115574_, String p_115575_) -
Uses of CommandSourceStack in net.minecraft.commands.arguments.coordinates
Modifier and TypeMethodDescriptiondefault BlockPos
Coordinates.getBlockPos
(CommandSourceStack p_119569_) Coordinates.getPosition
(CommandSourceStack p_119566_) LocalCoordinates.getPosition
(CommandSourceStack p_119912_) WorldCoordinates.getPosition
(CommandSourceStack p_120893_) Coordinates.getRotation
(CommandSourceStack p_119567_) LocalCoordinates.getRotation
(CommandSourceStack p_119915_) WorldCoordinates.getRotation
(CommandSourceStack p_120896_) Modifier and TypeMethodDescriptionstatic ColumnPos
ColumnPosArgument.getColumnPos
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_118993_, String p_118994_) static Coordinates
Vec3Argument.getCoordinates
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120850_, String p_120851_) static BlockPos
BlockPosArgument.getLoadedBlockPos
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_118243_, String p_118244_) static Coordinates
RotationArgument.getRotation
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120483_, String p_120484_) static BlockPos
BlockPosArgument.getSpawnablePos
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_174396_, String p_174397_) static EnumSet<Direction.Axis>
SwizzleArgument.getSwizzle
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120811_, String p_120812_) static Vec2
Vec2Argument.getVec2
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120826_, String p_120827_) static Vec3
Vec3Argument.getVec3
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120845_, String p_120846_) -
Uses of CommandSourceStack in net.minecraft.commands.arguments.item
Modifier and TypeMethodDescriptionFunctionArgument.Result.create
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120955_) ItemPredicateArgument.Result.create
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_121068_) (package private) static CommandFunction
FunctionArgument.getFunction
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120929_, ResourceLocation p_120930_) static com.mojang.datafixers.util.Pair<ResourceLocation,
com.mojang.datafixers.util.Either<CommandFunction, Tag<CommandFunction>>> FunctionArgument.getFunctionOrTag
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120921_, String p_120922_) static Collection<CommandFunction>
FunctionArgument.getFunctions
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120911_, String p_120912_) (package private) static Tag<CommandFunction>
FunctionArgument.getFunctionTag
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120932_, ResourceLocation p_120933_) ItemPredicateArgument.getItemPredicate
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_121041_, String p_121042_) com.mojang.datafixers.util.Pair<ResourceLocation,
com.mojang.datafixers.util.Either<CommandFunction, Tag<CommandFunction>>> FunctionArgument.Result.unwrap
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120956_) -
Uses of CommandSourceStack in net.minecraft.commands.arguments.selector
Modifier and TypeMethodDescriptionprivate void
EntitySelector.checkPermissions
(CommandSourceStack p_121169_) EntitySelector.findEntities
(CommandSourceStack p_121161_) EntitySelector.findPlayers
(CommandSourceStack p_121167_) EntitySelector.findSingleEntity
(CommandSourceStack p_121140_) EntitySelector.findSinglePlayer
(CommandSourceStack p_121164_) -
Uses of CommandSourceStack in net.minecraft.commands.synchronization
Modifier and TypeFieldDescriptionstatic final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
SuggestionProviders.ALL_RECIPES
static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
SuggestionProviders.AVAILABLE_SOUNDS
static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
SuggestionProviders.SUMMONABLE_ENTITIES
-
Uses of CommandSourceStack in net.minecraft.gametest.framework
Modifier and TypeMethodDescriptionprivate static int
TestCommand.clearAllTests
(CommandSourceStack p_127953_, int p_127954_) private static int
TestCommand.createNewStructure
(CommandSourceStack p_127968_, String p_127969_, int p_127970_, int p_127971_, int p_127972_) private static int
TestCommand.exportNearestTestStructure
(CommandSourceStack p_128009_) private static int
TestCommand.exportTestStructure
(CommandSourceStack p_128011_, String p_128012_) private static int
TestCommand.importTestStructure
(CommandSourceStack p_128016_, String p_128017_) private static int
TestCommand.runAllNearbyTests
(CommandSourceStack p_128002_) private static int
TestCommand.runAllTests
(CommandSourceStack p_127956_, int p_127957_, int p_127958_) private static int
TestCommand.runAllTestsInClass
(CommandSourceStack p_127963_, String p_127964_, int p_127965_, int p_127966_) private static int
TestCommand.runLastFailedTests
(CommandSourceStack p_127983_, boolean p_127984_, int p_127985_, int p_127986_) private static int
TestCommand.runNearbyTest
(CommandSourceStack p_127951_) private static int
TestCommand.runTest
(CommandSourceStack p_127979_, TestFunction p_127980_, int p_127981_) private static void
TestCommand.runTests
(CommandSourceStack p_127974_, Collection<TestFunction> p_127975_, int p_127976_, int p_127977_) private static void
TestCommand.say
(CommandSourceStack p_128004_, String p_128005_) private static int
TestCommand.showPos
(CommandSourceStack p_127960_, String p_127961_) Modifier and TypeMethodDescriptionstatic String
TestClassNameArgument.getTestClassName
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_127921_, String p_127922_) static TestFunction
TestFunctionArgument.getTestFunction
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_128092_, String p_128093_) static void
TestCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_127947_) -
Uses of CommandSourceStack in net.minecraft.network.chat
Modifier and TypeMethodDescriptionprivate String
ScoreComponent.findTargetName
(CommandSourceStack p_131057_) protected Stream<CompoundTag>
NbtComponent.BlockNbtComponent.getData
(CommandSourceStack p_130994_) protected Stream<CompoundTag>
NbtComponent.EntityNbtComponent.getData
(CommandSourceStack p_131017_) protected abstract Stream<CompoundTag>
NbtComponent.getData
(CommandSourceStack p_130962_) protected Stream<CompoundTag>
NbtComponent.StorageNbtComponent.getData
(CommandSourceStack p_131038_) private String
ScoreComponent.getScore
(String p_131063_, CommandSourceStack p_131064_) ContextAwareComponent.resolve
(CommandSourceStack p_130756_, Entity p_130757_, int p_130758_) NbtComponent.resolve
(CommandSourceStack p_130964_, Entity p_130965_, int p_130966_) ScoreComponent.resolve
(CommandSourceStack p_131059_, Entity p_131060_, int p_131061_) SelectorComponent.resolve
(CommandSourceStack p_131089_, Entity p_131090_, int p_131091_) TranslatableComponent.resolve
(CommandSourceStack p_131310_, Entity p_131311_, int p_131312_) private static Style
ComponentUtils.resolveStyle
(CommandSourceStack p_130737_, Style p_130738_, Entity p_130739_, int p_130740_) static Optional<MutableComponent>
ComponentUtils.updateForEntity
(CommandSourceStack p_178425_, Optional<Component> p_178426_, Entity p_178427_, int p_178428_) static MutableComponent
ComponentUtils.updateForEntity
(CommandSourceStack p_130732_, Component p_130733_, Entity p_130734_, int p_130735_) -
Uses of CommandSourceStack in net.minecraft.server
Modifier and TypeFieldDescriptionprivate final CommandSourceStack
ServerFunctionManager.QueuedCommand.sender
final CommandSourceStack
ConsoleInput.source
Modifier and TypeFieldDescriptionprivate final com.mojang.brigadier.CommandDispatcher<CommandSourceStack>
ServerFunctionLibrary.dispatcher
Modifier and TypeMethodDescriptionMinecraftServer.createCommandSourceStack()
ServerFunctionManager.getGameLoopSender()
Modifier and TypeMethodDescriptioncom.mojang.brigadier.CommandDispatcher<CommandSourceStack>
ServerFunctionManager.getDispatcher()
Modifier and TypeMethodDescription(package private) void
ServerFunctionManager.ExecutionContext.delayFunctionCall
(CommandFunction p_179973_, CommandSourceStack p_179974_) int
ServerFunctionManager.execute
(CommandFunction p_136113_, CommandSourceStack p_136114_) int
ServerFunctionManager.execute
(CommandFunction p_179961_, CommandSourceStack p_179962_, ServerFunctionManager.TraceCallbacks p_179963_) void
MinecraftServer.kickUnlistedPlayers
(CommandSourceStack p_129850_) (package private) int
ServerFunctionManager.ExecutionContext.runTopCommand
(CommandFunction p_179978_, CommandSourceStack p_179979_) ModifierConstructorDescriptionConsoleInput
(String p_135931_, CommandSourceStack p_135932_) QueuedCommand
(CommandSourceStack p_179982_, int p_179983_, CommandFunction.Entry p_179984_) ModifierConstructorDescriptionServerFunctionLibrary
(int p_136053_, com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136054_) -
Uses of CommandSourceStack in net.minecraft.server.commands
Modifier and TypeFieldDescriptionprivate static final BinaryOperator<com.mojang.brigadier.ResultConsumer<CommandSourceStack>>
ExecuteCommand.CALLBACK_CHAINER
private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
DataPackCommand.SELECTED_PACKS
private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
AdvancementCommands.SUGGEST_ADVANCEMENTS
static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
BossBarCommands.SUGGEST_BOSS_BAR
static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
FunctionCommand.SUGGEST_FUNCTION
static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
LootCommand.SUGGEST_LOOT_TABLE
private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
ItemCommands.SUGGEST_MODIFIER
private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
ExecuteCommand.SUGGEST_PREDICATE
private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
ScheduleCommand.SUGGEST_SCHEDULE
private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
DataPackCommand.UNSELECTED_PACKS
Modifier and TypeMethodDescriptionprivate static <T extends com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
T>>
TLootCommand.addTargets
(T p_137903_, LootCommand.TailProvider p_137904_) Modifier and TypeMethodDescriptionprivate static CommandSourceStack
ExecuteCommand.storeData
(CommandSourceStack p_137118_, DataAccessor p_137119_, NbtPathArgument.NbtPath p_137120_, IntFunction<Tag> p_137121_, boolean p_137122_) private static CommandSourceStack
ExecuteCommand.storeValue
(CommandSourceStack p_137108_, Collection<String> p_137109_, Objective p_137110_, boolean p_137111_) private static CommandSourceStack
ExecuteCommand.storeValue
(CommandSourceStack p_137113_, CustomBossEvent p_137114_, boolean p_137115_, boolean p_137116_) Modifier and TypeMethodDescriptionprivate static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> ExecuteCommand.addConditional
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> p_137075_, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> p_137076_, boolean p_137077_, ExecuteCommand.CommandPredicate p_137078_) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> ExecuteCommand.addConditionals
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> p_137085_, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> p_137086_, boolean p_137087_) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> ExecuteCommand.addIfBlocksConditional
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> p_137080_, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> p_137081_, boolean p_137082_, boolean p_137083_) com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> LootCommand.TailProvider.construct
(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> p_138054_, LootCommand.DropConsumer p_138055_) private static com.mojang.brigadier.Command<CommandSourceStack>
ExecuteCommand.createNumericConditionalHandler
(boolean p_137167_, ExecuteCommand.CommandNumericPredicate p_137168_) private static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack>
ScoreboardCommand.createRenderTypeModify()
private static Collection<CommandSourceStack>
ExecuteCommand.expect
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137071_, boolean p_137072_, boolean p_137073_) private static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack>
PlaySoundCommand.source
(SoundSource p_138152_) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> ExecuteCommand.wrapStores
(com.mojang.brigadier.tree.LiteralCommandNode<CommandSourceStack> p_137094_, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> p_137095_, boolean p_137096_) Modifier and TypeMethodDescriptionprivate static int
ExperienceCommand.addExperience
(CommandSourceStack p_137317_, Collection<? extends ServerPlayer> p_137318_, int p_137319_, ExperienceCommand.Type p_137320_) private static int
AttributeCommand.addModifier
(CommandSourceStack p_136470_, Entity p_136471_, Attribute p_136472_, UUID p_136473_, String p_136474_, double p_136475_, AttributeModifier.Operation p_136476_) private static int
ScoreboardCommand.addObjective
(CommandSourceStack p_138503_, String p_138504_, ObjectiveCriteria p_138505_, Component p_138506_) private static int
WhitelistCommand.addPlayers
(CommandSourceStack p_139211_, Collection<com.mojang.authlib.GameProfile> p_139212_) private static int
ScoreboardCommand.addScore
(CommandSourceStack p_138545_, Collection<String> p_138546_, Objective p_138547_, int p_138548_) private static int
TagCommand.addTag
(CommandSourceStack p_138849_, Collection<? extends Entity> p_138850_, String p_138851_) static int
TimeCommand.addTime
(CommandSourceStack p_139083_, int p_139084_) private static int
TriggerCommand.addValue
(CommandSourceStack p_139155_, Score p_139156_, int p_139157_) private static boolean
ChaseCommand.alreadyRunning
(CommandSourceStack p_196090_) private static ItemStack
ItemCommands.applyModifier
(CommandSourceStack p_180284_, LootItemFunction p_180285_, ItemStack p_180286_) private static int
BanIpCommands.banIp
(CommandSourceStack p_136540_, String p_136541_, Component p_136542_) private static int
BanIpCommands.banIpOrName
(CommandSourceStack p_136534_, String p_136535_, Component p_136536_) private static int
BanPlayerCommands.banPlayers
(CommandSourceStack p_136565_, Collection<com.mojang.authlib.GameProfile> p_136566_, Component p_136567_) private static int
LootCommand.blockDistribute
(CommandSourceStack p_137961_, BlockPos p_137962_, List<ItemStack> p_137963_, LootCommand.Callback p_137964_) private static int
LootCommand.blockReplace
(CommandSourceStack p_137954_, BlockPos p_137955_, int p_137956_, int p_137957_, List<ItemStack> p_137958_, LootCommand.Callback p_137959_) private static int
ItemCommands.blockToBlock
(CommandSourceStack p_180302_, BlockPos p_180303_, int p_180304_, BlockPos p_180305_, int p_180306_) private static int
ItemCommands.blockToBlock
(CommandSourceStack p_180308_, BlockPos p_180309_, int p_180310_, BlockPos p_180311_, int p_180312_, LootItemFunction p_180313_) private static int
ItemCommands.blockToEntities
(CommandSourceStack p_180315_, BlockPos p_180316_, int p_180317_, Collection<? extends Entity> p_180318_, int p_180319_) private static int
ItemCommands.blockToEntities
(CommandSourceStack p_180321_, BlockPos p_180322_, int p_180323_, Collection<? extends Entity> p_180324_, int p_180325_, LootItemFunction p_180326_) private static void
LootCommand.callback
(CommandSourceStack p_137966_, List<ItemStack> p_137967_) private static void
LootCommand.callback
(CommandSourceStack p_137969_, List<ItemStack> p_137970_, ResourceLocation p_137971_) private static int
ForceLoadCommand.changeForceLoad
(CommandSourceStack p_137686_, ColumnPos p_137687_, ColumnPos p_137688_, boolean p_137689_) private static int
RaidCommand.check
(CommandSourceStack p_180494_) private static boolean
ExecuteCommand.checkCustomPredicate
(CommandSourceStack p_137105_, LootItemCondition p_137106_) private static int
ScoreboardCommand.clearDisplaySlot
(CommandSourceStack p_138478_, int p_138479_) private static int
EffectCommands.clearEffect
(CommandSourceStack p_136963_, Collection<? extends Entity> p_136964_, MobEffect p_136965_) private static int
EffectCommands.clearEffects
(CommandSourceStack p_136960_, Collection<? extends Entity> p_136961_) private static int
ClearInventoryCommands.clearInventory
(CommandSourceStack p_136706_, Collection<ServerPlayer> p_136707_, Predicate<ItemStack> p_136708_, int p_136709_) private static int
TitleCommand.clearTitle
(CommandSourceStack p_139109_, Collection<ServerPlayer> p_139110_) private static int
CloneCommands.clone
(CommandSourceStack p_136736_, BlockPos p_136737_, BlockPos p_136738_, BlockPos p_136739_, Predicate<BlockInWorld> p_136740_, CloneCommands.Mode p_136741_) private static int
BossBarCommands.createBar
(CommandSourceStack p_136592_, ResourceLocation p_136593_, Component p_136594_) private static int
TeamCommand.createTeam
(CommandSourceStack p_138911_, String p_138912_) private static int
TeamCommand.createTeam
(CommandSourceStack p_138914_, String p_138915_, Component p_138916_) private static int
TeamCommand.deleteTeam
(CommandSourceStack p_138927_, PlayerTeam p_138928_) private static int
DeOpCommands.deopPlayers
(CommandSourceStack p_136898_, Collection<com.mojang.authlib.GameProfile> p_136899_) private static int
DataPackCommand.disablePack
(CommandSourceStack p_136826_, Pack p_136827_) private static int
WhitelistCommand.disableWhitelist
(CommandSourceStack p_139226_) private static int
LootCommand.dropInWorld
(CommandSourceStack p_137946_, Vec3 p_137947_, List<ItemStack> p_137948_, LootCommand.Callback p_137949_) private static int
TeamCommand.emptyTeam
(CommandSourceStack p_138884_, PlayerTeam p_138885_) private static int
DataPackCommand.enablePack
(CommandSourceStack p_136829_, Pack p_136830_, DataPackCommand.Inserter p_136831_) private static int
ScoreboardCommand.enableTrigger
(CommandSourceStack p_138515_, Collection<String> p_138516_, Objective p_138517_) private static int
WhitelistCommand.enableWhitelist
(CommandSourceStack p_139219_) private static int
EnchantCommand.enchant
(CommandSourceStack p_137015_, Collection<? extends Entity> p_137016_, Enchantment p_137017_, int p_137018_) private static int
ItemCommands.entityToBlock
(CommandSourceStack p_180258_, Entity p_180259_, int p_180260_, BlockPos p_180261_, int p_180262_) private static int
ItemCommands.entityToBlock
(CommandSourceStack p_180264_, Entity p_180265_, int p_180266_, BlockPos p_180267_, int p_180268_, LootItemFunction p_180269_) private static int
ItemCommands.entityToEntities
(CommandSourceStack p_180271_, Entity p_180272_, int p_180273_, Collection<? extends Entity> p_180274_, int p_180275_) private static int
ItemCommands.entityToEntities
(CommandSourceStack p_180277_, Entity p_180278_, int p_180279_, Collection<? extends Entity> p_180280_, int p_180281_, LootItemFunction p_180282_) private static int
DebugPathCommand.fillBlocks
(CommandSourceStack p_180130_, BlockPos p_180131_) private static int
FillCommand.fillBlocks
(CommandSourceStack p_137386_, BoundingBox p_137387_, BlockInput p_137388_, FillCommand.Mode p_137389_, Predicate<BlockInWorld> p_137390_) private static int
ChaseCommand.follow
(CommandSourceStack p_196092_, String p_196093_, int p_196094_) private static int
ListPlayersCommand.format
(CommandSourceStack p_137827_, Function<ServerPlayer, Component> p_137828_) private static int
AttributeCommand.getAttributeBase
(CommandSourceStack p_136492_, Entity p_136493_, Attribute p_136494_, double p_136495_) private static int
AttributeCommand.getAttributeModifier
(CommandSourceStack p_136464_, Entity p_136465_, Attribute p_136466_, UUID p_136467_, double p_136468_) private static int
AttributeCommand.getAttributeValue
(CommandSourceStack p_136454_, Entity p_136455_, Attribute p_136456_, double p_136457_) private static ItemStack
ItemCommands.getBlockItem
(CommandSourceStack p_180288_, BlockPos p_180289_, int p_180290_) private static Container
ItemCommands.getContainer
(CommandSourceStack p_180328_, BlockPos p_180329_, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType p_180330_) private static Container
LootCommand.getContainer
(CommandSourceStack p_137951_, BlockPos p_137952_) private static int
BossBarCommands.getMax
(CommandSourceStack p_136629_, CustomBossEvent p_136630_) private static int
BossBarCommands.getPlayers
(CommandSourceStack p_136645_, CustomBossEvent p_136646_) private static int
ScoreboardCommand.getScore
(CommandSourceStack p_138499_, String p_138500_, Objective p_138501_) private static int
WorldBorderCommand.getSize
(CommandSourceStack p_139251_) private static ItemStack
LootCommand.getSourceHandItem
(CommandSourceStack p_137939_, EquipmentSlot p_137940_) private static int
BossBarCommands.getValue
(CommandSourceStack p_136596_, CustomBossEvent p_136597_) private static int
BossBarCommands.getVisible
(CommandSourceStack p_136640_, CustomBossEvent p_136641_) private static int
EffectCommands.giveEffect
(CommandSourceStack p_136967_, Collection<? extends Entity> p_136968_, MobEffect p_136969_, Integer p_136970_, int p_136971_, boolean p_136972_) private static int
GiveCommand.giveItem
(CommandSourceStack p_137779_, ItemInput p_137780_, Collection<ServerPlayer> p_137781_, int p_137782_) private static int
RecipeCommand.giveRecipes
(CommandSourceStack p_138207_, Collection<ServerPlayer> p_138208_, Collection<Recipe<?>> p_138209_) private static int
RaidCommand.glow
(CommandSourceStack p_180473_) private static int
TeamCommand.joinTeam
(CommandSourceStack p_138895_, PlayerTeam p_138896_, Collection<String> p_138897_) private static int
KickCommand.kickPlayers
(CommandSourceStack p_137802_, Collection<ServerPlayer> p_137803_, Component p_137804_) private static int
KillCommand.kill
(CommandSourceStack p_137814_, Collection<? extends Entity> p_137815_) private static int
ChaseCommand.lead
(CommandSourceStack p_196084_, String p_196085_, int p_196086_) private static int
TeamCommand.leaveTeam
(CommandSourceStack p_138918_, Collection<String> p_138919_) private static int
DataPackCommand.listAvailablePacks
(CommandSourceStack p_136855_) private static int
BossBarCommands.listBars
(CommandSourceStack p_136590_) private static int
DataPackCommand.listEnabledPacks
(CommandSourceStack p_136866_) private static int
ForceLoadCommand.listForceLoad
(CommandSourceStack p_137681_) private static int
TeamCommand.listMembers
(CommandSourceStack p_138944_, PlayerTeam p_138945_) private static int
ScoreboardCommand.listObjectives
(CommandSourceStack p_138539_) private static int
DataPackCommand.listPacks
(CommandSourceStack p_136824_) private static int
ListPlayersCommand.listPlayers
(CommandSourceStack p_137825_) private static int
ListPlayersCommand.listPlayersWithUuids
(CommandSourceStack p_137832_) private static int
TagCommand.listTags
(CommandSourceStack p_138846_, Collection<? extends Entity> p_138847_) private static int
TeamCommand.listTeams
(CommandSourceStack p_138882_) private static int
ScoreboardCommand.listTrackedPlayers
(CommandSourceStack p_138476_) private static int
ScoreboardCommand.listTrackedPlayerScores
(CommandSourceStack p_138496_, String p_138497_) private static int
LocateCommand.locate
(CommandSourceStack p_207515_, ResourceOrTagLocationArgument.Result<ConfiguredStructureFeature<?, ?>> p_207516_) private static int
LocateBiomeCommand.locateBiome
(CommandSourceStack p_207504_, ResourceOrTagLocationArgument.Result<Biome> p_207505_) private static void
GameModeCommand.logGamemodeChange
(CommandSourceStack p_137738_, ServerPlayer p_137739_, GameType p_137740_) private static int
ItemCommands.modifyBlockItem
(CommandSourceStack p_180297_, BlockPos p_180298_, int p_180299_, LootItemFunction p_180300_) private static int
ItemCommands.modifyEntityItem
(CommandSourceStack p_180337_, Collection<? extends Entity> p_180338_, int p_180339_, LootItemFunction p_180340_) private static int
OpCommand.opPlayers
(CommandSourceStack p_138089_, Collection<com.mojang.authlib.GameProfile> p_138090_) private static int
PardonCommand.pardonPlayers
(CommandSourceStack p_138103_, Collection<com.mojang.authlib.GameProfile> p_138104_) private static int
AdvancementCommands.perform
(CommandSourceStack p_136320_, Collection<ServerPlayer> p_136321_, AdvancementCommands.Action p_136322_, Collection<Advancement> p_136323_) void
TeleportCommand.LookAt.perform
(CommandSourceStack p_139061_, Entity p_139062_) private static int
AdvancementCommands.performCriterion
(CommandSourceStack p_136325_, Collection<ServerPlayer> p_136326_, AdvancementCommands.Action p_136327_, Advancement p_136328_, String p_136329_) private static int
ScoreboardCommand.performOperation
(CommandSourceStack p_138524_, Collection<String> p_138525_, Objective p_138526_, OperationArgument.Operation p_138527_, Collection<String> p_138528_, Objective p_138529_) private static void
TeleportCommand.performTeleport
(CommandSourceStack p_139015_, Entity p_139016_, ServerLevel p_139017_, double p_139018_, double p_139019_, double p_139020_, Set<ClientboundPlayerPositionPacket.RelativeArgument> p_139021_, float p_139022_, float p_139023_, TeleportCommand.LookAt p_139024_) static int
PlaceFeatureCommand.placeFeature
(CommandSourceStack p_212219_, Holder<ConfiguredFeature<?, ?>> p_212220_, BlockPos p_212221_) private static int
PlaySoundCommand.playSound
(CommandSourceStack p_138161_, Collection<ServerPlayer> p_138162_, ResourceLocation p_138163_, SoundSource p_138164_, Vec3 p_138165_, float p_138166_, float p_138167_, float p_138168_) private static int
RaidCommand.playSound
(CommandSourceStack p_180478_, Component p_180479_) private static int
PublishCommand.publish
(CommandSourceStack p_138191_, int p_138192_) private static int
ExperienceCommand.queryExperience
(CommandSourceStack p_137313_, ServerPlayer p_137314_, ExperienceCommand.Type p_137315_) private static int
ForceLoadCommand.queryForceLoad
(CommandSourceStack p_137683_, ColumnPos p_137684_) (package private) static <T extends GameRules.Value<T>>
intGameRuleCommand.queryRule
(CommandSourceStack p_137758_, GameRules.Key<T> p_137759_) private static int
TimeCommand.queryTime
(CommandSourceStack p_139088_, int p_139089_) private static int
WhitelistCommand.reload
(CommandSourceStack p_139209_) static void
ReloadCommand.reloadPacks
(Collection<String> p_138236_, CommandSourceStack p_138237_) private static int
ScheduleCommand.remove
(CommandSourceStack p_138434_, String p_138435_) private static int
ForceLoadCommand.removeAll
(CommandSourceStack p_137696_) private static int
BossBarCommands.removeBar
(CommandSourceStack p_136650_, CustomBossEvent p_136651_) private static int
AttributeCommand.removeModifier
(CommandSourceStack p_136459_, Entity p_136460_, Attribute p_136461_, UUID p_136462_) private static int
ScoreboardCommand.removeObjective
(CommandSourceStack p_138485_, Objective p_138486_) private static int
WhitelistCommand.removePlayers
(CommandSourceStack p_139221_, Collection<com.mojang.authlib.GameProfile> p_139222_) private static int
ScoreboardCommand.removeScore
(CommandSourceStack p_138554_, Collection<String> p_138555_, Objective p_138556_, int p_138557_) private static int
TagCommand.removeTag
(CommandSourceStack p_138857_, Collection<? extends Entity> p_138858_, String p_138859_) private static int
ResetChunksCommand.resetChunks
(CommandSourceStack p_183685_, int p_183686_, boolean p_183687_) private static int
ScoreboardCommand.resetScore
(CommandSourceStack p_138541_, Collection<String> p_138542_, Objective p_138543_) private static int
ScoreboardCommand.resetScores
(CommandSourceStack p_138508_, Collection<String> p_138509_) private static int
TitleCommand.resetTitle
(CommandSourceStack p_139125_, Collection<ServerPlayer> p_139126_) private static int
FunctionCommand.runFunction
(CommandSourceStack p_137724_, Collection<CommandFunction> p_137725_) private static int
SaveAllCommand.saveAll
(CommandSourceStack p_138278_, boolean p_138279_) private static void
PerfCommand.saveResults
(CommandSourceStack p_180447_, Path p_180448_, MinecraftServer p_180449_) private static int
ScheduleCommand.schedule
(CommandSourceStack p_138429_, com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction, Tag<CommandFunction>>> p_138430_, int p_138431_, boolean p_138432_) private static int
MsgCommand.sendMessage
(CommandSourceStack p_138065_, Collection<ServerPlayer> p_138066_, Component p_138067_) private static int
TeamMsgCommand.sendMessage
(CommandSourceStack p_139004_, Component p_139005_) private static int
ParticleCommand.sendParticles
(CommandSourceStack p_138129_, ParticleOptions p_138130_, Vec3 p_138131_, Vec3 p_138132_, float p_138133_, int p_138134_, boolean p_138135_, Collection<ServerPlayer> p_138136_) private static int
AttributeCommand.setAttributeBase
(CommandSourceStack p_136503_, Entity p_136504_, Attribute p_136505_, double p_136506_) private static int
RaidCommand.setBadOmenLevel
(CommandSourceStack p_180475_, int p_180476_) private static int
SetBlockCommand.setBlock
(CommandSourceStack p_138608_, BlockPos p_138609_, BlockInput p_138610_, SetBlockCommand.Mode p_138611_, Predicate<BlockInWorld> p_138612_) private static int
ItemCommands.setBlockItem
(CommandSourceStack p_180292_, BlockPos p_180293_, int p_180294_, ItemStack p_180295_) private static int
WorldBorderCommand.setCenter
(CommandSourceStack p_139263_, Vec2 p_139264_) private static int
WeatherCommand.setClear
(CommandSourceStack p_139173_, int p_139174_) private static int
TeamCommand.setCollision
(CommandSourceStack p_138887_, PlayerTeam p_138888_, Team.CollisionRule p_138889_) private static int
BossBarCommands.setColor
(CommandSourceStack p_136603_, CustomBossEvent p_136604_, BossEvent.BossBarColor p_136605_) private static int
TeamCommand.setColor
(CommandSourceStack p_138899_, PlayerTeam p_138900_, ChatFormatting p_138901_) private static int
WorldBorderCommand.setDamageAmount
(CommandSourceStack p_139270_, float p_139271_) private static int
WorldBorderCommand.setDamageBuffer
(CommandSourceStack p_139257_, float p_139258_) private static int
TeamCommand.setDeathMessageVisibility
(CommandSourceStack p_138930_, PlayerTeam p_138931_, Team.Visibility p_138932_) static int
DifficultyCommand.setDifficulty
(CommandSourceStack p_136945_, Difficulty p_136946_) private static int
ScoreboardCommand.setDisplayName
(CommandSourceStack p_138492_, Objective p_138493_, Component p_138494_) private static int
TeamCommand.setDisplayName
(CommandSourceStack p_138903_, PlayerTeam p_138904_, Component p_138905_) private static int
ScoreboardCommand.setDisplaySlot
(CommandSourceStack p_138481_, int p_138482_, Objective p_138483_) private static int
ItemCommands.setEntityItem
(CommandSourceStack p_180332_, Collection<? extends Entity> p_180333_, int p_180334_, ItemStack p_180335_) private static int
ExperienceCommand.setExperience
(CommandSourceStack p_137326_, Collection<? extends ServerPlayer> p_137327_, int p_137328_, ExperienceCommand.Type p_137329_) private static int
TeamCommand.setFriendlyFire
(CommandSourceStack p_138938_, PlayerTeam p_138939_, boolean p_138940_) private static int
TeamCommand.setFriendlySight
(CommandSourceStack p_138907_, PlayerTeam p_138908_, boolean p_138909_) private static int
SetPlayerIdleTimeoutCommand.setIdleTimeout
(CommandSourceStack p_138641_, int p_138642_) private static int
BossBarCommands.setMax
(CommandSourceStack p_136632_, CustomBossEvent p_136633_, int p_136634_) private static int
DefaultGameModeCommands.setMode
(CommandSourceStack p_136931_, GameType p_136932_) private static int
BossBarCommands.setName
(CommandSourceStack p_136615_, CustomBossEvent p_136616_, Component p_136617_) private static int
TeamCommand.setNametagVisibility
(CommandSourceStack p_138891_, PlayerTeam p_138892_, Team.Visibility p_138893_) private static int
BossBarCommands.setPlayers
(CommandSourceStack p_136611_, CustomBossEvent p_136612_, Collection<ServerPlayer> p_136613_) private static int
TeamCommand.setPrefix
(CommandSourceStack p_138934_, PlayerTeam p_138935_, Component p_138936_) private static int
WeatherCommand.setRain
(CommandSourceStack p_139178_, int p_139179_) private static int
ScoreboardCommand.setRenderType
(CommandSourceStack p_138488_, Objective p_138489_, ObjectiveCriteria.RenderType p_138490_) private static int
ScoreboardCommand.setScore
(CommandSourceStack p_138519_, Collection<String> p_138520_, Objective p_138521_, int p_138522_) private static int
WorldBorderCommand.setSize
(CommandSourceStack p_139253_, double p_139254_, long p_139255_) private static int
SetSpawnCommand.setSpawn
(CommandSourceStack p_138650_, Collection<ServerPlayer> p_138651_, BlockPos p_138652_, float p_138653_) private static int
SetWorldSpawnCommand.setSpawn
(CommandSourceStack p_138667_, BlockPos p_138668_, float p_138669_) private static int
BossBarCommands.setStyle
(CommandSourceStack p_136607_, CustomBossEvent p_136608_, BossEvent.BossBarOverlay p_136609_) private static int
TeamCommand.setSuffix
(CommandSourceStack p_138947_, PlayerTeam p_138948_, Component p_138949_) private static int
WeatherCommand.setThunder
(CommandSourceStack p_139183_, int p_139184_) static int
TimeCommand.setTime
(CommandSourceStack p_139078_, int p_139079_) private static int
TitleCommand.setTimes
(CommandSourceStack p_139112_, Collection<ServerPlayer> p_139113_, int p_139114_, int p_139115_, int p_139116_) private static int
BossBarCommands.setValue
(CommandSourceStack p_136599_, CustomBossEvent p_136600_, int p_136601_) private static int
TriggerCommand.setValue
(CommandSourceStack p_139161_, Score p_139162_, int p_139163_) private static int
BossBarCommands.setVisible
(CommandSourceStack p_136619_, CustomBossEvent p_136620_, boolean p_136621_) private static int
WorldBorderCommand.setWarningDistance
(CommandSourceStack p_139273_, int p_139274_) private static int
WorldBorderCommand.setWarningTime
(CommandSourceStack p_139260_, int p_139261_) private static int
BanListCommands.showList
(CommandSourceStack p_136550_, Collection<? extends BanListEntry<?>> p_136551_) private static int
WhitelistCommand.showList
(CommandSourceStack p_139230_) static int
LocateCommand.showLocateResult
(CommandSourceStack p_207518_, ResourceOrTagLocationArgument.Result<?> p_207519_, BlockPos p_207520_, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> p_207521_, String p_207522_) private static int
TitleCommand.showTitle
(CommandSourceStack p_142781_, Collection<ServerPlayer> p_142782_, Component p_142783_, String p_142784_, Function<Component, Packet<?>> p_142785_) private static int
TriggerCommand.simpleTrigger
(CommandSourceStack p_139152_, Score p_139153_) private static int
SummonCommand.spawnEntity
(CommandSourceStack p_138821_, ResourceLocation p_138822_, Vec3 p_138823_, CompoundTag p_138824_, boolean p_138825_) private static int
RaidCommand.spawnLeader
(CommandSourceStack p_180483_) private static int
DebugMobSpawningCommand.spawnMobs
(CommandSourceStack p_180115_, MobCategory p_180116_, BlockPos p_180117_) private static int
SpectateCommand.spectate
(CommandSourceStack p_138684_, Entity p_138685_, ServerPlayer p_138686_) private static int
SpreadPlayersCommand.spreadPlayers
(CommandSourceStack p_138703_, Vec2 p_138704_, float p_138705_, float p_138706_, int p_138707_, boolean p_138708_, Collection<? extends Entity> p_138709_) private static int
DebugCommand.start
(CommandSourceStack p_136910_) private static int
RaidCommand.start
(CommandSourceStack p_180485_, int p_180486_) private static int
JfrCommand.startJfr
(CommandSourceStack p_183650_) private static int
PerfCommand.startProfilingDedicatedServer
(CommandSourceStack p_180442_) private static int
ChaseCommand.stop
(CommandSourceStack p_196082_) private static int
DebugCommand.stop
(CommandSourceStack p_136916_) private static int
RaidCommand.stop
(CommandSourceStack p_180490_) private static int
JfrCommand.stopJfr
(CommandSourceStack p_183659_) private static int
PerfCommand.stopProfilingDedicatedServer
(CommandSourceStack p_180457_) private static int
StopSoundCommand.stopSound
(CommandSourceStack p_138801_, Collection<ServerPlayer> p_138802_, SoundSource p_138803_, ResourceLocation p_138804_) private static CommandSourceStack
ExecuteCommand.storeData
(CommandSourceStack p_137118_, DataAccessor p_137119_, NbtPathArgument.NbtPath p_137120_, IntFunction<Tag> p_137121_, boolean p_137122_) private static CommandSourceStack
ExecuteCommand.storeValue
(CommandSourceStack p_137108_, Collection<String> p_137109_, Objective p_137110_, boolean p_137111_) private static CommandSourceStack
ExecuteCommand.storeValue
(CommandSourceStack p_137113_, CustomBossEvent p_137114_, boolean p_137115_, boolean p_137116_) static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
TriggerCommand.suggestObjectives
(CommandSourceStack p_139149_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_139150_) private static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
ScoreboardCommand.suggestTriggers
(CommandSourceStack p_138511_, Collection<String> p_138512_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_138513_) private static int
RecipeCommand.takeRecipes
(CommandSourceStack p_138213_, Collection<ServerPlayer> p_138214_, Collection<Recipe<?>> p_138215_) private static int
TeleportCommand.teleportToEntity
(CommandSourceStack p_139033_, Collection<? extends Entity> p_139034_, Entity p_139035_) private static int
TeleportCommand.teleportToPos
(CommandSourceStack p_139026_, Collection<? extends Entity> p_139027_, ServerLevel p_139028_, Coordinates p_139029_, Coordinates p_139030_, TeleportCommand.LookAt p_139031_) private static int
DebugCommand.traceFunction
(CommandSourceStack p_180066_, Collection<CommandFunction> p_180067_) private static int
PardonIpCommand.unban
(CommandSourceStack p_138118_, String p_138119_) private static void
PerfCommand.whenStopped
(CommandSourceStack p_180444_, ProfileResults p_180445_) Modifier and TypeMethodDescriptionint
LootCommand.DropConsumer.accept
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_138050_, List<ItemStack> p_138051_, LootCommand.Callback p_138052_) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> ExecuteCommand.addConditional
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> p_137075_, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> p_137076_, boolean p_137077_, ExecuteCommand.CommandPredicate p_137078_) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> ExecuteCommand.addConditional
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> p_137075_, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> p_137076_, boolean p_137077_, ExecuteCommand.CommandPredicate p_137078_) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> ExecuteCommand.addConditionals
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> p_137085_, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> p_137086_, boolean p_137087_) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> ExecuteCommand.addConditionals
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> p_137085_, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> p_137086_, boolean p_137087_) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> ExecuteCommand.addIfBlocksConditional
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> p_137080_, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> p_137081_, boolean p_137082_, boolean p_137083_) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> ExecuteCommand.addIfBlocksConditional
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> p_137080_, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> p_137081_, boolean p_137082_, boolean p_137083_) private static int
ExecuteCommand.checkIfRegions
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137068_, boolean p_137069_) private static OptionalInt
ExecuteCommand.checkRegions
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137221_, boolean p_137222_) private static boolean
ExecuteCommand.checkScore
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137065_, BiPredicate<Integer, Integer> p_137066_) private static boolean
ExecuteCommand.checkScore
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137059_, MinMaxBounds.Ints p_137060_) private static int
ExecuteCommand.checkUnlessRegions
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137194_, boolean p_137195_) com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> LootCommand.TailProvider.construct
(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> p_138054_, LootCommand.DropConsumer p_138055_) private static Component
EmoteCommands.createMessage
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_136990_, String p_136991_) private static int
LootCommand.drop
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137922_, ResourceLocation p_137923_, LootContext p_137924_, LootCommand.DropConsumer p_137925_) private static int
LootCommand.dropBlockLoot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137913_, BlockPos p_137914_, ItemStack p_137915_, LootCommand.DropConsumer p_137916_) private static int
LootCommand.dropChestLoot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137933_, ResourceLocation p_137934_, LootCommand.DropConsumer p_137935_) private static int
LootCommand.dropFishingLoot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137927_, ResourceLocation p_137928_, BlockPos p_137929_, ItemStack p_137930_, LootCommand.DropConsumer p_137931_) private static int
LootCommand.dropKillLoot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137906_, Entity p_137907_, LootCommand.DropConsumer p_137908_) private static Collection<CommandSourceStack>
ExecuteCommand.expect
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137071_, boolean p_137072_, boolean p_137073_) static CustomBossEvent
BossBarCommands.getBossBar
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_136585_) private static Pack
DataPackCommand.getPack
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_136816_, String p_136817_, boolean p_136818_) static void
AdvancementCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136311_) static void
AttributeCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136445_) static void
BanIpCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136528_) static void
BanListCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136544_) static void
BanPlayerCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136559_) static void
BossBarCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136583_) static void
ChaseCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_196078_) static void
ClearInventoryCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136700_) static void
CloneCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136730_) static void
DataPackCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136809_) static void
DebugCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136906_) static void
DebugMobSpawningCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_180111_) static void
DebugPathCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_180124_) static void
DefaultGameModeCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136927_) static void
DeOpCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136889_) static void
DifficultyCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136939_) static void
EffectCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136954_) static void
EmoteCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136986_) static void
EnchantCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_137009_) static void
ExecuteCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_137043_) static void
ExperienceCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_137307_) static void
FillCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_137380_) static void
ForceLoadCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_137677_) static void
FunctionCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_137715_) static void
GameModeCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_137730_) static void
GameRuleCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_137745_) static void
GiveCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_137773_) static void
HelpCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_137788_) static void
ItemCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_180249_) static void
JfrCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_183646_) static void
KickCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_137796_) static void
KillCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_137808_) static void
ListPlayersCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_137821_) static void
LocateBiomeCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_137837_) static void
LocateCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_137859_) static void
LootCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_137898_) static void
MsgCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138061_) static void
OpCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138080_) static void
PardonCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138094_) static void
PardonIpCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138109_) static void
ParticleCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138123_) static void
PerfCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_180438_) static void
PlaceFeatureCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_201836_) static void
PlaySoundCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138157_) static void
PublishCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138185_) static void
RaidCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_180469_) static void
RecipeCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138201_) static void
ReloadCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138227_) static void
ResetChunksCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_183667_) static void
SaveAllCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138272_) static void
SaveOffCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138285_) static void
SaveOnCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138293_) static void
SayCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138410_) static void
ScheduleCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138420_) static void
ScoreboardCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138469_) static void
SeedCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138590_, boolean p_138591_) static void
SetBlockCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138602_) static void
SetPlayerIdleTimeoutCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138635_) static void
SetSpawnCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138644_) static void
SetWorldSpawnCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138661_) static void
SpectateCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138678_) static void
SpreadPlayersCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138697_) static void
StopCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138786_) static void
StopSoundCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138795_) static void
SummonCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138815_) static void
TagCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138837_) static void
TeamCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138878_) static void
TeamMsgCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_139000_) static void
TeleportCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_139009_) static void
TellRawCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_139064_) static void
TimeCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_139072_) static void
TitleCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_139103_) static void
TriggerCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_139142_) static void
WeatherCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_139167_) static void
WhitelistCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_139202_) static void
WorldBorderCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_139247_) private static int
GameModeCommand.setMode
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137732_, Collection<ServerPlayer> p_137733_, GameType p_137734_) (package private) static <T extends GameRules.Value<T>>
intGameRuleCommand.setRule
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137755_, GameRules.Key<T> p_137756_) int
ExecuteCommand.CommandNumericPredicate.test
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137301_) boolean
ExecuteCommand.CommandPredicate.test
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137303_) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> ExecuteCommand.wrapStores
(com.mojang.brigadier.tree.LiteralCommandNode<CommandSourceStack> p_137094_, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> p_137095_, boolean p_137096_) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> ExecuteCommand.wrapStores
(com.mojang.brigadier.tree.LiteralCommandNode<CommandSourceStack> p_137094_, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> p_137095_, boolean p_137096_) -
Uses of CommandSourceStack in net.minecraft.server.commands.data
Modifier and TypeFieldDescription(package private) static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
StorageDataAccessor.SUGGEST_STORAGE
Modifier and TypeMethodDescriptioncom.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> DataCommands.DataManipulatorDecorator.create
(DataCommands.DataManipulator p_139501_) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> DataCommands.decorateModification
(BiConsumer<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, DataCommands.DataManipulatorDecorator> p_139404_) com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> DataCommands.DataProvider.wrap
(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> p_139502_, Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>> p_139503_) Modifier and TypeMethodDescriptionprivate static int
DataCommands.getData
(CommandSourceStack p_139383_, DataAccessor p_139384_) private static int
DataCommands.getData
(CommandSourceStack p_139444_, DataAccessor p_139445_, NbtPathArgument.NbtPath p_139446_) private static int
DataCommands.getNumeric
(CommandSourceStack p_139390_, DataAccessor p_139391_, NbtPathArgument.NbtPath p_139392_, double p_139393_) private static int
DataCommands.mergeData
(CommandSourceStack p_139395_, DataAccessor p_139396_, CompoundTag p_139397_) private static int
DataCommands.removeData
(CommandSourceStack p_139386_, DataAccessor p_139387_, NbtPathArgument.NbtPath p_139388_) Modifier and TypeMethodDescriptionDataCommands.DataProvider.access
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_139504_) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> DataCommands.decorateModification
(BiConsumer<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, DataCommands.DataManipulatorDecorator> p_139404_) (package private) static CommandStorage
StorageDataAccessor.getGlobalTags
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_139561_) private static int
DataCommands.manipulateData
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_139376_, DataCommands.DataProvider p_139377_, DataCommands.DataManipulator p_139378_, List<Tag> p_139379_) int
DataCommands.DataManipulator.modify
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_139496_, CompoundTag p_139497_, NbtPathArgument.NbtPath p_139498_, List<Tag> p_139499_) static void
DataCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_139366_) com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> DataCommands.DataProvider.wrap
(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> p_139502_, Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>> p_139503_) com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> DataCommands.DataProvider.wrap
(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> p_139502_, Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>> p_139503_) com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> DataCommands.DataProvider.wrap
(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> p_139502_, Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>> p_139503_) -
Uses of CommandSourceStack in net.minecraft.server.dedicated
Modifier and TypeMethodDescriptionvoid
DedicatedServer.handleConsoleInput
(String p_139646_, CommandSourceStack p_139647_) -
Uses of CommandSourceStack in net.minecraft.server.rcon
-
Uses of CommandSourceStack in net.minecraft.world.entity
-
Uses of CommandSourceStack in net.minecraft.world.entity.vehicle
Modifier and TypeMethodDescriptionMinecartCommandBlock.MinecartCommandBase.createCommandSourceStack()
-
Uses of CommandSourceStack in net.minecraft.world.item
Modifier and TypeMethodDescriptionstatic boolean
WrittenBookItem.resolveBookComponents
(ItemStack p_43462_, CommandSourceStack p_43463_, Player p_43464_) private static String
WrittenBookItem.resolvePage
(CommandSourceStack p_151249_, Player p_151250_, String p_151251_) -
Uses of CommandSourceStack in net.minecraft.world.level
Modifier and TypeMethodDescriptionabstract CommandSourceStack
BaseCommandBlock.createCommandSourceStack()
Modifier and TypeMethodDescriptioncom.mojang.brigadier.builder.RequiredArgumentBuilder<CommandSourceStack,
?> GameRules.Type.createArgument
(String p_46359_) Modifier and TypeMethodDescriptionvoid
GameRules.Value.setFromArgument
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_46371_, String p_46372_) protected void
GameRules.BooleanValue.updateFromArgument
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_46231_, String p_46232_) protected void
GameRules.IntegerValue.updateFromArgument
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_46304_, String p_46305_) protected abstract void
GameRules.Value.updateFromArgument
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_46365_, String p_46366_) -
Uses of CommandSourceStack in net.minecraft.world.level.block.entity
Modifier and TypeMethodDescriptionprivate CommandSourceStack
LecternBlockEntity.createCommandSourceStack
(Player p_59535_) SignBlockEntity.createCommandSourceStack
(ServerPlayer p_59736_) -
Uses of CommandSourceStack in net.minecraftforge.client
Modifier and TypeClassDescriptionclass
overrides forCommandSourceStack
so that the methods will run successfully client sideModifier and TypeFieldDescriptionprivate static com.mojang.brigadier.CommandDispatcher<CommandSourceStack>
ClientCommandHandler.commands
Modifier and TypeMethodDescriptionstatic com.mojang.brigadier.CommandDispatcher<CommandSourceStack>
ClientCommandHandler.getDispatcher()
-
Uses of CommandSourceStack in net.minecraftforge.client.event
Modifier and TypeFieldDescriptionprivate final com.mojang.brigadier.CommandDispatcher<CommandSourceStack>
RegisterClientCommandsEvent.dispatcher
Modifier and TypeMethodDescriptioncom.mojang.brigadier.CommandDispatcher<CommandSourceStack>
RegisterClientCommandsEvent.getDispatcher()
ModifierConstructorDescriptionRegisterClientCommandsEvent
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) -
Uses of CommandSourceStack in net.minecraftforge.common.extensions
-
Uses of CommandSourceStack in net.minecraftforge.debug
Modifier and TypeMethodDescriptionprivate static boolean
PermissionTest.canUseCommand
(CommandSourceStack src, PermissionNode<Boolean> booleanPermission, PermissionDynamicContext<?>... context) Simple utility to catch exceptions with the test commands above. -
Uses of CommandSourceStack in net.minecraftforge.debug.chat
Modifier and TypeMethodDescriptionprivate int
ClientCommandTest.testCommand
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) -
Uses of CommandSourceStack in net.minecraftforge.event
Modifier and TypeFieldDescriptionprivate final com.mojang.brigadier.CommandDispatcher<CommandSourceStack>
RegisterCommandsEvent.dispatcher
private com.mojang.brigadier.ParseResults<CommandSourceStack>
CommandEvent.parse
Modifier and TypeMethodDescriptioncom.mojang.brigadier.CommandDispatcher<CommandSourceStack>
RegisterCommandsEvent.getDispatcher()
com.mojang.brigadier.ParseResults<CommandSourceStack>
CommandEvent.getParseResults()
Modifier and TypeMethodDescriptionstatic void
ForgeEventFactory.onCommandRegister
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, Commands.CommandSelection environment) void
CommandEvent.setParseResults
(com.mojang.brigadier.ParseResults<CommandSourceStack> parse) ModifierConstructorDescriptionCommandEvent
(com.mojang.brigadier.ParseResults<CommandSourceStack> parse) RegisterCommandsEvent
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, Commands.CommandSelection environment) -
Uses of CommandSourceStack in net.minecraftforge.server.command
Modifier and TypeMethodDescription(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> ConfigCommand.ShowFile.register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> DimensionsCommand.register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> EntityCommand.EntityListCommand.register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> EntityCommand.register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> GenerateCommand.register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> ModListCommand.register()
static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> TagsCommand.register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> TPSCommand.register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> TrackCommand.register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> TrackCommand.ResetTrackingCommand.register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> TrackCommand.StartTrackingCommand.register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> TrackCommand.TrackResultsBlockEntity.register()
(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> TrackCommand.TrackResultsEntity.register()
private static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
TagsCommand.suggestFromRegistry
(Function<Registry<?>, Iterable<ResourceLocation>> namesFunction) Modifier and TypeMethodDescriptionprivate static int
EntityCommand.EntityListCommand.execute
(CommandSourceStack sender, String filter, ResourceKey<Level> dim) private static int
GenerateCommand.execute
(CommandSourceStack source, BlockPos pos, int count, ServerLevel dim, int interval) private static <T> int
TrackCommand.TrackResults.execute
(CommandSourceStack source, TimeTracker<T> tracker, Function<ForgeTimings<T>, Component> toString) ChunkGenWorker.getStartMessage
(CommandSourceStack sender) private static int
TPSCommand.sendTime
(CommandSourceStack cs, ServerLevel dim) Modifier and TypeMethodDescriptionprivate static int
GenerateCommand.getInt
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String name) private static <T> Optional<ResourceKey<T>>
TagsCommand.getResourceKey
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String name, ResourceKey<Registry<T>> registryKey) private static int
TagsCommand.listTagElements
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, int page) private static int
TagsCommand.listTags
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, int page) private static int
TagsCommand.queryElementTags
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, int page) static void
ConfigCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) private static int
ConfigCommand.ShowFile.showFile
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) private static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
TagsCommand.suggestRegistries
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) ModifierConstructorDescriptionChunkGenWorker
(CommandSourceStack listener, BlockPos start, int total, ServerLevel dim, int interval) ModifierConstructorDescriptionForgeCommand
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)