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
1.16.4\: [^crash-2020-12-27_09.24.50-client.txt]
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.
Linked issues
is duplicated by 1
Attachments
Comments 5
Here is the crash report:
[media]Please keep in mind that the mappings in my crash report and in the reporter's crash report will be different because the reporter tested in 1.16.4 and I tested in 20w51a. For example, cej in 1.16.4 and chc in 20w51a both correspond to net.minecraft.world.level.block.state.StateHolder.
I can confirm that this occurs in 20w51a.