-
Bug
-
Resolution: Duplicate
-
None
-
1.20.2, 23w45a
-
None
-
Unconfirmed
-
Data Packs
The bug
When using a biome source that has a biome in inline format, instead of using a reference, the world will fail to generate and lots of errors will show in the log.
How to reproduce
- Download the attached data pack MC-266682.zip
- Create a new world, add the data pack, and click done
Notice that the data pack validated
- Confirm creating the world
Terrain is not generated and errors are spammed in the log
Expected behavior
The data pack would fail to validate, the codec should not allow inline biomes since a biome ID is required in lots of places.
Error messages
Failed to save chunk 6,-1 java.lang.NullPointerException
Error executing task on Client java.lang.IllegalArgumentException: No value with id -1 at hj.b(SourceFile:19) at dhu.a(SourceFile:83) at dhy.a(SourceFile:175) at dhr.a(SourceFile:159) at dhq.a(SourceFile:456) at fit.a(SourceFile:117) at fiy.a(SourceFile:732) at fiy.a(SourceFile:697) at yg.a(SourceFile:45) at yg.a(SourceFile:12) at vf.a(SourceFile:23) at bfo.d(SourceFile:156) at bfs.d(SourceFile:23) at bfo.x(SourceFile:130) at bfo.bp(SourceFile:115) at eqv.d(SourceFile:1231) at eqv.f(SourceFile:856) at net.minecraft.client.main.Main.main(SourceFile:253)
- duplicates
-
MC-263333 RegistryFileCodecs are improperly used with Biomes
- Open