Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-123562

Replacing vanilla data (except for tags) simply doesn't work on Apple devices.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 18w01a
    • Minecraft 17w50a
    • None
    • Mac OS X
    • Unconfirmed

      When attempting to replace any vanilla assets with the "minecraft" data namespace, the game doesn't ignore the .DS_store files, which Apple uses to store file display info, and which users cannot edit or see.

      This causes an error, but for some reason only occurs when attempting to replace any of minecraft's vanilla data. (recipes, advancements, loot tables.) (Not tags.)

      The error is not displayed when using folders to edit data packs, but it is when you use a .zip file.

      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)

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

      Notes:

      This doesn't affect the new 'tags' system.

      This does affect advancements, recipes, and loot tables.

      This report should be used instead of MC-121379, as MC-121379 has some differences from this issue, mainly that the game attempts to read the files as a different type, cutting off some of the lettering, and this does not occur in this error.

      MC-123516 should be marked as a duplicate of this issue, as it is just talking about advancements, when all the data 'things' (except for tags) are affected.

      This only affects Apple devices.

            dinnerbone [Mojang] Nathan Adams
            CreeperMagnet_ CreeperMagnet_
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: