numberedModels

fun numberedModels(range: IntRange, index: Int = 0, selectModel: S.(Int) -> ModelBuilder): ItemModel

Creates a rangeDispatch model with cases for each number in the given range, controlled by the value at index in floats of the minecraft:custom_model_data component.