Mojira Archive
MC-238900

Values of 'Infinity' in noise settings in default worldgen

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

Fixed

Boas Bakker

[Mojang] slicedlime

2021-10-13, 08:03 PM

2021-11-03, 10:52 PM

2021-11-03, 03:31 PM

10

8

Confirmed

Important

World generation

21w41a, 21w42a, 21w43a

21w42a, 21w44a