Commands/executeasself
Minecraft Wiki article. Categories: Removed_features, Pages_using_the_Exclusive_template_customtext_parameter, Commands
📌 Mirrored from Minecraft Wiki
This article is reproduced from Commands/executeasself on the Minecraft Wiki. Mirrored from revision 3155209. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.
On this page
This page describes content that has been removed from Bedrock Edition and Minecraft Education.
This feature was present in earlier versions of Bedrock Edition and Minecraft Education, but has since been removed.
This feature was exclusive to Bedrock Edition and Minecraft Education.
/executeasself{
"title": "<code>/executeasself</code>",
"rows": [
{
"field": "Hidden",
"label": "Visibility"
},
{
"field": "0",
"label": "(link to Permission level article, displayed as Permission level<br>required)"
},
{
"field": "None",
"label": "(link to Commands#Restrictions article, displayed as Restrictions)"
}
],
"invimages": [],
"images": []
}
Similar to /execute, but executes the command to the executor.
Syntax
executeasself <command: rawText>
Arguments
- command: rawText
- Specifies the command to be run. Must be a valid command.
Result
- Fails if ...
- On success, ...
Navigation
Sources
- Commands/executeasself — Minecraft Wiki, CC BY-NC-SA 3.0, revision 3155209.