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

Values of 'Infinity' in noise settings in default worldgen

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 21w42a, 21w44a
    • 21w41a, 21w42a, 21w43a
    • None
    • Confirmed
    • World generation
    • Important

      The lineĀ  "max_threshold": Infinity,

      is 13 times in the overworld.json noise settings, downloaded from slicedlime examples github:
      https://github.com/slicedlime/examples
      This causes the game to not load the default worldgen datapack, because it doesn't accept the value 'Infinity'
      This is the error it causes:
      [18:52:46] [Render thread/WARN]: Failed to validate datapack[18:52:46] [Render thread/WARN]: Failed to validate datapackjava.util.concurrent.CompletionException: com.google.gson.JsonParseException: Error loading registry data: Not a number: "Infinity"; Not a number: "Infinity"; Not a number: "Infinity"; Not a number: "Infinity"; Not a number: "Infinity"; Not a number: "Infinity"; Not a number: "Infinity"; Not a number: "Infinity"; Not a number: "Infinity"; Not a number: "Infinity"; Not a number: "Infinity" at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) [?:?] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) [?:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718) [?:?] at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) [?:?] at atc.c(SourceFile:151) [21w41a.jar:?] at atg.c(SourceFile:23) [21w41a.jar:?] at atc.y(SourceFile:125) [21w41a.jar:?] at atc.bp(SourceFile:110) [21w41a.jar:?] at dwn.f(SourceFile:1083) [21w41a.jar:?] at dwn.e(SourceFile:736) [21w41a.jar:?] at net.minecraft.client.main.Main.main(SourceFile:238) [21w41a.jar:?]Caused by: com.google.gson.JsonParseException: Error loading registry data: Not a number: "Infinity"; Not a number: "Infinity"; Not a number: "Infinity"; Not a number: "Infinity"; Not a number: "Infinity"; Not a number: "Infinity"; Not a number: "Infinity"; Not a number: "Infinity"; Not a number: "Infinity"; Not a number: "Infinity"; Not a number: "Infinity" at gy.a(SourceFile:219) ~[21w41a.jar:?] at java.util.Optional.ifPresent(Optional.java:178) ~[?:?] at gy.a(SourceFile:219) ~[21w41a.jar:?] at gy.a(SourceFile:210) ~[21w41a.jar:?] at xb.a(SourceFile:57) ~[21w41a.jar:?] at xb.a(SourceFile:51) ~[21w41a.jar:?] at efk.a(SourceFile:303) ~[21w41a.jar:?] at eff.a(SourceFile:459) ~[21w41a.jar:?] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] ... 8 more

            slicedlime [Mojang] slicedlime
            _Boas_ Boas Bakker
            Votes:
            10 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: