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

Game crashes when there is a block with no facing block state in #wall_corals and a warm ocean tries to generate

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.17 Pre-release 1
    • 1.16.5, 21w18a
    • None
    • Confirmed
    • Crash
    • Very Important

      The bug

      If a block with no facing state (like quartz bricks) is added to #wall_corals block tag the game will crash when attempting to generate a coral reef.

      Description: Feature placement
      
      java.lang.IllegalArgumentException: Cannot set property cfb{name=facing, clazz=class gc, values=[north, south, west, east]} as it does not exist in Block{minecraft:quartz_bricks}
      	at cej.a(SourceFile:114)
      	at ciy.b(SourceFile:51)
      	at ciz.a(SourceFile:58)
      	at ciy.a(SourceFile:27)
      	at ciy.a(SourceFile:19)
      	at civ.a(SourceFile:55)
      	at cku.a(SourceFile:20)
      	at cku.a(SourceFile:11)
      	at civ.a(SourceFile:55)
      	at cjb.a(SourceFile:23)
      ...
      

      Reproduction steps

      1. Add the attached datapack MC-224778.zip to a new world.
      2. Wait for the world to generate.
        1. If the game instantly crashes, that means that a warm ocean was right by the spawn point.
        2. If not, locate the biome and teleport to the coordinates it gives you.
          /locatebiome minecraft:warm_ocean
          

          The game crashes

            slicedlime [Mojang] slicedlime
            ManosSef [Helper] ManosSef
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: