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

Crash upon entering a nether portal when logical_height is set to 0 and min_y is set to 80 or greater

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 21w05b, 21w06a, 21w07a, 21w10a
    • Fix Version/s: 21w14a
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      Crash
    • Mojang Priority:
      Very Important

      Description

      The bug

      When entering a nether portal going to a dimension with logical_height set to 0 and min_y set to 80 or greater, a crash occurs. I believe this is caused by the game attempting to generate the portal below the world.

      A full crash report is attached, as well as the settings file used to reproduce the issue.

      How to reproduce

      World setup
      1. Select Singleplayer → Create New World
      2. Set your Game Mode to Creative, and make sure cheats are allowed
      3. Select More World Options... → Import Settings, and import the 214287.json file
      4. Select Create New World
      The bug
      1. Run the command:
        /execute in the_nether run tp @s 0 100 0
        
      2. Run the command:
        /setblock ~ ~ ~ nether_portal
        

        Crash

      Stack trace

      Description: Ticking player
      
      java.lang.IllegalArgumentException: Cannot get property cir{name=axis, clazz=class gc$a, values=[x, z]} as it does not exist in Block{minecraft:void_air}
      	at chv.c(SourceFile:98)
      	at ddc.a(SourceFile:226)
      	at aqv.a(SourceFile:2544)
      	at java.util.Optional.map(Optional.java:215)
      	at aqv.a(SourceFile:2528)
      	at aaw.a(SourceFile:631)
      	at aaw.b(SourceFile:672)
      	at aqv.bp(SourceFile:2045)
      	at aqv.ag(SourceFile:456)
      	at ari.ag(SourceFile:337)
      	at aqv.j(SourceFile:438)
      	at ari.j(SourceFile:2242)
      	at bhl.j(SourceFile:274)
      	at aaw.x_(SourceFile:416)
      	at abn.b(SourceFile:218)
      	at nu.a(SourceFile:239)
      	at abm.c(SourceFile:173)
      	at net.minecraft.server.MinecraftServer.b(SourceFile:884)
      	at net.minecraft.server.MinecraftServer.a(SourceFile:813)
      	at euy.a(SourceFile:93)
      	at net.minecraft.server.MinecraftServer.w(SourceFile:672)
      	at net.minecraft.server.MinecraftServer.a(SourceFile:259)
      	at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Activity

            People

            Assignee:
            panda4994 [Mojang] Panda
            Reporter:
            markderickson [Helper] Mark Derickson
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              CHK: