swingOffHandEventless

fun LivingEntity.swingOffHandEventless()

Deprecated

Swing animations no longer cause a client packet; use swingOffHand()

Replace with

swingOffHand()

Lets the player swing their off-hand without triggering any server-side interaction related events.