mojira.dev
MC-304495

The piercing_weapon component prevents items from bobbing up and down when attacking

Adding the piercing_weapon component to any item causes them to NOT bob up and down when swung

How to replicate:

  1. /give @s diamond_sword[piercing_weapon={hitbox_margin:1}]

  2. Swing the sword

  3. Notice how the sword does not bob up or down like it normally would

Environment

Anywhere in 1.21.11 prerelease 2

Linked issues

Attachments

Comments 1

Can confirm, the visual attack recharge in the hand does not function.

Not Una Nancy Owen

(Unassigned)

Confirmed

Platform

Low

Combat, Player Animation

1.21.11 Pre-Release 2, 1.21.11 Pre-Release 3

Retrieved