GET_OPEN
Checks if a door, trapdoor or fence gate is open.
Any other block raises INVALID_ARGUMENT.
Parameters and results
positionSTRUCT c0de/minecraft/POSITION: where the door is- result
resultBOOLEAN: true if it is open
Example
c0de
CALL c0de/minecraft/GET_OPEN
PARAMETER position door ;
RESULT result isOpen