swingMainHandEventless

fun LivingEntity.swingMainHandEventless()

Deprecated

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

Replace with

swingMainHand()

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