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 Summary
Modifier and TypeMethodDescription@NonNull StringGets the description of the resource pack.@NonNull ResourcePackManifest.VersionGets the minimum supported Minecraft version of the resource pack.@NonNull Stringname()Gets the name of the resource pack.@NonNull UUIDuuid()Gets the UUID of the resource pack.@NonNull ResourcePackManifest.Versionversion()Gets the version of the resource pack.
-
Method Details
-
uuid
@NonNull 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
@NonNull ResourcePackManifest.Version version()Gets the version of the resource pack.- Returns:
- the version
- Since:
- 2.1.1
-
name
@NonNull String name()Gets the name of the resource pack.- Returns:
- the name
- Since:
- 2.1.1
-
description
@NonNull String description()Gets the description of the resource pack.- Returns:
- the description
- Since:
- 2.1.1
-
minimumSupportedMinecraftVersion
@NonNull ResourcePackManifest.Version minimumSupportedMinecraftVersion()Gets the minimum supported Minecraft version of the resource pack.- Returns:
- the minimum supported Minecraft version
- Since:
- 2.1.1
-