public interface ResourcePackFactory
ResourcePacks.| Modifier and Type | Method and Description |
|---|---|
ResourcePack |
fromUri(URI uri)
Creates a
ResourcePack from a URI and tries to download and hash
it. |
ResourcePack |
fromUriUnchecked(URI uri)
Creates a
ResourcePack from a URI. |
ResourcePack fromUri(URI uri) throws FileNotFoundException
ResourcePack from a URI and tries to download and hash
it.uri - The URI to look inFileNotFoundException - If a valid resourcepack could not be
downloaded from the URIResourcePack fromUriUnchecked(URI uri)
ResourcePack from a URI.uri - The URI to look in