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

Crash when generating world with certain custom preset

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.8.4, Minecraft 1.8.8, Minecraft 15w49b, Minecraft 1.9.4, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10 Pre-Release 2, Minecraft 1.10.2, Minecraft 16w43a, Minecraft 1.11, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b
    • Confirmed

      Minecraft hangs and even uses nearly no CPU after some time while creating or loading a customized world with the following preset code. My PC is definitely strong enough.

      {"coordinateScale":684.412,"heightScale":684.412,"lowerLimitScale":512.0,"upperLimitScale":512.0,"depthNoiseScaleX":200.0,"depthNoiseScaleZ":200.0,"depthNoiseScaleExponent":0.5,"mainNoiseScaleX":80.0,"mainNoiseScaleY":160.0,"mainNoiseScaleZ":80.0,"baseSize":8.5,"stretchY":12.0,"biomeDepthWeight":1.0,"biomeDepthOffset":0.0,"biomeScaleWeight":1.0,"biomeScaleOffset":0.0,"seaLevel":1,"useCaves":true,"useDungeons":true,"dungeonChance":100,"useStrongholds":true,"useVillages":false,"useMineShafts":true,"useTemples":true,"useMonuments":true,"useRavines":true,"useWaterLakes":true,"waterLakeChance":100,"useLavaLakes":true,"lavaLakeChance":100,"useLavaOceans":false,"fixedBiome":-1,"biomeSize":8,"riverSize":1,"dirtSize":1,"dirtCount":0,"dirtMinHeight":255,"dirtMaxHeight":0,"gravelSize":50,"gravelCount":40,"gravelMinHeight":0,"gravelMaxHeight":256,"graniteSize":50,"graniteCount":40,"graniteMinHeight":0,"graniteMaxHeight":255,"dioriteSize":50,"dioriteCount":39,"dioriteMinHeight":0,"dioriteMaxHeight":255,"andesiteSize":50,"andesiteCount":40,"andesiteMinHeight":0,"andesiteMaxHeight":255,"coalSize":5,"coalCount":40,"coalMinHeight":0,"coalMaxHeight":255,"ironSize":1,"ironCount":1,"ironMinHeight":0,"ironMaxHeight":255,"goldSize":1,"goldCount":1,"goldMinHeight":0,"goldMaxHeight":64,"redstoneSize":1,"redstoneCount":1,"redstoneMinHeight":0,"redstoneMaxHeight":16,"diamondSize":1,"diamondCount":1,"diamondMinHeight":0,"diamondMaxHeight":255,"lapisSize":1,"lapisCount":1,"lapisCenterHeight":0,"lapisSpread":0}

      Minecraft throws a crash:

      Description: Exception in server tick loop
      
      java.lang.IllegalArgumentException: bound must be positive
      	at java.util.Random.nextInt(Random.java:388)
      	at aeb.b(SourceFile:323)
      	at aeb.a(SourceFile:339)
      	at aeb.a(SourceFile:92)
      	at aeb.a(SourceFile:49)
      	at ady.a(SourceFile:388)
      	at aer.a(SourceFile:56)
      	at aoa.a(SourceFile:473)
      	at ld.a(SourceFile:174)
      	at amy.a(SourceFile:875)
      	at ld.c(SourceFile:104)
      	at net.minecraft.server.MinecraftServer.k(SourceFile:315)
      	at bpo.a(SourceFile:112)
      	at bpo.i(SourceFile:128)
      	at net.minecraft.server.MinecraftServer.run(SourceFile:421)
      	at java.lang.Thread.run(Thread.java:745)
      

            Unassigned Unassigned
            FaRo1 Fabian Röling
            Votes:
            8 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: