public interface ResourcePack
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getHash()
If this resource pack was initialized through
ResourcePackFactory.fromUri(URI), the hash, as calculated with
com.google.common.hash.Hashing.sha1().hashBytes(
com.google.common.io.Files.toByteArray(resourcepackfile)
).toString();. |
String |
getId()
Gets the ID of this resource pack.
|
String |
getName()
Gets the name of this resource pack.
|
URI |
getUri()
Gets the URI associated with this ResourcePack.
|
URI getUri()
String getName()
String getId()
Optional<String> getHash()
ResourcePackFactory.fromUri(URI), the hash, as calculated with
com.google.common.hash.Hashing.sha1().hashBytes(
com.google.common.io.Files.toByteArray(resourcepackfile)
).toString();.