Interface ResourcePack
public interface ResourcePack
Represents a resource pack.
- Since:
- 1.20.4
- See Also:
-
Method Summary
Modifier and TypeMethodDescription@Nullable StringgetHash()Gets the hash of the resource pack.@NotNull UUIDgetId()Gets the id of the resource pack.@Nullable StringGets the prompt to show of the resource pack.@NotNull StringgetUrl()Gets the url of the resource pack.booleanGets if the resource pack is required by the server.
-
Method Details
-
getId
-
getUrl
-
getHash
Gets the hash of the resource pack.- Returns:
- the hash
- Since:
- 1.20.4
-
getPrompt
Gets the prompt to show of the resource pack.- Returns:
- the prompt
- Since:
- 1.20.4
-
isRequired
boolean isRequired()Gets if the resource pack is required by the server.- Returns:
- True if is required
- Since:
- 1.20.4
-