Minecraft wiki entry for Leaves, associated text: Leaves from trees spontaneously decay (disappear) when they receive a block tick if they are not connected to a block with the logs tag (log or wood block), either directly or via other leaf blocks, with a maximum distance of 6 blocks‌[Java Edition only] or 4 blocks‌[Bedrock Edition only]. Leaves placed by players never decay.