When the player attribute "block interaction range" is changed to a large number (e.g. 64, its maximum value), and the player looks at a somewhat distant but still targetable block, the block does not show up as the Targeted Block in the F3 debug menu.
Replicate bug:
Run “/attribute @p minecraft:block_interaction_range base set 64”.
Enable the debug screen (F3)
Look at a block between 20 and 64 blocks away.
❌ The block does not show up on the right side of the debug screen
Environment
Operating System: Windows 11
Java Version: Java 21.0.7
CPU: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
GPU: NVIDIA GeForce RTX 2070
Can confirm. targeted entity/entity_interaction_range does not have this problem.