setCustomModelDataString

fun ItemStack.setCustomModelDataString(index: Int, value: String)

Sets the CustomModelData.strings at the given index to value. Fills all intermediary indices with DEFAULT_STRING if necessary.