setCustomModelDataFlags

fun ItemStack.setCustomModelDataFlags(offset: Int, patch: List<Boolean>)

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