mojira.dev
MC-218623

Trees with random spread foliage can generate leaves far enough from the tree trunk that they decay

The Bug

Trees with random spread foliage (azalea and mangrove) can generate leaves that too far away from their trees' logs resulting in them being able to decay.

Steps to Reproduce

  1. Set the "randomTickSpeed" gamerule to "0" in order to stop the process of leaves decaying.

    /gamerule randomTickSpeed 0
  2. Using bone meal, mangrove propagules, and some azaleas, grow several trees a fair distance away from one another.

  3. Face in the direction of the trees, watch their leaves closely, and set the "randomTickSpeed" gamerule to a high value in order to make leaves decay at a noticeable and fast rate.

    /gamerule randomTickSpeed 300
  4. Take note as to whether or not azalea and mangrove leaves can generate too far away from their trees' logs resulting in them sometimes being able to decay.

Observed Behavior

Azalea and mangrove leaves can generate too far away from their trees' logs resulting in them being able to decay.

Expected Behavior

Azalea and mangrove leaves would not be able to generate too far away from their trees' logs.

Original description

Azalea leaves decay as if there was no log there. Using f3, their persistence tag is "false", and I'm presuming this is due to the distance of the decayed leaves from the trunk, or possibly they don't acknowledge the oak log as being appropriate (likely the former, the leaves nearer to the trunk remain.)

Linked issues

Attachments

Comments 26

Can confirm in 21w13a.

Can confirm in 21w16a.

Can confirm in 21w17a.

Can confirm in 1.17.

Can confirm in 1.17.1 Pre-release 1.

16 more comments

Can confirm in 1.19.3, even more prevalent in Mangrove Swamps where it causes unnecessary lag.

Can confirm in 23w12a

Can confirm in 23w18a.

Can confirm in 1.20 release canidate 1

KilerZombie_23

Can confirm 24w39a, this is a critical bug because it can generate a lot of lag.

Logan Lynch

(Unassigned)

Confirmed

Gameplay

Normal

World generation

lag-spike, tree-generation

21w10a, 21w13a, 21w16a, 21w17a, 1.17, ..., 23w12a, 23w18a, 1.20 Release Candidate 1, 1.20, 25w03a

Retrieved