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

Game crashes when dispensing a bone meal in a warm ocean and there is a block with no facing block state in #wall_corals

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.18.1
    • 22w03a
    • None
    • Confirmed
    • Crash
    • Important

    Description

      Relates to MC-224778

      How to reproduce

      1. Create a new world with the attached datapack (or use attached one)
      2. Find warm ocean biome (or just create a single biome/superflat world)
      3. Place dispenser with bone meal
      4. Place water next to the front of the dispenser
      5. Place redstone block next to dispenser
      6. Crash triggers

      Note that to reproduce the crash (and not just error on logs), the block needs to require a supporting block or some other placement requirements, and it must fail when the bone meal tries to "grow" them. In the example datapack I used a white carpet.

      Stack trace

      Description: Exception ticking world
      
      java.lang.IllegalArgumentException: Cannot set property cox{name=facing, clazz=class gm, values=[north, south, west, east]} as it does not exist in Block{minecraft:white_carpet}
      	at coe.a(SourceFile:117)
      	at bsk.a(SourceFile:123)
      	at hj$11.a(SourceFile:471)
      	at hi.dispense(SourceFile:15)
      	at cet.a(SourceFile:90)
      	at cet.a(SourceFile:113)
      	at cob$a.a(SourceFile:917)
      	at adi.d(SourceFile:688)
      	at dpt.a(SourceFile:215)
      	at dpt.a(SourceFile:98)
      	at adi.a(SourceFile:298)
      	at net.minecraft.server.MinecraftServer.b(SourceFile:879)
      	at net.minecraft.server.MinecraftServer.a(SourceFile:823)
      	at fcv.a(SourceFile:99)
      	at net.minecraft.server.MinecraftServer.w(SourceFile:684)
      	at net.minecraft.server.MinecraftServer.a(SourceFile:270)
      	at java.base/java.lang.Thread.run(Thread.java:833)
      

      Attachments

        Issue Links

          Activity

            People

              panda4994 [Mojang] Panda
              apple502j apple502j
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: