public interface ResourcePackFactory
ResourcePack
s.Modifier and Type | Method and Description |
---|---|
ResourcePack |
fromUrl(URL url)
Creates a
ResourcePack from a URL and tries to download and hash
it. |
ResourcePack |
fromUrlUnchecked(URL url)
Creates a
ResourcePack from a URL. |
ResourcePack fromUrl(URL url) throws FileNotFoundException
ResourcePack
from a URL and tries to download and hash
it.url
- The URL to look inFileNotFoundException
- If a valid resourcepack could not be
downloaded from the URLResourcePack fromUrlUnchecked(URL url)
ResourcePack
from a URL.url
- The URL to look in