c0de 0.3.0This page in English

Diese Seite ist noch nicht übersetzt. Sie wird auf Englisch angezeigt.

GET_OPEN ​

Checks if a door, trapdoor or fence gate is open.

Any other block raises INVALID_ARGUMENT.

Parameters and results

  • position STRUCT c0de/minecraft/POSITION: where the door is
  • result result BOOLEAN: true if it is open

Example

c0de
CALL c0de/minecraft/GET_OPEN
    PARAMETER position door ;
    RESULT result isOpen