Affects Version/s: Minecraft 17w47a, Minecraft 17w47b
Fix Version/s: None
When attempting to replace vanilla assets, by placing advancements or loot tables in the world/datapacks/my_pack/data/minecraft folder, the game crashes, giving you the following error:
This says there is a non- a-z0-9/-._ character, when there is clearly not.
Attached is a data pack (bug_pack.zip) that demonstrates this by trying to replace the abandoned mineshaft loot table with one that makes it give only golden apples.
This doesn't affect adding custom loot tables, as also demonstrated in the other data pack. (stick_pack)
You can see this by using stick_pack, and giving yourself a chest using
This clearly gives you a custom loot table chest, with only a stick inside.
This error, as of 17w47b, we now know is caused only on Apple computers, because of Apple's folder info storage data, the .DS_Store file. This name has capital letters, and the game attempts to read it as a loot table for some reason, bringing out an error, as capital letters aren't supported. This only seems to occur when trying to replace vanilla assets.