setCustomModelDataColors

fun ItemStack.setCustomModelDataColors(offset: Int, patch: List<Color>)

Overrides the range from [offset, offset + patch.size) in the CustomModelData.colors list with the values from patch. Fills all intermediary indices with DEFAULT_COLOR if necessary.