docs: @SuppressWarnings("unchecked")
      public <E extends IPluginResource> List<E> getResources(Class<E> clazz) {
          List<E> list = new ArrayList<>();
  
          for (IPluginResource resource : resources) {
              if (clazz.isInstance(resource)) {
                  list.add((E) resource);
              }
          }
  
          return list;
      }