Mojira Archive
MC-209361

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

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.

Fixed

Anthony G

[Mojang] Panda

2020-12-24, 12:59 AM

2021-09-11, 01:44 PM

2021-02-03, 04:23 PM

6

5

Confirmed

Very Important

Crash

1.16.4, 20w51a, 1.16.5

21w05a