Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Every time I try to destroy the boat the villager takes damage.
You can just hit the boat. It helps to turn hitboxes on by pressing F3+B. And of course don't use a sword.
Required, but never shown