createInfo

fun createInfo(id: ResourceLocation, title: Component, version: String): PackLocationInfo

A utility function for creating PackLocationInfo for runtime packs.

Uses SOURCE as the PackSource.

Return

the created PackLocationInfo

Parameters

id

the pack identifier

title

the pack title

version

the pack version. You probably want this to be the same as your mod version