Single dark oak and pale oak saplings accept bone meal despite not being able to grow
Open
31
The bug
Single dark oak saplings are not able to grow, and are only intended to grow when in a 2x2 arrangement. However, using bone meal on a dark oak sapling which cannot grow will still consume bone meal.
To fix this, a block state could be added to dark oak saplings that is only true when part of a 2x2 formation, and only with this set to true will they then accept bone meal. Alternatively, a 1x1 variant of the dark oak tree could be implemented.
Example
Here is an example in video:
[media]
Code analysis
Code analysis by @unknown can be found in this comment.
If we look at the above class, we can see that the isValidBonemealTarget() boolean always returns "turn" for saplings regardless of any circumstances. No checks are carried out to see what the type of the sapling is, nor its arrangement, resulting in this issue occurring.
Can confirm in 21w05b.