reproduce : The player stands relative to the target entity, with incomplete blocks (such as grass and vines) in between. Holding a spear in hand.
expectation : An attack indicator should appear when the center is facing the target entity accurately.
actuality : Can penetrate incomplete blocks for attack, but the attack indicator does not display.
.
Can confirm. The block highlight appearing at all is likely the cause of this, as the highlight should not appear when spears cannot actually interact with blocks.