Ajneb97 / ConditionalEvents

MIT License
22 stars 12 forks source link

Suggestion: New operator AND, && #13

Closed Reeferx7 closed 1 year ago

Reeferx7 commented 1 year ago

Hello, is possible to add "AND" operator to compare conditions in same line with different execute actions.

A small example:

- '%item% == IRON_SWORD AND %block% !contains GRASS execute action1' Result true or false

- '%item% == DIAMOND_SWORD && %block% !contains GRASS execute actions2'
Ajneb97 commented 1 year ago

The AND operator is accomplished adding another condition line