@Override
  public ResourceBundle newBundle(final String baseName, final Locale locale, final String format, final ClassLoader loader, final boolean reload) throws IllegalAccessException, InstantiationException, IOException {
    if (format.equals("java.properties")) {
      final String bundle = this.toBundleName(baseName, locale);
      final String resource = this.toResourceName(bundle, "properties");
      InputStream is = null;
      if (reload) {
        final URL url = loader.getResource(resource);
        if (url != null) {
          final URLConnection connection = url.openConnection();
          if (connection != null) {
            connection.setUseCaches(false);
            is = connection.getInputStream();
          }
        }
      } else {
        is = loader.getResourceAsStream(resource);
      }

      if (is != null) {
        try (final InputStreamReader isr = new InputStreamReader(is, StandardCharsets.UTF_8)) {
          return new PropertyResourceBundle(isr);
        }
      } else {
        return null;
      }
    } else {
      return super.newBundle(baseName, locale, format, loader, reload);
    }
  }
Gets the shared instance.

@return a resource bundle control
@since 4.0.0
api/src/main/java/net/kyori/adventure/util/UTF8ResourceBundleControl.java