A custom structure_set with two structure entries each having weight 2000000000 loads without error for some reason. Which leads to a game crash during chunk generation.
Steps to reproduce:
Create a new world with the attached data pack enabled.
Wait for spawn chunks to generate and observe the crash.
Observed result:
The game crashes.
Expected result:
Structure set weights should be validated during data pack loading.
Thank you for helping us improve Minecraft! We saved your files: