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 TypeMethodDescription@NonNull StringGets the description of the module.@NonNull Stringtype()Gets the type of the module.@NonNull UUIDuuid()Gets the UUID of the module.@NonNull ResourcePackManifest.Versionversion()Gets theResourcePackManifest.Versionof the module.
-
Method Details
-
uuid
@NonNull 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
@NonNull ResourcePackManifest.Version version()Gets theResourcePackManifest.Versionof the module.- Returns:
- the
ResourcePackManifest.Version - Since:
- 2.1.1
-
type
@NonNull String type()Gets the type of the module.- Returns:
- the type
- Since:
- 2.1.1
-
description
@NonNull String description()Gets the description of the module.- Returns:
- the description
- Since:
- 2.1.1
-