We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently we only have the basic if syntax for doing conditions. We want to be able to have more control over the underlying execute command.
if
One idea is maybe to have something like:
if `entity @s[tag=foo]` { ... }
Another idea is to add trailing lambda syntax for compile time functions, allowing for the standard library to provide:
&execute(`if entity @s[tag=foo]`) { ... }
The text was updated successfully, but these errors were encountered:
These two could also be nicely nested:
&execute(`as @e[tag=example.entity]`) { if `predicate example:in_water` { ... } else { ... } }
Sorry, something went wrong.
No branches or pull requests
Currently we only have the basic
if
syntax for doing conditions. We want to be able to have more control over the underlying execute command.One idea is maybe to have something like:
Another idea is to add trailing lambda syntax for compile time functions, allowing for the standard library to provide:
The text was updated successfully, but these errors were encountered: