writeMeta

inline fun <V> writeMeta(path: ResourcePath<ResourceType.HasMcMeta>, value: V, json: Json = Json)

Serializes value to JSON using json and writes it to the corresponding .mcmeta file for the specified path, creating parent directories if necessary.