performActions

fun performActions(entity: LivingEntity, hand: EquipmentSlot, applyPostUseSideEffects: Boolean = entity.activeItemRemainingTime == 0)

Performs the actions associated with this result as if it was entity that used hand. Conditionally applies post-use side effects based on applyPostUseSideEffects.