The goal is to copy files from assets to internal storage and then to use it with another application (Minecraft). As I know in Android 11+ we can't create directories in internal storage so how to copy files from assets to internal storage and then use it in Minecraft?
I tried to use Environment.getExternalStorageDirectory().absolutePath
but it's deprecated.