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

Errors from worldgen settings are extremely verbose

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 20w22a, 1.16 Pre-release 3, 1.16.2, 1.16.4, 20w45a, 1.17, 1.18
    • None
    • Confirmed
    • Custom Worlds
    • Low

      The bug

      When creating a world and importing settings, the errors generated from this are shown in a toast popup and in the log. These errors are always too long and often include a large part of the file contents. Instead they should explain on what line the error is and give a short explanation, similar to data pack errors.

      Current behavior

      Error parsing world settings: Value -10 outside of range [0:256] missed input: {"minecraft:overworld":{"generator":{"type":"minecraft:noise","seed":-1464245863,"biome_source":{"type":"minecraft:vanilla_layered","seed":-1464245863,"large_biomes":false},"settings":{"bedrock_roof_position":-10,"bedrock_floor_position":0,"sea_level":0,"disable_mob_generation":false,"default_block":{"Name":"minecraft:stone","Properties":{}},"default_fluid":{"Name":"minecraft:water","Properties":{}},"noise":{"density_factor":0,"density_offset":0,"simplex_surface_noise":true,"random_density_offset":true,"island_noise_override":false,"amplified":false,"size_horizontal":1,"size_vertical":2,"height":-10,"sampling":{"xz_scale":1,"y_scale":1,"xz_factor":80,"y_factor":160},"bottom_slide":{"target":-30,"size":0,"offset":0},"top_slide":{"target":-100,"size":10,"offset":5}},"structures":{"stronghold":{"distance":32,"spread":3,"count":128},"structures":{"minecraft:jungle_pyramid":{"spacing":32,"separation":8,"salt":14357619},"minecraft:endcity":{"spacing":20,"separation":11,"salt":10387313},"minecraft:village":{"spacing":32,"separation":8,"salt":10387312},"minecraft:ruined_portal":{"spacing":40,"separation":15,"salt":34222645},"minecraft:igloo":{"spacing":32,"separation":8,"salt":14357618},"minecraft:stronghold":{"spacing":1,"separation":0,"salt":0},"minecraft:bastion_remnant":{"spacing":30,"separation":4,"salt":30084232},"minecraft:desert_pyramid":{"spacing":32,"separation":8,"salt":14357617},"minecraft:nether_fossil":{"spacing":2,"separation":1,"salt":14357921},"minecraft:mansion":{"spacing":80,"separation":20,"salt":10387319},"minecraft:shipwreck":{"spacing":24,"separation":4,"salt":165745295},"minecraft:monument":{"spacing":32,"separation":5,"salt":10387313},"minecraft:swamp_hut":{"spacing":32,"separation":8,"salt":14357620},"minecraft:fortress":{"spacing":30,"separation":4,"salt":30084232},"minecraft:pillager_outpost":{"spacing":32,"separation":8,"salt":165745296},"minecraft:ocean_ruin":{"spacing":20,"separation":8,"salt":14357621}}}}},"type":{"ultrawarm":false,"natural":true,"shrunk":false,"ambient_light":0,"has_skylight":true,"has_ceiling":false}}}

            Unassigned Unassigned
            Misoloo [Helper] Misode
            Votes:
            15 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: