Package org.geysermc.geyser.api.pack
Class UrlPackCodec
java.lang.Object
org.geysermc.geyser.api.pack.PackCodec
org.geysermc.geyser.api.pack.UrlPackCodec
Represents a pack codec that creates a resource
pack from a URL.
Due to Bedrock limitations, the URL must:
- be a direct download link to a .zip or .mcpack resource pack
- use the application type `application/zip` and set a correct content length
- Since:
- 2.6.2
-
Constructor Details
-
UrlPackCodec
public UrlPackCodec()
-
-
Method Details
-
url
Gets the URL to the resource pack location.- Returns:
- the URL of the resource pack
- Since:
- 2.6.2
-