First get your arrows Then you'll need string, dispenser and a tripwire hook. Then put them In a pattern like this. And that's how you can protect your house in Minecraft.