Package org.bukkit.packs
Interface ResourcePack
public interface ResourcePack
Represents a resource pack.
- See Also:
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
getHash()
Gets the hash of the resource pack.@NotNull UUID
getId()
Gets the id of the resource pack.@Nullable String
Gets the prompt to show of the resource pack.@NotNull String
getUrl()
Gets the url of the resource pack.boolean
Gets if the resource pack is required by the server.
-
Method Details
-
getId
Gets the id of the resource pack.- Returns:
- the id
-
getUrl
Gets the url of the resource pack.- Returns:
- the url
-
getHash
Gets the hash of the resource pack.- Returns:
- the hash
-
getPrompt
Gets the prompt to show of the resource pack.- Returns:
- the prompt
-
isRequired
boolean isRequired()Gets if the resource pack is required by the server.- Returns:
- True if is required
-