-
Notifications
You must be signed in to change notification settings - Fork 392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can node graphs have cycles? #105
Comments
https://wiki.vg/Command_Data says:
This image (PNG, 1.5 MB, 2179 by 14448 - mobile users avoid this) from 18w22c indicates redirects with a dashed line and normal children with a solid line. Note that wiki.vg is documenting the format used over the network protocol, which may be slightly different from what you expect. |
I was reading the Minecraft Wiki article about Brigadier which states:
Which implies that the command 'tree' can have cycles (which would mean that it's technically not a tree, which must be acyclic, but in in fact a rooted unidirected graph).
So I just wanted to clarify whether or not what the Wiki claims is correct, and whether it is technically possible for node graphs to have cycles (perhaps even back to the root node) or whether Minecraft does something special to achieve
execute
's recursive/cyclic functionality.(If that's the case, it may be worth clarifying this in the
README.md
.)The text was updated successfully, but these errors were encountered: