Module gomint.api

Interface BlockDoor

    • Method Detail

      • isTop

        boolean isTop()
        Is the door part top or bottom?
        true when its the top part, false when not
      • isOpen

        boolean isOpen()
        Is the door open or closed?
        true when the door is open, false when not
      • toggle

        void toggle()
        Open or close a door. The target state depends on the isOpen() state