Ajneb97 / ConditionalEvents

MIT License
22 stars 12 forks source link

Nested variables #8

Closed DevChimera closed 1 year ago

DevChimera commented 1 year ago

Allow a new way to nest variables for further and easier compatibility.

Example from PAPI default Math node:%math_{block_x}-2% Into condition: %block_at_{math_{block_x}-2}_{block_y}_{block_z}_{block_world}%

The idea is that, for extra compatibility, a new symbol for nested variables could be implemented, for example, [ ], (), or others.

If this was enabled, further possibilities like detecting blocks around the placer and precise location could be implemented easily by the users.

Example of a finished line: %block_at_{math_[block_x]-2}_{block_y}_{block_z}_{block_world}%