mojira.dev
MC-123516

You cannot replace vanilla advancements with data packs.

When attempting to replace vanilla advancements using the 'minecraft' data namespace, nothing happens. The advancement isn't edited at all.

You can test this out by using the attached data pack, which attempts to replace the 'Postmortal' advancement's title with "Butts".

This is most likely an Apple computer only issue, as when you attempt to load the pack on a mac, it just says:

Couldn't execute command for <Player>: reload
g: Non [a-z0-9/._-] character in path of location: minecraft:advancements/.DS_Store
	at mx.<init>(SourceFile:36)
	at mx.<init>(SourceFile:49)
	at rm.a(SourceFile:134)
	at sf.a(SourceFile:137)
	at sk.a(SourceFile:84)
	at nk.b(SourceFile:67)
	at nk.a(SourceFile:102)
	at sk.c(SourceFile:132)
	at sk.a(SourceFile:115)
	at net.minecraft.server.MinecraftServer.a(SourceFile:1308)
	at net.minecraft.server.MinecraftServer.aF(SourceFile:1291)
	at ox.a(SourceFile:16)
	at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:120)
	at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:77)
	at bn.a(SourceFile:184)
	at rf.c(SourceFile:868)
	at rf.a(SourceFile:855)
	at kq.a(SourceFile:37)
	at kq.a(SourceFile:9)
	at hi$1.run(SourceFile:13)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at i.a(SourceFile:137)
	at net.minecraft.server.MinecraftServer.w(SourceFile:636)
	at net.minecraft.server.MinecraftServer.v(SourceFile:592)
	at clm.v(SourceFile:152)
	at net.minecraft.server.MinecraftServer.run(SourceFile:497)
	at java.lang.Thread.run(Thread.java:745)

As you all probably know by now, from my many bug reports regarding this sort of file, .DS_store is an apple-only file, which logs how certain files should be shown on apple devices, and is uneditable and invisible for apple devices.
Since it has capital letters and a period, it can cause errors, such as MC-121379. In this case, when attempting to replace vanilla minecraft advancements, the game attempts to read .DS_store files for some reason, going back to MC-121379, which keeps popping up in different places, and is getting quite annoying. Get your stuffs together, Dinnerbone!

Related issues

Attachments

Comments

migrated
[media]
migrated

The path contains an invalid character (only lowercase, numbers, - and _ are allowed).

CreeperMagnet_

@FVBico

This is completely valid. The game is trying to read a file, .DS_store, which it shouldn't be, and which apple users can't edit, which is causing this error.

Skylinerw

Duplicate of MC-121379 (reopened that issue).

CreeperMagnet_

(Unassigned)

Unconfirmed

Minecraft 17w50a

Retrieved