When no tools and sword in hand, a mob or entity is in range of attack, attack indicator no loger display and include a "+" sign.
https://drive.google.com/file/d/1QAJujxPuXA_azANLJwKWlFnrOsdYZUN4/view?usp=sharing
How to reproduce
Last checked in 1.18.2
Step 1: Game menu > Options > Video Settings > Attack Indicator: Set to "Crosshair"
Step 2: At this time, no tools or swords are held in the main hand, and the crosshair is used to face any attackable entity within 3 blocks.