Package org.geysermc.geyser.api.pack
Interface ResourcePackManifest.Module
- Enclosing interface:
ResourcePackManifest
public static interface ResourcePackManifest.Module
Represents a module of a resource pack.
It contains information about the content type that is
offered by this resource pack.
See
Microsoft's docs for further details on modules.
- Since:
- 2.1.1
-
Method Summary
Modifier and TypeMethodDescriptionGets the description of the module.type()Gets the type of the module.uuid()Gets the UUID of the module.version()Gets theResourcePackManifest.Versionof the module.
-
Method Details
-
uuid
UUID uuid()Gets the UUID of the module. This should usually be different from the UUID in theResourcePackManifest.Header.- Returns:
- the UUID
- Since:
- 2.1.1
-
version
ResourcePackManifest.Version version()Gets theResourcePackManifest.Versionof the module.- Returns:
- the
ResourcePackManifest.Version - Since:
- 2.1.1
-
type
String type()Gets the type of the module.- Returns:
- the type
- Since:
- 2.1.1
-
description
String description()Gets the description of the module.- Returns:
- the description
- Since:
- 2.1.1
-