createMetadata
fun createMetadata(description: Component, type: PackType = PackType.SERVER_DATA): PackMetadataSection
A utility function for creating the PackMetadataSection for a runtime pack.
As the pack is generated at runtime, its pack version is always set to the current version.
Return
the created PackMetadataSection
Parameters
description
the pack description
type
the pack type. Defaults to server data