swingHandEventless

fun LivingEntity.swingHandEventless(hand: EquipmentSlot)

Deprecated

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

Replace with

swingHand(hand)

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

Throws

if the hand is not EquipmentSlot.HAND or EquipmentSlot.OFF_HAND