Package org.bukkit.packs
Interface ResourcePack
@Experimental
public interface ResourcePack
Represents a resource pack.
- See Also:
-
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
-