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

Game crashes upon instantly click-replacing the block underneath a bamboo sapling with another bamboo

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.16.4, 20w51a, 1.16.5
    • 21w05a
    • None
    • Confirmed
    • Crash
    • Very Important

    Description

      The bug

      When simultaneously left+right clicking, you can replace a block with a different block instantly. If you instantly replace the block underneath a bamboo sapling with another bamboo sapling, the game crashes.

      Crash report

      Description: Unexpected error
      
      java.lang.IllegalArgumentException: Cannot get property cfg{name=age, clazz=class java.lang.Integer, values=[0, 1]} as it does not exist in Block{minecraft:bamboo_sapling}
      	at cej.c(SourceFile:95)
      	at btu.a(SourceFile:104)
      	at bkh.c(SourceFile:111)
      	at bkh.a(SourceFile:63)
      	at bkh.a(SourceFile:43)
      	at bmb.a(SourceFile:227)
      	at dww.a(SourceFile:328)
      	at djz.aM(SourceFile:1452)
      	at djz.aO(SourceFile:1709)
      	at djz.q(SourceFile:1534)
      	at djz.e(SourceFile:1021)
      	at djz.e(SourceFile:681)
      	at net.minecraft.client.main.Main.main(SourceFile:215)
      

      How to reproduce

      Creative mode

      Place a bamboo sapling on top of 2 blocks of dirt. Hold a bamboo and simultaneously right click + left click the dirt block underneath the bamboo sapling.

      Survival mode

      Place a bamboo sapling on top of 2 blocks of dirt. Hold a bamboo in your offhand and hold a shovel fast enough to insta-mine dirt in your mainhand. Simultaneously right click + left click the dirt block underneath the bamboo sapling.

      Attachments

        Issue Links

          Activity

            People

              panda4994 [Mojang] Panda
              Crayola_God Anthony G
              Votes:
              6 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: