Cyclops Core

Cyclops Core

121M Downloads

Add basic logical operator support to NBT expression parasing

kirjorjos opened this issue · 1 comments

commented

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")

commented

Thanks for the suggestion!