Interface UrlFallbackOption
- All Superinterfaces:
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.geysermc.geyser.api.pack.option.ResourcePackOption
ResourcePackOption.Type -
Field Summary
Fields -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic UrlFallbackOptionfallback(boolean fallback) Whether to fall back to serving packs over the raknet connectionMethods inherited from interface org.geysermc.geyser.api.pack.option.ResourcePackOption
type, validate, value
-
Field Details
-
TRUE
-
FALSE
-
-
Method Details
-
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
-