interactEntityLikeVanilla

fun interactEntityLikeVanilla(entity: Entity, hitResult: EntityHitResult = EntityHitResult(entity), swingMode: SwingMode = SwingMode.DO_NOT_HIDE, rotation: Rotation = RotationManager.currentRotation ?: player.rotation): StrictInteractionResult?

Return

Cannot interact -> null; else ->MultiPlayerGameMode.interact or MultiPlayerGameMode.useItem result