This pull request mainly tries to fix a bug that the cactus will drop purple block when the internal data is not 0. It also fixes a typo and improves Javadoc.
Observed behavior:
Cactus drops purple block randomly when break, as seen in the screen shot below.
The purple blocks also groups together based on the data value.
This bug occurs more often when the cactus block is on top of a growing cactus.
Expected behavior:
Cactus should always drop cactus item when break.
Other known issues:
The check style seems to fail on codes related to arrow?
When breaking a 3-blocks tall cactus or sugar cane, the items will drop but disappears right after they touch the floor.
This pull request mainly tries to fix a bug that the cactus will drop purple block when the internal data is not 0. It also fixes a typo and improves Javadoc.
Observed behavior: Cactus drops purple block randomly when break, as seen in the screen shot below. The purple blocks also groups together based on the data value. This bug occurs more often when the cactus block is on top of a growing cactus.
Expected behavior: Cactus should always drop cactus item when break.
Other known issues: