docs: public boolean hasComponent(int blockId) {
          for (int i = 0; i < length; i++) {
              if (blockIdList[i] == blockId) {
                  return true;
              }
          }
          return false;
      }