Package org.geysermc.geyser.api.pack
Interface ResourcePackManifest
public interface ResourcePackManifest
Represents a resource pack manifest.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceRepresents a dependency of a resource pack.static interfaceRepresents the header of a resource pack.static interfaceRepresents a module of a resource pack.static interfaceRepresents a version of a resource pack. -
Method Summary
Modifier and TypeMethodDescription@NonNull Collection<? extends ResourcePackManifest.Dependency>Gets the dependencies of the resource pack.intGets the format version of the resource pack.@NonNull ResourcePackManifest.Headerheader()Gets the header of the resource pack.@NonNull Collection<? extends ResourcePackManifest.Module>modules()Gets the modules of the resource pack.
-
Method Details
-
formatVersion
int formatVersion()Gets the format version of the resource pack.- Returns:
- the format version
-
header
@NonNull ResourcePackManifest.Header header()Gets the header of the resource pack.- Returns:
- the header
-
modules
@NonNull Collection<? extends ResourcePackManifest.Module> modules()Gets the modules of the resource pack.- Returns:
- the modules
-
dependencies
@NonNull Collection<? extends ResourcePackManifest.Dependency> dependencies()Gets the dependencies of the resource pack.- Returns:
- the dependencies
-