This PR builds on #224 to add multi-word property support. Firstly, property support has been revamped so that property suppliers now accept a list of property values instead of just one. The processing rules for properties has also been updated to accept lists of property values, both for selector properties and for block conditions.
Additionally, some keywords such as "to" have been broken out to a new command separator parameter type, to help ensure that selector properties are properly associated with their intended selectors, e.g:
set "My Piston" height to the upper limit of "My Beacon 2"
Using the new multi-word property support, several new properties have been added or adjusted.
"targetVelocity" -> "target velocity" for turrets
"naturalGravity" -> "natural gravity" for parachutes & cockpits
"artificialGravity" -> "artificial gravity" for parachutes & cockpits.
Wheels now have support for steering, steering overrride, propulsion override, invert steering, and invert propulsion.
This commit also adds some missing tests for some block handlers, and adds some missing test coverage around block conditions.
This commit resolves #175 and #176 by adding property support for these attributes using the new property support.
This PR builds on #224 to add multi-word property support. Firstly, property support has been revamped so that property suppliers now accept a list of property values instead of just one. The processing rules for properties has also been updated to accept lists of property values, both for selector properties and for block conditions.
Additionally, some keywords such as "to" have been broken out to a new command separator parameter type, to help ensure that selector properties are properly associated with their intended selectors, e.g:
set "My Piston" height to the upper limit of "My Beacon 2"
Using the new multi-word property support, several new properties have been added or adjusted.
This commit also adds some missing tests for some block handlers, and adds some missing test coverage around block conditions.
This commit resolves #175 and #176 by adding property support for these attributes using the new property support.