This is fantastic, and I'd love to see it expanded to include other enemies and gates as well.
You are already able to make doors that are indestructable by just putting a background object right next to the door, such as a torch. Doing so renders the door 100% immune to every attempt to breach it (IIRC). But this can sometimes look silly, and let's be real, no-one is actually all that concerned about doors breaking on us anymore, right? Like yeah, the first blood moon when our tiny shack of safety was breached was pretty horrifying, but if you're installing mods, odds are you've played the game enough that it ceases to be anything more than an annoyance.
If you could expand this to cover other door breaking events (Blood moons, eclipses, etc), I'd download it in a heartbeat. I'd also love (Although this may go beyond scope) if you could make it so that gates are similarly indestructable, and also couldn't be knocked one. Since you can't barricade them like doors, they're actually far less useful, despite being more expensive and requiring a later game workbench. If you happen to like how they look for a build, you're at a disadvantage over putting a simple wooden door and a single torch at your entrance.
Making them indestructable would put them back into line with the door, and as an added bonus for the additional expense, making it so that zombies can't annoy you at night by constantly knocking on it would be awesome.