Wiki ArticleJava Edition specific informationBedrock Edition specific informationJava EditionBedrock Edition
Command context
Command context (also know as execution context, command origin, command source stack) is a set of parameters like the executor and execution environment. It is used to provide context for command execution or raw JSON text resolution.
There are mainly 8‌[JE only]/7‌[BE only] parameters in command context:
When commands are executed or raw JSON texts are resolved in different scenarios, corresponding contexts are provided, to allow them to work in different scenarios.
Complete article available
This cached Wiki page is unusually large, so it is loaded on demand to keep the initial page fast.