Skip to content

Add basic logical operator support to NBT expression parasing #210

@kirjorjos

Description

@kirjorjos

Issue type:

  • ➕ Feature request

Short description:

As of right now, when testing or filtering an NBT path expression, boolean operators such as OR, AND, and NOT are unsupported. It would be nice if we were able to use basic boolean operators such as these.

The ability to use basic boolean operators
ex1. .someKey.someListKey[(?:@.someBoolKey || (@.someIntKey < someConstantInt))]
ex2. .someKey.someBoolKey && !(someOtherKey.someStringValue == "someConstantString")

Metadata

Metadata

Type

No type

Projects

Status

Assign to AI

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions