Skip to content

Allow for more complicated conditions #5

@moxvallix

Description

@moxvallix

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:

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]`) {
	...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions