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

Datapack format potential conflicts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 20w45a
    • Fix Version/s: 20w46a
    • Labels:
      None
    • Confirmation Status:
      Unconfirmed
    • Category:
      (Unassigned)

      Description

      Fixed in 20w46a by changing Datapack format, but please, remember about this kind of stuff in the future.

       

      In 20w45a there was a change that renamed minecraft:grass_path to minecraft:dirt_path. Due to that, resource pack format was increased, but datapack's not. This change will create conflicts in datapack tag and function files that are using minecraft:grass_path. This will also make people think that potential datapack is compatible with both 20w45a+ and 1.16.3-4, but it's not. Same thing with files using cauldron "level" data.

       

      Example of console output for datapack using cauldron "level" data. This output is not a thing for 1.16.3 and 1.16.4.

      Failed to load function ve:infection_deaggro_timer
      java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Whilst parsing command on line 13: Block minecraft:cauldron does not have property 'level' at position 79: ...:cauldron[<--[HERE]
      	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
      	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1584)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1574)
      	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
      	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689)
      	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      Caused by: java.lang.IllegalArgumentException: Whilst parsing command on line 13: Block minecraft:cauldron does not have property 'level' at position 79: ...:cauldron[<--[HERE]
      	at cy.a(SourceFile:62)
      	at wf.a(SourceFile:86)
      	at wf$$Lambda$4255/777187694.get(Unknown Source)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1582)
      	... 5 more
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            DawidRTG Devu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: