Interface UrlFallbackOption

All Superinterfaces:
ResourcePackOption<Boolean>

public interface UrlFallbackOption extends ResourcePackOption<Boolean>
Can be used for resource packs created with the UrlPackCodec. When a Bedrock client is unable to download a resource pack from a URL, Geyser will, by default, serve the resource pack over raknet (as packs are served with the PathPackCodec). This option can be used to disable that behavior, and disconnect the player instead. By default, the TRUE option is set.
Since:
2.6.2
  • Field Details

  • Method Details

    • fallback

      static UrlFallbackOption fallback(boolean fallback)
      Whether to fall back to serving packs over the raknet connection
      Parameters:
      fallback - whether to fall back
      Returns:
      a UrlFallbackOption with the specified behavior
      Since:
      2.6.2