Translation notice
This page was translated with machine translation and may contain inaccuracies. If you can help improve it, please open an issue or submit a pull request.
Logical structure: command/function
classical thought
- [CBL∫2b] Instruction block advanced tutorial - module (process-oriented) §Index
1.8 - [CBL]|Qiuyi 1.13 function command system: when command leaves command block
1.13 - data pack structure logic
command execution operation /execute
- Tutorial:
1.13+- [Tutorial][1.15] Execute command introductory tutorial
- [Minecraft] Can you use the "new" execute? How to consume the new grammar correctly?
基岩版1.19.20 - [CBL|SYL][1.13] New version execute nesting changes
- (Not recommended) [1.13+] Detailed explanation of the new version of execute command
- (Not recommended)Play with 1.13’s new/execute
- Modifier command:
executor
as | on | summon- Directly specify
as - Set as related entity
on - Generate a new entity and specify it as the executor
summon
- Directly specify
towards
rotated | rotated as | facing | facing entitylocal reference point
anchored- Eye height: standing 1.62, squatting 1.27, lying down 0.4
- entity anchor point and execution anchor point in command
dimension
inExecution location
at | positioned | positioned asPerform positional rounding
align- Classification
- absolute coordinate
- local coordinate
^ ^ ^ - relative coordinate
~ ~ ~
- Basic theory related to coordinate system and coordinate parameters
- Classification
- conditional command
if|unless - Store subcommand
store - Execute subcommand
run
command logic
- command block (elimination)
function run /function
- Schedule function to run /schedule
- The function executed by /schedule is executed by the server, and the execution coordinate is the world rebirth point.
- [1.15+] Minimalist timer, use schedule to implement timer at any time
1.15
- function macro
- tick timing