mojira.dev
MC-299511

Changing player attribute block interaction range to a large number doesnt make the block show up in the F3 menu

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:

  1. Run “/attribute @p minecraft:block_interaction_range base set 64”.

  2. Enable the debug screen (F3)

  3. 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

Attachments

Comments 1

Can confirm. targeted entity/entity_interaction_range does not have this problem.

HexaRubik

(Unassigned)

Confirmed

Platform

Low

UI

1.21.7

Retrieved