registerAll

fun registerAll(path: ResourcePath): Map<Material, Int>

Creates a custom model data entry for path under all materials that can be targeted via VanillaMaterialProperty and returns a map of the materials to the custom model data.