Minecraft /execute Generator.
Executes a command on behalf of other entities or under conditions. Passe die Einstellungen an, um sofort die richtige Syntax zu erzeugen.
Generierte Minecraft-Syntax
Kopiere diesen Befehl und füge ihn in die Chat-Konsole (Taste T) oder in Befehlsblöcke ein.
Was bewirkt dieser Befehl?
About the /execute Generator
The /execute generator constructs advanced multi-condition command chains, allowing commands to run from the perspective, location, rotation, or dimension of other entities when specific block or score conditions are met.
How to Use This Generator
- Choose the executor modifier (as <entity> to change who @s is).
- Select the position modifier (at <entity> to shift the execution location to that entity).
- Add conditional filters (if block, unless entity, if score) to gate execution.
- Input the final target command that should execute when conditions are satisfied.
- Copy the generated string into an Impulse, Repeating, or Chain command block.
Parameters & Options Explained
Alters who the command considers to be "@s", without changing the coordinate origin.
Shifts the coordinate origin (~ ~ ~) and rotation to match the target entity.
Tests a game state (e.g. if block ~ ~-1 ~ water) before allowing the command to execute.
The final action (e.g. effect give, setblock, tp) executed under the modified context.
Practical In-Game Example
Tested & Validated/execute as @a at @s if block ~ ~-1 ~ minecraft:water run effect give @s speed 5 1 trueFinds every player standing on top of water, shifts position to their feet, verifies the block, and grants a 5-second Speed boost.
Java vs Bedrock Compatibility
Important Limitations & Rules
- /execute requires a concluding "run <command>" keyword to perform actions.
- Placing unconstrained /execute commands in Repeating Command Blocks without tag filters can produce severe server TPS lag.