GET_LEVER
Checks if a lever is on.
A block that is not a lever raises INVALID_ARGUMENT.
Parameters and results
positionSTRUCT c0de/minecraft/POSITION: where the lever is- result
resultBOOLEAN: true if the lever is on
Example
c0de
CALL c0de/minecraft/GET_LEVER
PARAMETER position lever ;
RESULT result isOn