Package org.geysermc.geyser.api.pack
Interface ResourcePackManifest.Header
- Enclosing interface:
ResourcePackManifest
public static interface ResourcePackManifest.Header
Represents the header of a resource pack.
It contains the main information about the resource pack, such as
the name, description, or uuid.
See
Microsoft's docs for further details on headers.
- Since:
- 2.1.1
-
Method Details
-
uuid
UUID uuid()Gets the UUID of the resource pack. It is a unique identifier that differentiates this resource pack from any other resource pack. Bedrock clients will cache resource packs, and download resource packs when the uuid is new (or the version changes).- Returns:
- the UUID
- Since:
- 2.1.1
-
version
ResourcePackManifest.Version version()Gets the version of the resource pack.- Returns:
- the version
- Since:
- 2.1.1
-
name
String name()Gets the name of the resource pack.- Returns:
- the name
- Since:
- 2.1.1
-
description
String description()Gets the description of the resource pack.- Returns:
- the description
- Since:
- 2.1.1
-
minimumSupportedMinecraftVersion
ResourcePackManifest.Version minimumSupportedMinecraftVersion()Gets the minimum supported Minecraft version of the resource pack.- Returns:
- the minimum supported Minecraft version
- Since:
- 2.1.1
-