mojira.dev
MC-30686

Growth of large oak trees not obstructed by intervening block

If I place a spruce wood block such that there are 6 air blocks between it and the grass/dirt below, and place an oak sapling on the ground beneath the spruce wood block, a large oak tree will sometimes grow in snapshot 13w36b, whereas after a fair amount of repeated testing, I do not believe this will occur in 1.6.2. When the large oak tree does grow in this situation, the spruce wood block is replaced by an oak wood block that is part of the oak tree. This situation occurs when the spruce wood block is in either the vertical or horizontal orientation.

Attachments

Comments 8

Oak trees:
6-8 blocks of vertical clearance
As jungle trees, their growth will not be hindered by wood, leaves, dirt and saplings.
minimal 4-block trunk, allowing a tree to rarely grow in a vertical space with a height of only 5, but otherwise the maximum trunk height is 2 less than the vertical space

I'm attaching two screenshots showing the results of a test I conducted by growing 640 oak trees under the conditions I described in this report, first in 1.6.2, and then in 13w36b.

I would say it's clear that the behavior has changed in this snapshot, and I strongly suspect that is an unintentional change, as the behavior in the snapshot seems more unintuitive and odd to me.

Can this issue be re-opened? The screenshots I added probably show more clearly the point I was trying to articulate.

Thank you for the screenshots, I have reopened this but I'm not sure if this is an intended change of the future 1.7 release or not.

Also...
Your Java version is out of date! Please update your Java to the latest version: http://www.java.com/en/download/ .

  • When using a 32-bit browser on a 64-bit operating system the automatic version detection will only show the 32-bit version of Java, the 64-bit version needs to be downloaded manually: http://www.java.com/en/download/manual.jsp .


Please report if the issue persists with the latest Java version.

Thanks for reopening. I understand that the change could be intended, but I figure this is the kind of thing Mojang wants reported, given how much of the code base was apparently refactored for these snapshots. I've updated to the latest Java that Mac OS ships via software updates and repeated the test using the latest snapshot, and I get the same result. I've updated the description fields above accordingly.

This is not a bug, it is functioning as intended. Previously, Minecraft was inconsistent in whether or not a tree's growth would be obstructed by a log in its way, as well as inconsistent in what type of log would obstruct what type of sapling (if any).

As of 13w36a and later, the tree feature generation code has been refactored to make use of one common base function to check if a given block is "free" or not, with the generation of the tree failing if a block is not reported as free. Based on the current code, the following types of blocks will be replaced and not prevent the generation of a tree, and any block not in the list will prevent it:

  • Air

  • Leaves

  • Grass

  • Dirt

  • Wood (but not Planks)

  • Saplings

  • Vines

I can confirm a similar issue with Oak trees. I don't think Oak Trees should be able to grow through solid blocks like two blocks thick of dirt.

I used to grow vertical tree farms to save horizontal space but now this bug has rendered stack growing oak trees impossible.

Version: 14w04b
Oak Trees Grow through solid blocks
Here is an screenshot that I have taken of the bug.

[media]

You will notice part of a birch tree has been grown through as well, including logs and leaves.

I agree with Dylan. Why is dirt on the list in the first place?

Darren Struthers

(Unassigned)

Unconfirmed

Minecraft 13w36b, Minecraft 13w37b

Retrieved