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
Set the "randomTickSpeed" gamerule to "0" in order to stop the process of leaves decaying.
/gamerule randomTickSpeed 0
Using bone meal, mangrove propagules, and some azaleas, grow several trees a fair distance away from one another.
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
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.)
Related issues
is duplicated by
relates to
Attachments
Comments

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.

Can confirm in 1.17.1.

Still in 1.18 Pre-1. Sometimes leaves can even generate floating!
[media]Can also confirm in 1.18 Pre-release 1.
[media][media]
In 1.18 Pre-8
Can confirm in 1.18.1.

In 22w05a

In 22w05a
Can confirm in 1.18.2.

In 22w14a.
Since MC-249918 has been recently merged with this ticket, here are some additional details regarding this problem. 🙂
The Bug:
Azalea and mangrove leaves can generate too far away from their trees' logs resulting in them sometimes being able to despawn.
Steps to Reproduce:
Set the "randomTickSpeed" gamerule to "0" in order to stop the process of leaves decaying.
/gamerule randomTickSpeed 0
Using bone meal, mangrove propagules, and some azaleas, grow several trees a fair distance away from one another.
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 despawn at a noticeable and fast rate.
/gamerule randomTickSpeed 300
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 despawn.
Observed Behavior:
Azalea and mangrove leaves can generate too far away from their trees' logs resulting in them sometimes being able to despawn.
Expected Behavior:
Azalea and mangrove leaves would not be able to generate too far away from their trees' logs.

can confirm in 22w14a and 22w15a

In 22w17a.

In 1.19 Pre-1

Confirmed in 1.19 pre-2

In 1.19 Pre-3

Confirmed for 1.19 Pre-4

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

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