Affects Version/s: Minecraft 17w43b, Minecraft 17w45a
Fix Version/s: None
Environment:Mac, OS X
When attempting to load ANY files in data packs on a Mac (or any apple computer), such as advancements, functions, or loot tables, they immediately fail, not opening the world, and giving out the following console error:
It seems to have something to do with the .ds_store. .DS_Store is how Apple stores folder information, and their users can't get rid of it without quite a bit of hassle. It's a hidden folder, and it causes this bug. The game is ignoring the text past the underscore, and attempting to find the file with that texat, and then failing.
Then, after the game has done this a few times, it eventually crashes, saying:
The crash report is attached, along with an example of each type of file.
bug_pack.zip contains an example of trying to replace the abandoned mineshaft loot table, along with examples of custom functions and advancements, along with a custom loot table. All of these fail with their own errors.
This may be related to
MC-121379. Perhaps the game is attempting to load the file as a function, when it really isn't.